June 2017
Intermediate to advanced
478 pages
13h 14m
English
The toolchain sysroot is a directory which contains subdirectories for libraries, header files, and other configuration files. It can be set when the toolchain is configured through --with-sysroot=, or it can be set on the command line using --sysroot=. You can see the location of the default sysroot by using -print-sysroot:
$ arm-cortex_a8-linux-gnueabihf-gcc -print-sysroot/home/chris/x-tools/arm-cortex_a8-linux-gnueabihf/arm-cortex_a8-linux-gnueabihf/sysroot
You will find the following subdirectories in sysroot:
Read now
Unlock full access