The configure script within gcc-4.1.1/libstdc++-v3 is failing and setting gcc_no_link to yes. This causes the error in configure later in the script. This test occurs within "checking for C compiler version."
configure:2417: /home/jate/test/m68k-tools-20061214/m68k-uclinux-gcc/./gcc/xgcc -B/home/jate/test/m68k-tools-20061214/m68k-uclinux-gcc/./gcc/ -B/home/jate/usr/local/m68k-uclinux-tools/m68k-uclinux/bin/ -B/home/jate/usr/local/m68k-uclinux-tools/m68k-uclinux/lib/ -isystem /home/jate/usr/local/m68k-uclinux-tools/m68k-uclinux/include -isystem /home/jate/usr/local/m68k-uclinux-tools/m68k-uclinux/sys-include -m5200 -mid-shared-library -o conftest -O2 -DDWARF2_UNWIND_INFO=0 -O2 conftest.c >&5 /usr/local/m68k-uclinux-tools/bin/m68k-uclinux-ld.real: cannot open linker script file /usr/local/m68k-uclinux-tools/bin/../lib/elf2flt.ld: No such file or directory collect2: ld returned 1 exit status I have specified a target for a different location than the default /usr/local/m68k-uclinux-tools. - Jate S. -----Original Message----- From: Jate Sujjavanich Sent: Monday, May 14, 2007 10:36 AM To: 'uClinux development list' Subject: Compiling m68k-tools-20061214 on gcc 3.4.4 for x86_64-redhat-linux I am attempting to build the toolchain (m68k-tools-20061214) on an x86_64 system for the m68k architecture. This is GCC 4.1. I am using gcc 3.4.4 for x86_64-redhat-linux. The build failed with an ICE error. After some research, I discovered that revision 117181 of config/m68k/m68k.md had a change for what I think are some floating point calls (http://gcc.gnu.org/viewcvs/trunk/gcc/config/m68k/m68k.md?view=log). Copying this revision of the file in allowed the build process to reach stage 7. At this stage, configure for libstdc++-v3 fails with the following error message: checking for main in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[1]: *** [configure-target-libstdc++-v3] Error 1 make[1]: Leaving directory `/home/jate/test/m68k-tools-20061214/m68k-uclinux-gcc' make: *** [all] Error 2 This is a vague error message. After much reading of the crossgcc mailing list, I still do not have a solution. Does anyone have experience with this error or any suggestions on how to get past this? - Jate S. _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
