cross x86->mips

Per Fransson dat98pfr@ludat.lth.se
Thu Apr 12 04:45:00 GMT 2001


I'm (still) having problems compiling gcc as an x86-hosted mips cross
compiler. I configure like this:

'../gcc-2.95.3/configure --with-gnu-as --with-gnu-ld --target=mips
--prefix=foo'

No problem this far...

I then make with:

'make'

I get:

...

../../gcc-2.95.3/gcc/libgcc2.c:41: stdlib.h: No such file or directory
../../gcc-2.95.3/gcc/libgcc2.c:42: unistd.h: No such file or directory
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/home/per/build/build-gcc/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/home/per/build/build-gcc/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/home/per/build/build-gcc/gcc'
make: *** [all-gcc] Error 2




Can anyone help me? Pleeeeeeeeease...




/Per Fransson <dat98pfr@ludat.lth.se>




More information about the Gcc mailing list