powerpc fails to build
K. Richard Pixley
rich@tollbridgetech.com
Mon Mar 22 14:57:00 GMT 1999
On both linux and solaris-2.6 for both powerpc-unknown-elf and
powerpc-unknown-eabi, building fails with the following. These are
cross compilers. There are no libraries (yet). What's up with this?
Are there instructions for building cross compilers that I've
missed?
--rich
make[3]: Entering directory `/opt/local/cygnus/src/egcs-powerpc-unknown-eabi/gcc'
rm -f tmplibgcc2.a
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 _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors _pure; \
do \
echo ${name}; \
/opt/local/cygnus/src/egcs-powerpc-unknown-eabi/gcc/xgcc -B/opt/local/cygnus/src/egcs-powerpc-unknown-eabi/gcc/ -O2 -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -mstrict-align -I. -I../../egcs-1.1.2/gcc -I../../egcs-1.1.2/gcc/config -c -DL${name} \
../../egcs-1.1.2/gcc/libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
powerpc-unknown-eabi-ar rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
../../egcs-1.1.2/gcc/libgcc2.c:41: stdlib.h: No such file or directory
../../egcs-1.1.2/gcc/libgcc2.c:42: unistd.h: No such file or directory
make[3]: *** [libgcc2.a] Error 1
More information about the Gcc-bugs
mailing list