今天在arm上用configure生成makefile时报错:configure: error: cannot guess build type; you must specify one

[转帖]--build=arm-linux_linux

问题:

不能确定编译的操作系统

解决:

在gcc编译中我们使用
  ./configure --build=编译平台 --host=运行平台 --target=目标平台

指令:

./configure --build=arm-linux --prefix=/usr