checking whether arm-none-linux-gnueabi-gcc is gcc... yes
checking compiler arm-none-linux-gnueabi-gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no
checking compiler arm-none-linux-gnueabi-gcc -O2 -pedantic -fomit-frame-pointer ... no, program does not run
configure: error: could not find a working compiler, see config.log for details
试了半天没有解决这个问题,只好先执行./configure,然后手工修改其中的gcc 为 arm-none-linux-gnueabi-gcc,继续执行make,出来的问题是
cc1: error: unrecognized command line option "-m32"
fib_table.c:1: error: bad value (k8) for -mtune= switch
fib_table.c:1: error: bad value (k8) for -march= switch
有做过的朋友请指点指点
1 个解决方案
#1
已经找到原因
./configure --host=arm-none-linux CC=arm-none-linux-gnueabi-gcc
./configure --host=arm-none-linux CC=arm-none-linux-gnueabi-gcc
#1
已经找到原因
./configure --host=arm-none-linux CC=arm-none-linux-gnueabi-gcc
./configure --host=arm-none-linux CC=arm-none-linux-gnueabi-gcc