June 2017
Intermediate to advanced
478 pages
13h 14m
English
Imagine that you have just received a toolchain and that you would like to know more about how it was configured. You can find out a lot by querying gcc. For example, to find the version, you use --version:
$ arm-cortex_a8-linux-gnueabihf-gcc --versionarm-cortex_a8-linux-gnueabihf-gcc (crosstool-NG crosstool-ng-1.22.0) 5.2.0Copyright (C) 2015 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To find how it was configured, use -v:
$ arm-cortex_a8-linux-gnueabihf-gcc -vUsing built-in specs.COLLECT_GCC=arm-cortex_a8-linux-gnueabihf-gccCOLLECT_LTO_WRAPPER=/home/chris/x-tools/arm-cortex_a8-linux-gnueabihf/libexec/gcc/arm-cortex_a8-linux-gnueabihf/5.2.0/lto-wrapper ...
Read now
Unlock full access