This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: make cross with egcs?


I'm trying to make a egcs 1.0 under hpux with --target=m68k-linux. I
got the following error during 'make cross'

-----------------[ cut ]---------------------------

rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/README
cp ./README-fixinc include/README
chmod a+r include/README
touch stmp-int-hdrs
rm -f gfloat.h
cp ./config/float-i64.h gfloat.h
rm -f include/float.h
cp gfloat.h include/float.h
chmod a+r include/float.h
touch stmp-headers
if [ -f libgcc2.ready ] ; then \
        true; \
else \
        touch libgcc2.ready; \
fi
case " c c++ " in \
*" "[cC]"++ "*) \
  echo tinfo.o tinfo2.o new.o new1.o new2.o exception.o > cplib2.new;; \
*) \
  echo "" > cplib2.new;; \
esac
mv -f cplib2.new cplib2.txt
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  _pure; \
do \
  echo ${name}; \
  /opt/share/src/cross/egcs-1.0/gcc/xgcc -B/opt/share/src/cross/egcs-1.0/gcc/ -O2  -DCROSS_COMPILE -DIN_GCC    -g -O2 -I./include  -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions   -I. -I. -I./config -c -DL${name} \
      ./libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  m68k-linux-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
as: unrecognized option `-Qy'
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/opt/share/src/cross/egcs-1.0/gcc'
make: *** [cross] Error 2

-----------------[ cut ]---------------------------

Is that because I haven't yet build an cross binutils and cross
assembler?

The as and compiler are the following:

>as --version
GNU assembler 970915
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `hppa1.1-hp-hpux10.10'.

>gcc --version
egcs-2.90.21 971202 (egcs-1.00 release)

The egcs was compiled with a previous egcs snapshot and then with
itself again.

May the Source be with you.
			Mrvn


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