cc1: error: invalid option `abi=aapcs-linux' make[1]: *** [kernel/bounds.s] Error 1 make: *** [prep

来源:互联网 发布:mac残留windows软件 编辑:程序博客网 时间:2024/05/16 10:10

由于内核和busybox编译需要同一个交叉编译器,所以就用来arm-linux-gcc-3.4.1来编译内核。

但是却出现了这样的错误:

cc1: error: invalid option `abi=aapcs-linux'
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
 

原来是因为编译器太老的缘故,只要把

Kernel Features ---->Use the ARM EABIto compile the kernel 

该选项去掉就可以编译成功了!

0 0
原创粉丝点击