Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
software:linux:toradex:toolchain [2015-06-30 13:18] – angelegt abajricsoftware:linux:toradex:toolchain [Unbekanntes Datum] (aktuell) – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1
Zeile 1: Zeile 1:
-====== Toradex Colibri i.MX6 - Toolchain ====== 
  
-The toolchain is build with Buildroot. We use GCC 4.7 since 4.8 and 4.9 caused problems. 
- 
-<code> 
-$ cd $WD 
-$ git clone git://git.buildroot.net/buildroot -o upstream 
-$ cd buildroot 
-</code> 
- 
- 
-Configure Buildroot: 
- 
-<code> 
-$ git checkout -b branchXY 2014.11 
-$ make menuconfig 
- Target options ---> 
- Target Architecture: ARM (little endian) 
- Target Architecture Variant: cortex-A9 
- Target ABI: EABIhf 
- ... 
-</code> 
- 
-Alternatively we can use the already created configuration: 
- 
-<code> 
-$ git checkout branchXY 
-$ make toradex_imx6_config 
-</code> 
- 
-Download all the sources: 
- 
-<code> 
-$ time make source 
-</code> 
- 
-Build the Toolchain: 
- 
-<code> 
-$ time make 
-</code> 
- 
-After a successful build, we can configure the environment to use our toolchain: 
- 
-<code> 
-$ export PATH=$WD/buildroot/output/host/usr/bin:$PATH 
-$ export ARCH=arm 
-$ export CROSS_COMPILE=arm-buildroot-linux-uclibcgnueabihf- 
-</code> 
- 
-Test if toolchain works: 
- 
-<code> 
-$ ${CROSS_COMPILE}gcc -v 
-Using built-in specs. 
-COLLECT_GCC=arm-buildroot-linux-uclibcgnueabihf-gcc 
-COLLECT_LTO_WRAPPER=/home/abajric/ntb/efs/colibri/i.MX6/buildroot/output/host/usr/libexec/gcc/arm-buildroot-linux-uclibcgnueabihf/4.7.4/lto-wrapper 
-Target: arm-buildroot-linux-uclibcgnueabihf 
-Configured with: ./configure --prefix=/home/abajric/ntb/efs/colibri/i.MX6/buildroot/output/host/usr --sysconfdir=/home/abajric/ntb/efs/colibri/i.MX6/buildroot/output/host/etc --enable-static --target=arm-buildroot-linux-uclibcgnueabihf --with-sysroot=/home/abajric/ntb/efs/colibri/i.MX6/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot --disable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --with-gmp=/home/abajric/ntb/efs/colibri/i.MX6/buildroot/output/host/usr --with-mpfr=/home/abajric/ntb/efs/colibri/i.MX6/buildroot/output/host/usr --enable-target-optspace --disable-libsanitizer --enable-tls --disable-libmudflap --enable-threads --with-mpc=/home/abajric/ntb/efs/colibri/i.MX6/buildroot/output/host/usr --without-isl --without-cloog --disable-decimal-float --with-abi=aapcs-linux --with-cpu=cortex-a9 --with-fpu=vfp --with-float=hard --with-mode=arm --with-pkgversion='Buildroot 2014.11' --with-bugurl=http://bugs.buildroot.net/ --enable-languages=c,c++ --with-build-time-tools=/home/abajric/ntb/efs/colibri/i.MX6/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/bin --enable-shared --disable-libgomp 
-Thread model: posix 
-gcc version 4.7.4 (Buildroot 2014.11) 
-</code>