This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello experts I'm trying to build a cross-compiler host on i686-linux target to powerpc embedded board. I'm using below packages: binutils-2.12.tar.bz2 gcc-core-3.0.tar.gz gcc-3.0.tar.gz glibc-2.2.5.tar.gz glibc-linuxthreads-2.2.5.tar.gz linux-2.4.18 After read several howtos, binutils is built ok. When I'm going to build gcc-core to a bootstrap c compiler, it failed: I've tried several combination of configuration switchs.First I tried: "--with-newlib --without-headers --enable-languages=c --disable-threads" Then I tired: "--with-headers=/root/source/linux-2.4.18/include --with-newlib --enable-languages=c --disable-threads" That linux tree I've configured for powerpc and "make dep", thus the asm is link of "asm-ppc" and header files should be prepared for powerpc target. I even tried to extract proper linux header files to prefix path. However all of above attempt failed at: /root/source/gcc-3.0/gcc/config/rs6000/linux.h:81:20: signal.h: No such file or directory /root/source/gcc-3.0/gcc/config/rs6000/linux.h:82:26: sys/ucontext.h: No such file or directory make[2]: *** [libgcc/./_muldi3.o] Error 1 make[2]: Leaving directory `/root/objdir/gcc-3.0/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/root/objdir/gcc-3.0/gcc' make: *** [all-gcc] Error 2 It seems some libc header files needed. But I really don't know how to handle it. And howtos have not mentioned about that. Does anybody can give me some clue. Any suggestion will be high appreciated! -- Wang Yonghao (Leo) mailto:leoinuk@163.com Host in Nightmare ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |