Building m68k-coff-gcc throws 'stdlib.h: no such file'

Michael Svetlik
Mon Dec 2 08:42:00 GMT 2002

Hi, folks.

It's a strange thing: xgcc can't find stdlib.h and unistd.h, when doing 
a make.
It tries to build the libgcc (m68k-coff-ar rc tmplibgcc2.a ${name}.o;)
gcc 2.95.3 has been configured with
'--target=m68k-coff --program-prefix=m68k-coff- --enable-languages=c 
--host=i686-pc-linux-gnu', like the binutils were, before.
Building another cross-compiler - h8300hms - from the same sources, works.
BTW, xgcc wants to include files from /usr/local/m68k-coff/include, 
which does not exist.

Any hints would be welcome ...

-Michael :-

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

More information about the crossgcc mailing list