用./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

Logo

更多推荐