Firefly开源社区

交叉工具链编译应用程序

138

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
138
发表于 2015-4-22 09:14:27     
我现在编译内核用的工具链信息如下:
Using built-in specs.
COLLECT_GCC=/complie/android/firefly_git/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc
COLLECT_LTO_WRAPPER=/complie/android/firefly_git/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/../libexec/gcc/arm-eabi/4.6.x-google/lto-wrapper
Target: arm-eabi
Configured with: /tmp/android-15472/src/build/../gcc/gcc-4.6/configure --prefix=/usr/local --target=arm-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/android-15472/obj/temp-install --with-mpfr=/tmp/android-15472/obj/temp-install --with-mpc=/tmp/android-15472/obj/temp-install --without-ppl --without-cloog --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --with-abi=aapcs --with-gcc-version=4.6 --with-binutils-version=2.21 --with-gmp-version=4.2.4 --with-mpfr-version=2.4.1 --with-gdb-version=7.3.x --with-arch=armv5te --with-sysroot=/tmp/android-15472/install/sysroot --with-prefix=/tmp/android-15472/install --with-gold-version=2.21 --enable-gold --disable-gold --disable-multilib --program-transform-name='s&^&arm-eabi-&'
Thread model: single
gcc version 4.6.x-google 20120106 (prerelease) (GCC)

编译应用时提示错误信息如下:
fb.c:1:18: fatal error: stdio.h: No such file or directory
compilation terminated.

请问编译应用的工具链是不是要更换?
回复

使用道具 举报

80

积分

0

威望

0

贡献

技术小白

积分
80
发表于 2015-5-11 14:13:36     
是不是需要装32位兼容包,试试
回复

使用道具 举报

56

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
56
发表于 2015-7-9 10:18:39     
同问下,LZ的问题解决没~~~
回复

使用道具 举报

138

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
138
发表于 2015-7-13 14:09:58     
五星出东方 发表于 2015-7-9 10:18
同问下,LZ的问题解决没~~~

换个工具链
回复

使用道具 举报

23

积分

0

威望

0

贡献

技术小白

积分
23
发表于 2015-8-28 12:26:39     
说详细点可以不,我的出问题了,不能用,用的arm linux gnueabihf
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表