Overview of the ARM Compiler toolchain
ARM DUI 0529C Copyright © 2010-2011 ARM. All rights reserved. 2-14
ID080411 Non-Confidential
2.9 Toolchain environment variables
The environment variables used by the toolchain are:
Table 2-1 Environment variables used by the toolchain
Environment variable Setting
ARMROOT
Your installation directory root (
install_directory
).
ARMLMD_LICENSE_FILE
The location of your ARM license file. See the FLEXnet for ARM
®
Tools Lice nse
Management Guide for information on this environment variable.
On Windows, the length of
ARMLMD_LICENSE_FILE
must not be more than 260 characters.
ARMCC41_ASMOPT
An optional environment variable to define additional assembler options that are to be used
outside your regular makefile. For example:
--licretry
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.
ARMCC41_CCOPT
An optional environment variable to define additional compiler options that are to be used
outside your regular makefile. For example:
--licretry
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.
ARMCC41_FROMELFOPT
An optional environment variable to define additional
fromelf
image converter options that
are to be used outside your regular makefile. For example:
--licretry
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.
ARMCC41_LINKOPT
An optional environment variable to define additional linker options that are to be used
outside your regular makefile. For example:
--licretry
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.
ARMCC41BIN
The location of the 32-bit toolchain executables. The path depends on your host platform and
the ARM product you are using:
install_directory\...\platform
where
platform
is one of:
•
win_32-pentium
for Windows
•
linux-pentium
for Linux.
To use the 64-bit version of
armlink
define this environment variable to point to the 64-bit
version of the directory, where
platform
is one of:
•
win_x86_64
for Windows
•
linux-x86_64
for Linux.
The 64-bit directory also contains the 32-bit executables for the other ARM tools.
ARMCC41INC
The location of the compiler include files:
install_directory\...\include