Hi, On Sun, 2005-01-30 at 16:58 -0600, Quantum Scientific wrote: > The MIPS environment has now compiled fine, but the PPC fails as below. > > There's obviously a missing file in the distro, and so that's it for the > official Cross-Compile Environment. I've enountered and fixed several bugs, > but it is just too busted. What are you using? Which distro? And where did you get the sources? Because I know for sure that Nikita who did the toolchains that are on our website tested them all. Even alpha to i386 compilers... so I guess you are using something else > > --------------------------------------------------------------------------------------------------- > mkdir -p -- libgcc > if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi > /usr/src/gcc-ppc-linux-3.4.3/build/gcc/xgcc > -B/usr/src/gcc-ppc-linux-3.4.3/build/gcc/ -B/usr/ppc-linux/bin/ > -B/usr/ppc-linux/lib/ -isystem /usr/ppc-linux/include > -isystem /usr/ppc-linux/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall > -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes > -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT > -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../src/gcc > -I../../src/gcc/. -I../../src/gcc/../include -DL_muldi3 > -c ../../src/gcc/libgcc2.c -o libgcc/./_muldi3.o > In file included from ./tm.h:10, > from ../../src/gcc/libgcc2.c:43: > ../../src/gcc/config/rs6000/linux.h:111:20: signal.h: No such file or > directory > In file included from ./tm.h:10, > from ../../src/gcc/libgcc2.c:43: > ../../src/gcc/config/rs6000/linux.h:120: error: parse error before "stack_t" > ../../src/gcc/config/rs6000/linux.h:120: warning: no semicolon at end of > struct or union > ../../src/gcc/config/rs6000/linux.h:122: error: parse error before > "uc_sigmask" > ../../src/gcc/config/rs6000/linux.h:122: warning: type defaults to `int' in > declaration of `uc_sigmask' > ../../src/gcc/config/rs6000/linux.h:122: warning: data definition has no type > or storage class > ../../src/gcc/config/rs6000/linux.h:121: error: storage size of `uc_mcontext' > isn't known > make[4]: *** [libgcc/./_muldi3.o] Error 1 > make[4]: Leaving directory `/usr/src/gcc-ppc-linux-3.4.3/build/gcc' > make[3]: *** [stmp-multilib] Error 2 > make[3]: Leaving directory `/usr/src/gcc-ppc-linux-3.4.3/build/gcc' > make[2]: *** [all-gcc] Error 2 > make[2]: Leaving directory `/usr/src/gcc-ppc-linux-3.4.3/build' > s=`cat status`; rm -f status; test $s -eq 0 > make[1]: *** [stamps/05-build-stamp] Error 1 > make[1]: Leaving directory `/usr/src/gcc-ppc-linux-3.4.3' > make: *** [stamps/05-build-stamp] Error 2 > debuild: fatal error at line 764: > dpkg-buildpackage failed! > /usr/src/gcc-ppc-linux-3.4.3 # > --------------------------------------------------------------------------------------------------- It seems that there is a problem with the kernel headers. And ../../src/gcc/config/rs6000/ is a very strange include path. And normally you could do with a default debian gcc for i486, as all those toolchains by default compile for i386, unless you specify loads of optimalization options. And if you really need good cross-compilation tools, use crosstool which will provide you with all those targets. regards, Philippe -- | Philippe De Swert | | Stag developer http://stag.mind.be/ | Emdebian developer: http://www.emdebian.org | | Please do not send me documents in a closed format. (*.doc,*.xls,*.ppt) | Use the open alternatives. (*.pdf,*.ps,*.html,*.txt) | Why? http://pallieter.is-a-geek.org:7832/~johan/word/english/
Attachment:
signature.asc
Description: This is a digitally signed message part