This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cross x86->mips


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>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]