Sau*_*bh7 9 c gcc cross-compiling
我试图使用本教程构建一个交叉编译器:http: //wiki.osdev.org/OS_Specific_Toolchain
在成功构建binutils之后,all-gcc,newlib
我在build-gcc的make的最后一部分出现错误
checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
Makefile:8970: recipe for target `configure-target-libstdc++-v3' failed
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/usr/src/build-gcc'
Makefile:870: recipe for target `all' failed
make: *** [all] Error 2
Run Code Online (Sandbox Code Playgroud)
请帮忙...
小智 1
我不知道你配置命令选项。但如果您已给出--enable-language=c ,请将其更改为--enable-languages=c。或者您可能正在使用 c 和 c++ 语言编译 bootstrap。在这种情况下就会出现这个错误。