交叉编译 configure 正确设置CC 语法
用./configure --prefix=/home/eatjpg/arm-bin CC=arm-fsl-linux-gnueabi-gcc --host=arm-fsl-linux-gnueabi 生成的Makefile CC还是用的gcc用以下语句OKCC=arm-linux-gcc ./configure --cache-file=cache_file_0 --prefix=/
·
用./configure --prefix=/home/eatjpg/arm-bin CC=arm-fsl-linux-gnueabi-gcc --host=arm-fsl-linux-gnueabi 生成的Makefile CC还是用的gcc
用以下语句OK
CC=arm-linux-gcc ./configure --cache-file=cache_file_0 --prefix=/home/eatjpg/arm-bin --host=arm-fsl-linux-gnueabi
参考
http://blog.sina.com.cn/s/blog_65c7af010100hhbi.html
更多推荐
已为社区贡献1条内容
所有评论(0)