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
using ARMCC
.nn
_CCOPT
The environment variables used by the toolchain are:
Environment variable [a] | Setting |
---|---|
ARMROOT | Your installation directory root ( |
ARMLMD_LICENSE_FILE | The location of your ARM license file. See the ARM® DS-5™ License Management Guide for information on this environment variable. NoteOn Windows, the length of |
ARMCC | An optional environment variable to define additional assembler options that are to be used outside your regular makefile. For example:
The options listed appear before any options specified for the armasm 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. For example:
The options listed appear before any options specified for the armcc 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 fromelf image converter options that are to be used outside your regular makefile. For example:
The options listed appear before any options specified for the fromelf 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. For example:
The options listed appear before any options specified for the armlink 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
|
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 |
CPATH | Defines additional paths that are used
by armcc when the GCC emulation mode |
CPLUS_INCLUDE_PATH | Defines additional include paths that
are used by armcc when the GCC emulation mode |
C_INCLUDE_PATH | Defines additional paths that are used
by armcc when the GCC emulation mode |
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 |
TMPDIR | Used on Red Hat Linux platforms to specify
the directory to be used for temporary files. If |
[a] Replace |
- Concepts
Using the Assembler:
Using the Compiler:
Using the Linker:
Using ARM® C and C++ Libraries and Floating Point Support:
Using the fromelf Image Converter:
Creating Static Software Libraries with armar:
- Reference
Assembler Reference:
Compiler Reference:
Linker Reference:
Using the fromelf Image Converter:
- Other information