This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

About Cross GCC problem


Hi, all,

I am new to cross gcc. I want to make a cross gcc compiler for
our embedded mips. But I fail.
I read CrossGCC FAQ, I do as the chapter 4 said, based on
i686-pc-linux to make m68k-coff target.
I use binutils-2.10, gcc-2.95.2, newlib-1.8.2.
I first make binutils-2.10 it is ok.
But when I make gcc, it reports the following problem:

../../gcc-2.95.2/gcc/libgcc2.c:41: stdlib.h: file not exist
../../gcc-2.95.2/gcc/libgcc2.c:42: unistd.h: file not exist
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/root/work/crossdev/build-gcc/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/root/work/crossdev/build-gcc/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/root/work/crossdev/build-gcc/gcc'
make: *** [all-gcc] Error 2   

What's wrong? If someone knows, please help me.

Thanks in advance!

Qingbo



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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