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]

problem compiling gcc for mips64el



	I'm trying to build a cross compiler for 64 bit, little endian
mips elf under linux (mips64el), in preparation for compiling a kernel
for the NEC Vr5000 (A 64 bit mips) cpu.

	I've tried both egcs and gcc-2.8.1 according to the
crosscompilation faq, and both give me the following error, during the
building of libgcc2.a.  Suggestions on how to proceed?:

gmake[1]: Entering directory `/build/mips/build-gcc'
rm -f libgcc2.a
if [ -d . ]; then \
  cd .; \
  rm -f libgcc.a ; \
else true; \
fi
gmake GCC_FOR_TARGET="./xgcc -B./" \
  AR="/project/cs/brass/a/tools/free/mips/mips64el-elf/bin/ar"
AR_FLAGS="rc" CC="gcc" CFLAGS="-g" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  LANGUAGES="c proto gcov  c++" \
  LIBGCC2_CFLAGS="-O2  -DCROSS_COMPILE -DIN_GCC    -g -I./include  -G
0 -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions  " libgcc2.a
gmake[2]: Entering directory `/build/mips/build-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
_op_new _op_vnew _new_handler _op_delete _op_vdel _bb _shtab
_clear_cache _trampoline __main _exit _ctors _eh _eh_compat _pure; \
do \
  echo ${name}; \
  ./xgcc -B./ -O2  -DCROSS_COMPILE -DIN_GCC    -g -I./include  -G 0
-g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions
-I. -I/build/mips/gcc-2.8.1 -I/build/mips/gcc-2.8.1/config -c
-DL${name} \
      /build/mips/gcc-2.8.1/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  /project/cs/brass/a/tools/free/mips/mips64el-elf/bin/ar rc
tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
xgcc: installation problem, cannot exec `mips-tfile': No such file or
directory
gmake[2]: *** [libgcc2.a] Error 1
gmake[2]: Leaving directory `/build/mips/build-gcc'
gmake[1]: *** [stmp-multilib-sub] Error 2
gmake[1]: Leaving directory `/build/mips/build-gcc'
gmake: *** [stmp-multilib] Error 1


-- 
Nicholas C. Weaver                                 nweaver@cs.berkeley.edu
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]