DS-5新加交叉编译工具
Adding New Compiler Toolchains to DS-5
Introduction
From Arm DS-5 Development Studio v5.20, you can add new compiler toolchains (Arm Compiler 5, Arm Compiler 6 and GCC) and configure them for your project more easily. Different versions of the same toolchain will keep their flags when you switch between them and projects can be shared between you and your colleagues without re-configuring the path.
Note: If you are installing Arm Compiler 6 alongside DS-5 and you don't have a DS-5 Ultimate Edition license, you will need to set the following environment variable: ARM_TOOL_VARIANT=pro. This can be done using set ARM_TOOL_VARIANT=pro in DS-5 Command Prompt, or as a global environment variable in your OS.
DS-5 Settings
Open up DS-5 and click Window > Preferences followed by DS-5.
Select Toolchains, which will bring up the following dialog:

DS-5 includes three compiler toolchains: Arm Compiler 5, Arm Compiler 6 and GCC. These are listed as "built-in", showing that they're already installed.
Note: DS-5 lists the major version number of the compiler (i.e. Arm Compiler 5). This allows your projects to be portable between DS-5 versions when we update the included compilers. When you add a specific version, such as Arm Compiler 5.04u2, this will show up with the sub version.
Click Add...
If you have already downloaded a compiler toolchain, browse to the location of the toolchain bin directory.
Otherwise you can either:
Go to ds.arm.com and download the Arm Compiler 6 toolchain.
Or
Download a GCC toolchain:
- If you are compiling for Cortex-A, select a toolchain from linaro.org.
- For more information regarding the Linaro Toolchain releases, support, and selection, go to https://wiki.linaro.org/WorkingGroups/ToolChain/FAQ. - If you are compiling for Cortex-R or Cortex-M, select a toolchain from GNU Arm Embedded Toolchain.
- For more information regarding the GNU Arm Embedded Toolchain releases, support, and selection, go to https://developer.arm.com/open-source/gnu-toolchain/gnu-rm.
- If you are compiling for Cortex-A, select a toolchain from linaro.org.

In this case, I've downloaded and installed GCC 7.3.1.
Click Next > to run autodetection. In most cases, this should provide a full set of information about the toolchain. However, for custom implementations of GCC, you can manually edit these fields.

Click Finish to complete the process.
You should now see the new toolchain listed alongside the built-in toolchains:

You'll be prompted to restart Eclipse for these changes to apply. When you've done this, you will be able to see the new toolchain listed as an option when you start a new project:

Additionally, you can reconfigure existing projects to use the newly added toolchain by right-clicking on the project, selecting Properties > C/C++ Build > Tool Chain Editor and then choosing it in the Current toolchain dropdown:

Finally, you'll notice that if you swap between different versions of the same toolchain, DS-5 will now remember your flags and other settings, so there's no need to re-enter them. However, this is not the case when moving between different toolchains (such as Arm Compiler 5 and Arm Compiler 6).
It's also possible to add and/or select new toolchains using the DS-5 Command Prompt. You'll notice that on startup, the Command Prompt now contains a message explaining that no toolchain is set by default, along with the select_toolchain command to begin the process of selecting one.

To add a new toolchain, use the add_toolchain command followed by the path to the folder where the binary is located. For example add_toolchain "C:\Program Files (x86)\Linaro\gcc-linaro-aarch64-linux-gnu-4.9-2014.05\bin". Just like the GUI, you will then have the opportunity to finish the process, or manually edit the details:

Entering select_toolchain brings up a numbered list including the new toolchain:

DS-5新加交叉编译工具的更多相关文章
- 为DS5添加新的gcc工具链
环境: 步骤: 1.下载mingw32版本的工具链 下面有两个下载工具链的网站: ARM官网的: https://developer.arm.com/tools-and-software/open-s ...
- Linux ARM交叉编译工具链制作过程【转】
本文转载自:http://www.cnblogs.com/Charles-Zhang-Blog/archive/2013/02/21/2920999.html 一.下载源文件 源代码文件及其版本与下载 ...
- Crosstool-ng制作交叉编译工具链
Crosstool-ng制作交叉编译工具链 交叉编译器可以用现成的,比如CodeSourcery制作的交叉编译器,也可以自己制作,一般是用kernel+gcc+glibc+binutils的源码包来编 ...
- 2015 GOOGLE I/O大会看点总结:新的开发工具及云端测试工具
http://ask.android-studio.org/?/article/48 尽管凌晨开始的主题演讲略显晦涩并继承了谷歌一贯的东一句西一句想起啥说啥的混乱风格,但期待用技术改变世界的技 ...
- 64位的ubuntu14.04 LTS安装 Linux交叉编译工具链及32位“ia32-libs”依赖库
ubuntu又迎来了其新一代的长期支持版本 14.04 LTS,其带来了许多令人期待的新特新,遂决定进行升级. 装好了64位版本及安装 Linux交叉编译工具链 运行GCC,${CROSS_COMPI ...
- 使用buildroot创建自己的交叉编译工具链【转】
本文转载自:https://blog.csdn.net/linczone/article/details/45894181 使用buildroot创建自己的交叉编译工具链 关键字:buildroot ...
- 交叉编译工具链介绍《Building Embedded Linux Systems》
1.前言 配置和编译一个合适的GNU工具链是相对复杂的并且需要很精细的操作,包括你需要对不同软件库之间的依赖关系.它们的各自的任务,不同软件库版本情况都有比较好的了解,编译工具链是一个乏味的工作. 2 ...
- arm-linux交叉编译工具链的制作(基于S3C2440)【转】
本文转载自:http://eric-gao.iteye.com/blog/2160622 制作arm-linux交叉编译工具链一般通过crosstool工具或者crosstool-NG,前者使用方便, ...
- 安装交叉编译工具arm-linux-gcc-4.3.2 并且修改环境变量
安装交叉编译工具arm-linux-gcc-4.3.2 2011-07-08 00:55:28| 分类: 嵌入式|举报|字号 订阅 环境:Fedora 9STEP 1: 下载arm-linu ...
随机推荐
- React-Hook
import React, { useState } from 'react'; // Hook 写法 function App2 () { const [count,setCount] = useS ...
- 扛把子组20191017-8 alpha week 2/2 Scrum立会报告+燃尽图 07
此作业要求参见https://edu.cnblogs.com/campus/nenu/2019fall/homework/9804 一.小组情况 队名:扛把子 组长:迟俊文 组员:宋晓丽 梁梦瑶 韩昊 ...
- 【论文阅读】Deep Clustering for Unsupervised Learning of Visual Features
文章:Deep Clustering for Unsupervised Learning of Visual Features 作者:Mathilde Caron, Piotr Bojanowski, ...
- 【Luogu P1981】表达式求值
点我进入原题Luogu P1981 [解题思路] 仔细分析题目,这就是一道模拟题…… 直接按照符号读入全部的数字,先算乘法,最后把全部数加起来就是结果了 记得要%10000取最后四位 [参考程序] # ...
- linux搭建ftp出错汇总
重启vsftpd出现”500 OOPS: vsftpd: cannot open config file:restart” 2008-05-09 21:33 进到/etc/init.d/目录 输入: ...
- css关于控制div靠左或靠右的排版布局
关于控制div靠左或靠右的排版布局,我整理三种平时用到的css属性小知识(元素模块靠左或靠右排版): 1.float属性(float 属性定义元素在哪个方向浮动) 值:left(元素向左浮动).rig ...
- 【SSL1457】翻币问题
题面: \[\Large\text{翻币问题}\] \[Time~Limit:1000MS~~Memory~Limit:65536K\] Description 有N个硬币(6<=N<=2 ...
- NSURLConnection发送GET请求
// ViewController.m // 04-掌握-NSURLConnection发送GET请求 // // Created by xiaomage on 16/2/22. // Copyrig ...
- 【灵魂拷问】你真的懂得Mysql的管理和使用吗?
作者 | Jeskson 来源 | 达达前端小酒馆 MySQL管理,数据库管理和数据表管理,用户管理. 初始化数据库,创建数据库,查看数据库,删除数据库. 创建数据表,查看数据表,修改数据表,删除数据 ...
- Linux系统通过FTP进行文档基本操作【华为云分享】
[摘要] Linux系统里通过FTP可以对文档进行上传,更改权限和基本的文档管理. 获得Linux系统后,不熟悉命令操作的情况下,可以通过FTP工具进行文档操作,下面以WinSCP工具为例进行讲解: ...