RVCT的Linux环境变量配置 ARM® RVDS™ 4.1(b713)
下载解压 armrvds.tar.gz到/opt 下
在自己的build.sh下导入RVCT的环境变量配置ARM® RVDS™4.1(b713):
export ARMROOT=/opt/armrvds/4.1BLD713/RVCT/Programs/4.1/713/linux-pentium
export ARM_BIN=/opt/armrvds/4.1BLD713/RVCT/Programs/4.1/713/linux-pentium
export ARMCC41INC=/opt/armrvds/4.1BLD713/RVCT/Data/4.1/462/include/unix
export ARMCC41LIB=/opt/armrvds/4.1BLD713/RVCT/Data/4.1/462/lib
export PATH=$ARM_BIN:$PATH
MAKE -rs
RVCT的环境变量配置ARM® RVDS™2.2(b616):
export ARMROOT=/opt/ARM_2.2
export ARM_BIN=$ARMROOT/RVCT/Programs/2.2/616/linux-pentium
export RVCT22INC=$ARMROOT/RVCT/Data/2.2/349/include/unix
export RVCT22LIB=$ARMROOT/RVCT/Data/2.2/349/lib
export PATH=$ARM_BIN:$PATH
MAKE -rs
Toolchain environment variables
The ARM Compiler toolchain does not require environment variables to be set. However, there are situations where you might want to set environment variables. For example, if you want to specify additional command-line options for armcc, but you do not want to modify your build scripts, then you can specify the options usingARMCC.nn_CCOPT
The environment variables used by the toolchain are:
Table 1. Environment variables used by the toolchain
| Environment variable[a] | Setting |
|---|---|
ARMROOT |
Your installation directory root ( |
ARMCC |
An optional environment variable to define additional assembler options that are to be used outside your regular makefile. The options listed appear before any options specified for thearmasm command in the makefile. Therefore, any options specified in the makefile might override the options listed in this environment variable. |
ARMCC |
An optional environment variable to define additional compiler options that are to be used outside your regular makefile. The options listed appear before any options specified for thearmcc command in the makefile. Therefore, any options specified in the makefile might override the options listed in this environment variable. |
ARMCC |
An optional environment variable to define additionalfromelf image converter options that are to be used outside your regular makefile. The options listed appear before any options specified for thefromelf command in the makefile. Therefore, any options specified in the makefile might override the options listed in this environment variable. |
ARMCC |
An optional environment variable to define additional linker options that are to be used outside your regular makefile. The options listed appear before any options specified for thearmlink command in the makefile. Therefore, any options specified in the makefile might override the options listed in this environment variable. |
ARMCC |
The default system include path. That is, the path used to search for header filenames enclosed in angle-brackets. The compiler option The default location of the compiler include files is:
|
ARMCC |
The default location of the ARM standard C and C++ library files:
The compiler option NoteIf you include a path separator at the end of the path, the linker searches that directory and the subdirectories. So for LIB
|
ARMINC |
Used only if you do not specify the compiler option See the description of |
ARMLIB |
Used only if you do not specify the compiler option See the description of |
CYGPATH |
The location of the
You must set this if you want to specify paths in Cygwin format for the compilation tools. |
TMP |
Used on Windows platforms to specify the directory to be used for temporary files. If |
|
[a]Replace |
|
ARM 编译器工具链
ARM 编译器工具链可用于编译由 C、C++ 或 ARM 汇编语言源代码编写的程序。它可为 32 位 ARM、16 位 Thumb 和 Thumb-2 指令集生成优化代码,并支持完整的符合 ISO 标准的 C 和 C++ 代码。此外,它还通过向量化 NEON 编译器支持 NEON SIMD 指令集。
ARM 编译器工具链由以下组件组成:
- ARM、Thumb C 和 C++ 编译器 armcc
- NEON 向量化编译器,可使用命令 armcc --vectorize 进行调用
- ARM 和 Thumb 汇编程序 armasm
- ARM 链接器 armlink
- ARM 库管理程序 armar
- ARM 图像转换实用工具 fromelf
- 支持库。
详细见:
RVCT的Linux环境变量配置 ARM® RVDS™ 4.1(b713)的更多相关文章
- Linux环境变量配置全攻略
Linux环境变量配置 在自定义安装软件的时候,经常需要配置环境变量,下面列举出各种对环境变量的配置方法. 下面所有例子的环境说明如下: 系统:Ubuntu 14.0 用户名:uusama 需要配置M ...
- Linux 环境变量配置的 6 种方法,建议收藏
关注「开源Linux」,选择"设为星标" 回复「学习」,有我为您特别筛选的学习资料~ Linux环境变量配置 在自定义安装软件的时候,经常需要配置环境变量,下面列举出各种对环境变量 ...
- 超详干货!Linux 环境变量配置全攻略
点击上方"开源Linux",选择"设为星标" 回复"学习"获取独家整理的学习资料! Linux环境变量配置 在自定义安装软件的时候,经常需要 ...
- Linux环境变量配置的三个方法--/etc/profile,~/.bashrc,shell
[环境配置的原因] 在windows系统下,很多软件的安装都需要设置环境变量,比如安装JAVA JDK.如果不安装环境变量,在非软件安装的目录下运行javac命令,将会报告"找不到文件&qu ...
- Linux环境变量配置方法
Linux上环境变量配置分为设置永久变量和临时变量两种.环境变量设置方法同时要考虑环境Shell类型,不同类型的SHELL设置临时变量方法和设置永久变量对应的配置文件不同.Linux环境变量本身配置过 ...
- Linux 环境变量配置(Nodejs/MongoDB/JDK/Nginx)
一.环境变量配置 注:配置环境变量的文件 全局变量(系统级别): /etc/bashrc /etc/profile /etc/environment 用户变量(用户级别): ~/.bash_profi ...
- linux 环境变量配置方式
linux 环境变量可以在多个文件中配置 说明: linux bash 运行模式分为两种: login shell 和non-login shell, 两种登录模式启动是加载的配置文件不一样. 1. ...
- linux 环境变量配置(node)
控制台 env 查看当前的环境变量配置 修改/etc/profile文件,在末尾添加以下内容 export NODE_HOME=/usr/local/node //Node所在路径 export PA ...
- Redis学习笔记一(Redis的详细安装及Linux环境变量配置和启动)
Redis Redis是一个开源的使用ANSI C语言编写.支持网络.可基于内存亦可持久化的日志型.Key-Value数据库,并提供多种语言的API. 我使用的是下面这个版本: 若没有资源的话,我在 ...
随机推荐
- MySQL 存储过程创建表
创建 CREATE PROCEDURE Pro_IsExistTable(ableName varchar(100),out outputParam int)BEGINset @csql=conca ...
- 使用IDENTITY列属性和Sequence对象
使用IDENTITY列属性 1. 建立表 Sales.MyOrders USE TSQL2012; IF OBJECT_ID(N'Sales.MyOrders', N'U') IS NOT NULL ...
- 通过OC实现简单的冒泡排序
NSMutableArray *arr = [@["] mutableCopy]; ; i<[arr count]-; i++) { ; j<[arr count]--i; j+ ...
- 我常用的iphone开发学习网站[原创]
引用地址:http://www.cnblogs.com/fuleying/archive/2011/08/13/2137032.html Google 翻译 Box2d 托德的Box2D的教程! Bo ...
- 杭电ACM 汉字统计
汉字统计 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submi ...
- BZOJ 1677: [Usaco2005 Jan]Sumsets 求和( dp )
完全背包.. --------------------------------------------------------------------------------------- #incl ...
- 《JavaScript权威指南》拾遗(下)
一.类和原型 1.在JavaScript中,类的实现是基于原型继承机制的,如果两个实例都是从同一个原型对象中继承了属性,则它们是同一个类的实例. 2.原型对象是类的唯一 ...
- OSX/iOS 播放系统声音
方法1: 系统会自带了些声音,有时候一些操作用必要自己播放一下声音提醒一下,用bash的直接say something就ok了,写代码的时候呢?原来很简单的,一句: [[NSSound soundNa ...
- 如何正确地在手机上显示图片——QImage与QPixmap完全解析
引言 用Qt程序在手机上显示一幅图片对编程人员来说是再基础不过的一件事情了.那么先让大家看两段代码: //dangerous should not be used, cannot display ea ...
- cocos2d-x游戏开发系列教程-超级玛丽09-怪物激活与移动
在游戏中,很多怪物本身是会移动的,这里主要有蘑菇怪,乌龟等. 说起怪物的移动,首先在游戏里先要考虑怪物的抽象和设计. 在CMMonster.h中,有个类CMMonsterBasic,这个类抽象了所有的 ...