自己编译的
下面是gcc的版本信息
Configured with: /home/torch/workplace/armtools/src/crosstool-ng-1.19.0/.build/src/gcc-4.8.0/configure --build=x86_64-build_unknown-linux-gnu --host=x86_64-build_unknown-linux-gnu --target=arm-cortex_a8-linux-gnueabi --prefix=/home/torch/workplace/armtools/toolschain/arm-cortex_a8-linux-gnueabi --with-sysroot=/home/torch/workplace/armtools/toolschain/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sysroot --enable-languages=c,c++,java --with-arch=armv7-a --with-cpu=cortex-a8 --with-tune=cortex-a8 --with-float=soft --with-pkgversion='crosstool-NG 1.19.0' --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --with-gmp=/home/torch/workplace/armtools/src/crosstool-ng-1.19.0/.build/arm-cortex_a8-linux-gnueabi/buildtools --with-mpfr=/home/torch/workplace/armtools/src/crosstool-ng-1.19.0/.build/arm-cortex_a8-linux-gnueabi/buildtools --with-mpc=/home/torch/workplace/armtools/src/crosstool-ng-1.19.0/.build/arm-cortex_a8-linux-gnueabi/buildtools --with-isl=/home/torch/workplace/armtools/src/crosstool-ng-1.19.0/.build/arm-cortex_a8-linux-gnueabi/buildtools --with-cloog=/home/torch/workplace/armtools/src/crosstool-ng-1.19.0/.build/arm-cortex_a8-linux-gnueabi/buildtools --with-libelf=no --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++ -lm' --enable-threads=posix --enable-target-optspace --disable-nls --enable-multilib --with-local-prefix=/home/torch/workplace/armtools/toolschain/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sysroot --enable-c99 --enable-long-long
Thread model: posix
gcc version 4.8.0 (crosstool-NG 1.19.0)
这个gcc用来编译应用程序可以在板子上跑,编译出来的Qt也是没有问题的。