| |||
| Home > Using the ARM Compiler toolchain to build a Linux application or library > Configuring the ARM Compiler toolchain automatically | |||
If GCC is in a directory listed in the PATH environment
variable, you can configure the tools using the command:
armcc --arm_linux_configure --arm_linux_config_file=config_file_path
If GCC is not on your system path, you can specify this explicitly:
armcc --arm_linux_configure --arm_linux_config_file=config_file_path --configure_gcc=path_to_gcc
where is
the path and filename of the GCC driver binary, that is, the actual gcc executable
(with path_to_gcc.exe suffix on Windows). For a cross-compiler
the filename is, for example, arm-none-linux-gnueabi-gcc (with .exe suffix
on Windows).
During configuration, the compiler also determines the location
of the GNU linker used by GCC and queries the linker for additional
information. If this cannot be determined, or you want to override
the normal path to the GNU linker, you can specify this using the --configure_gld= option,
where path_to_gld is
the complete path and filename of the GNU ld binary.path_to_gld
You can also manually:
override the sysroot path
override the location of the C++ header files
specify additional search paths for header files and libraries.