This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: MIPS cross on Sun problems
- To: gcc-help at gcc dot gnu dot org
- Subject: Re: MIPS cross on Sun problems
- From: "James Sandys-Lumsdaine" <jas_sl at hotmail dot com>
- Date: Wed, 08 Mar 2000 20:11:16 GMT
Found the origin of the listed problems - my make wan't aliased to gmake as
I thought it would be. I also found an email saying to use --use-gnu-as and
--use-gnu-ld.
However, I'm still struggling to get the thing to work.
What headers do I need, if any, for the --with-headers option? Do I pinch
some SGI CC headers? Do I need to install gcc on an SGI Mips then pinch
them?
I have tried using SunUnixgcc headers and SGI headers and the whole thing
falls apart at:
...
_m16stubsf10
_m16stubdf0
_m16stubdf1
_m16stubdf2
_m16stubdf5
_m16stubdf6
_m16stubdf9
_m16stubdf10
rm -f libgcc1.S
mv tmplibgcc1.a libgcc1-asm.a
echo '#define FLOAT' > fp-bit.c
echo '#ifdef __MIPSEL__' >> fp-bit.c
echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
echo '#endif' >> fp-bit.c
echo '#define US_SOFTWARE_GOFAST' >> fp-bit.c
....
gmake[3]: Entering directory `/work/jas/gcc/build-gcc/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}; \
/work/jas/gcc/build-gcc/gcc/xgcc -B/work/jas/gcc/build-gcc/gcc/
-B/work/jas/gcc/made/mips-elf/bin/ -I/work/jas/gcc/made/mips-elf/include -O2
-DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 -I./include -G 0 -g1
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I../../gcc-2.95.2/gcc
-I../../gcc-2.95.2/gcc/config -I../../gcc-2.95.2/gcc/../include -c
-DL${name} \
../../gcc-2.95.2/gcc/libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
mips-elf-ar rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
In file included from include/sys/types.h:19,
from include/unistd.h:20,
from ../../gcc-2.95.2/gcc/libgcc2.c:42:
include/sys/isa_defs.h:340: #error "ISA not supported"
gmake[3]: *** [libgcc2.a] Error 1
gmake[3]: Leaving directory `/work/jas/gcc/build-gcc/gcc'
gmake[2]: *** [stmp-multilib-sub] Error 2
gmake[2]: Leaving directory `/work/jas/gcc/build-gcc/gcc'
gmake[1]: *** [stmp-multilib] Error 1
gmake[1]: Leaving directory `/work/jas/gcc/build-gcc/gcc'
This header business is doing my head in and is not clearly documented
anywhere that I can find - please help!
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com