This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: Cannot Build Cross Gcc, Help


Hi Rod,

I've been struggling with something that may be similar.  Here is the error
message (with some context) that I get:

rm -f tmplibgcc1.a libgcc1.S
cp ../gnu-2.8.1/gcc/config/m68k/lb1sf68.asm libgcc1.S
for name in _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _double _float
_floatex _eqdf2 _ned
f2 _gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2; \
do \
  echo ${name}; \
  ./xgcc -B./ -O2  -DCROSS_COMPILE -DIN_GCC    -g -I./include   -g1
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions -I. -I../gnu-2.8.1/gcc
-I../gnu-2.8.1/gcc/config -c -DL${na
me} libgcc1.S; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  mv libgcc1.o ${name}.o; \
  /volume/FFS_500/bar/m68k-coff/bin/ar rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_mulsi3
Assembler messages:
Error: invalid switch -mc68020
make: *** [libgcc1-asm.a] Error 1

If this is where you are having a problem, then perhaps it is the same kind
of thing.  

I just got past this error by linking the m68k version of 'as' into the
build-gcc directory where that Makefile was executing.  I don't know why I
had to do this and I've asked the collective wisdom of this group for
guidance (perhaps linking 'as' was simply wrong and will come back to haunt
me later).

Hope this helps...

> From: rtolosa <rod@tolosa.com>
> Date: Mon, 19 Feb 2001 09:13:08 -0800
> To: CrossGCC <crossgcc@sourceware.cygnus.com>
> Subject: Cannot Build Cross Gcc, Help
> 
> Does anyone know what this error is and how I can fix it?
> 
> Building gcc m68k-coff cross-compiler fails when making
> libgcc1-asm.a on SunOS4.
> Error reports does not know what options 'm', 'c', '6', '8', '0',
> '2', '0' are.
> The native 2.95 gcc build finished ok, but when I try to build
> the cross compiler for "m68k-coff" on a sparc SunOS 4.1.3 machine,
> it fails.
> 
> Any hints would deeply be appreciated.
> 
> Rod
> 
> 
> ------
> Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
> 
> 
> 


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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