ubuntu运行./configure时出错

紧急求救,运行./configure时出现checking whether we are cross compiling... no。
arm-linux-gcc已经安装过了,但任然无效。

运行./configure --help看一下参数,这里你可能还要指定target来进行交叉编译,否则他默认做本平台的编译。

configure指定了crross编译的参数没

你是有对应的库没有安装,或者gcc没有指定对,或者权限不对。

安装完 还要加入到环境变量 etc/profile

export CC=arm-linux-gcc
export LD等
./configure --host=arm-linux