Problems building newlib for m68k-coff with gcc3.1

Daniel Hallgren
Tue Jul 16 06:15:00 GMT 2002


I've been trying to make a crosscompiler for m68k-coff with gcc3.1 and 
have a problem building newlib. I've followed the instructions on Bill 
Gatliff's page (, but it won't work anyway.

I have the following:


Building binutils and bootstrap gcc works without problems, but when I 
try to build newlib I get the following error message after a while:

-- snip --

make[4]: Leaving directory 
make[4]: Entering directory 
make[4]: *** No targets specified and no makefile found.  Stop.
make[4]: Leaving directory 
make[3]: *** [stmp-bsp] Error 2
make[3]: Leaving directory `/usr/src/build-newlib/m68k-coff/m68000/libgloss'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory `/usr/src/build-newlib/m68k-coff/libgloss'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/build-newlib/m68k-coff/libgloss'
make: *** [all-target-libgloss] Error 2

-- snap --

Appearantly there is no Makefile in 
/usr/src/build-newlib/m68k-coff/m68000/libgloss/m68k which there seems 
to should be.

Should I try to compile with gcc-2.95.3 as in Gatliff's FAQ, or is there 
anything else I could do?

If someone else has managed to make the whole compiler with newlib, 
could you please tell me which files (binutils etc) and versions you 
used, and where you got them? Maybe I have corrupted files/wrong version...

I'm running Redhat 7.1 on an i686.

/ Daniel Hallgren

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

More information about the crossgcc mailing list