This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hello, I'm trying what I think should be a relatively elementary cross-compiler. egcs-1.0.3a binutils-2.9.1.0.7 host is i386-pc-linux-gnu (actually PII running RH-5.1) $ target=sparc-sun-linux-gnu $ prefix=/usr/local/cross-sparc $ PATH=$prefix/bin:$PATH $ cd $prefix/binutils-build $ ../binutils-2.9.1.0.7/configure --target=$target --prefix=$prefix -v [snip successful output] $ make all install [snip successful output] $ cd ../egcs-build $ ../egcs-1.0.3a/configure --target=$target --prefix=$prefix -v [snip successful output] $ make all [snip most of output] for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fix unsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varar gs __dummy _eprintf _op_new _op_vnew _new_handler _op_delete _op_vdel _bb _shtab _clear_cache _trampoline __main _exit _ctors _eh _pure; \ do \ echo ${name}; \ /usr/local/cross-sparc/egcs-build/gcc/xgcc -B/usr/local/cross-sparc/egcs-build /gcc/ -O2 -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -fPIC -g1 -DIN_LIBGCC 2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions -I. -I../../egcs-1.0.3a/gcc -I../../eg cs-1.0.3a/gcc/config -c -DL${name} \ ../../egcs-1.0.3a/gcc/libgcc2.c -o ${name}.o; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ sparc-sun-linux-gnu-ar rc tmplibgcc2.a ${name}.o; \ rm -f ${name}.o; \ done _muldi3 In file included from tconfig.h:2, from ../../egcs-1.0.3a/gcc/libgcc2.c:33: ../../egcs-1.0.3a/gcc/config/sparc/xm-linux.h:23: alloca.h: No such file or dire ctory ../../egcs-1.0.3a/gcc/config/sparc/xm-linux.h:24: stdlib.h: No such file or dire ctory ../../egcs-1.0.3a/gcc/config/sparc/xm-linux.h:25: string.h: No such file or dire ctory gmake[1]: *** [libgcc2.a] Error 1 gmake[1]: Leaving directory `/usr/local/cross-sparc/egcs-build/gcc' gmake: *** [all-gcc] Error 2 What am I doing wrong? I have followed the crossgcc FAQ nearly to a tee. When this is successful, my plan is to do the same on a Sequent NUMA-Q to compile SPARC/Linux kernels. However, I currently have the same problem compiling the cross-compiler on the NUMA-Q. -Aron P.S. Please cc to me; I'm not subscribed to crossgcc. +-----------------------------------------> | Aron Griffis (agriffis@coat.com) | Burlington Coat Factory - Network Group +----------------------------------------->