This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cross x86->mips
- To: gcc at gcc dot gnu dot org
- Subject: cross x86->mips
- From: Per Fransson <dat98pfr at ludat dot lth dot se>
- Date: Thu, 12 Apr 2001 13:43:22 +0200 (MET DST)
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>