2015-04-06 172 views
2

我想的Fedora 21,但4.6.4和4.9.2下建立GCC ARM的失敗,同樣的錯誤:ARM-GCC編譯錯誤21

checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. 
Makefile:8200: recipe for target 'configure-zlib' failed 

我按照本指南:http://www.kunen.org/uC/gnu_tool.html

不明白,我在做什麼錯了?

P.S. configure命令:

../../src/gcc-4.9.2/configure --target=arm-none-eabi --prefix=$MYTOOLS --enable-interwork --enable-multilib --enable-languages="c,c++" --with-newlib --with-headers=../../src/newlib-1.20.0/newlib/libc/include/ 

回答

1

如果你已經安裝的Zlib這個系統上,你可以嘗試添加--with-系統的zlib到你使用configure命令。

+0

這真的很有幫助,非常感謝! – unclechu