2012-10-27 29 views
5

我配置单下面构建单嵌入式Linux(ARM7)

./configure --host=arm-linux --build=arm-none-linux-gnueabi --target=arm-linux --cache-file=arm-linux.cache --disable-mcs-build 

命令文件臂linux.cache是​​

mono_cv_clang=no 
mono_cv_uscore=no 
with_tls=no 
with_sigaltstack=no 

我当我做单,错误信息是:

In file included from mini-arch.h:21,
from mini.h:35,
from genmdesc.c:9:
mini-arm.h:39:2: error: #error "At least one of ARM_FPU_NONE, ARM_FPU_FPA, ARM_FPU_VFP or ARM_FPU_VFP_HARD must be defined."

+0

还带with_tls = pthread – Ghost

回答

2

需要定义/选择的选项floating point hardware用于目标你有一个,例如:

make CFLAGS=-DARM_FPU_NONE 
+0

谢谢。我已经通过了这个问题。 – Ghost

+0

@Ghost欢迎您,如果解决了您的问题,您应该接受答案,否则回答您自己的问题并接受它。 – iabdalkader