| |||
| Home > Compiler Command-line Options > ‑‑configure_sysroot=path | |||
This option specifies the system root path to use when configuring the tools for use with ARM Linux.
This option overrides any system root path that is automatically detected. It can be used as part of a manual approach to configuring the tools for use with ARM Linux if you want to use a different path to your normal system root path.
The system root path is the base path that libraries and header
files are normally found from. On a standard Linux system, this
is typically the root of the filesystem. In a cross compilation
GNU toolchain, it is usually the parent directory of the GNU C library
installation. This directory contains the lib, usr/lib, and usr/include subdirectories
that hold the C libraries and header files.
--arm_linux in the Linker Reference
--library=name in the Linker Reference
--search_dynamic_libraries, --no_search_dynamic_libraries in the Linker Reference
About building Linux applications with the ARM Compiler toolchain and GNU libraries in Building Linux Applications with the ARM® Compiler toolchain and GNU Libraries.