Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Link tests are not allowed after GCC_NO_EXECUTABLES ---crosscompiling toolchain

Iam trying to build a cross compiler using this tutorial: http://wiki.osdev.org/OS_Specific_Toolchain

after succesfully building binutils,all-gcc,newlib

I am getting an error in the last part of make in build-gcc

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

please help...

like image 219
Saurabh7 Avatar asked Oct 14 '12 08:10

Saurabh7


1 Answers

I don't know you configure command options. But if you have given --enable-language=c change it to --enable-languages=c. Or may be you are compiling bootstrap with languages c and c++. In which case this error occurs.

like image 94
user1800354 Avatar answered Sep 22 '22 14:09

user1800354