This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC 4.2 ARM build fails (Link tests are not allowed after GCC_NO_EXECUTABLES)
- From: Sergey Stasishin <stasishin at speechpro dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 15 Jun 2007 16:58:18 +0400
- Subject: GCC 4.2 ARM build fails (Link tests are not allowed after GCC_NO_EXECUTABLES)
Hi, folks!
I've tried to build gcc 4.2 (snapshot 20070530) for ARM 920T platform on
i386, and got a next error, generated by libstdc++-v3:
checking for ld that supports -Wl,--gc-sections... configure: error:
Link tests are not allowed after GCC_NO_EXECUTABLES.
I haven't any ideas, what is the reason of this....
I use binutils-2.17.50
Parameters are listed here:
$
/build/buildroot/toolchain_build_arm_nofpu/gcc-4.2-20070530/libstdc++-v3/configure
--cache-file=./config.cache --build=i386-pc-linux-gnu
--host=arm-linux-uclibc --target=arm-linux-uclibc
--with-cross-host=i386-pc-linux-gnu
--prefix=/build/buildroot/build_arm_nofpu/staging_dir --enable-shared
--disable-__cxa_atexit --enable-target-optspace --with-gnu-ld
--disable-nls --enable-threads --enable-multilib --with-float=soft
--enable-languages=c,c++
--program-transform-name=s,^,arm-linux-uclibc-,;
--with-target-subdir=arm-linux-uclibc
--srcdir=/build/buildroot/toolchain_build_arm_nofpu/gcc-4.2-20070530/libstdc++-v3