GCC 4.7.1 error: Link tests are not allowed after GCC_NO_EXECUTABLES.

endian matthew.deren@gmail.com
Tue Jul 3 14:53:00 GMT 2012

http://old.nabble.com/file/p34108047/config.log config.log 

Host GCC Version: 4.4.6
Build GCC Version: 4.7.1

Error Summary:

checking whether the /home/matt/mycc/src/gcc-4.7.1-build/./gcc/xgcc
-B/home/matt/mycc/arm-linux-gnueabi/lib/ -isystem
/home/matt/mycc/arm-linux-gnueabi/include -isystem
/home/matt/mycc/arm-linux-gnueabi/sys-include    linker
(/home/matt/mycc/src/gcc-4.7.1-build/./gcc/collect-ld) supports shared
libraries... yes
checking dynamic linker characteristics... configure: error: Link tests are
not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/home/matt/mycc/src/gcc-4.7.1-build'
make: *** [all] Error 2

Configure Options (sh excerpt):

${SRC_DIR}/${GCC}/configure \
        --enable-obsolete \
        --target=arm-linux-gnueabi \
        --disable-threads \
        --enable-language=c \
        --prefix=${PREFIX} \
        --without-headers \
        --disable-multilib \
        --disable-decimal-float \
        --disable-libgomp \
        --disable-libmudflap \
        --disable-nls \
        --disable-shared \
        --disable-libssp \
        --with-newlib \


I can run a 'make all-gcc', and there are gcc executables that get installed
in my target directory, but am not sure if the compilation is actually
broken.  Any ideas about the source of the error?  I am currently learning
how to build tool chains, so please excuse any gross errors I might have
made with configure.

View this message in context: http://old.nabble.com/GCC-4.7.1-error%3A-Link-tests-are-not-allowed-after-GCC_NO_EXECUTABLES.-tp34108047p34108047.html
Sent from the gcc - Help mailing list archive at Nabble.com.

More information about the Gcc-help mailing list