Can't build gcc-2.95.3 with g++ for m68k-elf

Kai Ruottu
Thu Feb 7 00:12:00 GMT 2002

Peter Barada wrote:
> -tools/obj-crap-g++-2.95.3/m68k-elf/build-gcc/gcc/xgcc -B/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj-crap-g++-2.95.3/m68k-elf/build-gcc/gcc/ -B/tmp/crap-g++-2.95.3/m68k-elf/bin/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=m68k-elf-nm" "RANLIB=m68k-elf-ranlib" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS=" "MAKEINFO=/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj-crap-g++-2.95.3/m68k-elf/build-gcc/texinfo/makeinfo/makeinfo " "" "SHCURSES=" "RUNTESTFLAGS="
> make[2]: Entering directory `/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj-crap-g++-2.95.3/m68k-elf/build-gcc/m68k-elf/libiberty'
> make[2]: *** No targets specified and no makefile found.  Stop.

 Before the new 'xgcc' etc. can compile and link, the compiler must be put to work.
Trying to compile and link a simple "Hello World" will help to see the problem.
Options like '-v' and '-Wl,-verbose' on the 'xgcc' command line will show more

 The 'm68k-coff/elf' don't have a default target board, so the 'specs' and maybe
the linker script for the added default target board must be edited... The link,
lib, endfile, startfile and libgcc specs must be edited to be sane... Then the
'compiler' should work and the 'libiberty'-configure can succeed...

Regards, Kai

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list