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: Errors making m68k-coff cross compiler


Hi Mike,

I came across this error a couple of times...

It looks like the assembler ('as') that is being invoked is the host's 'as'
and not the cross-version (probably m68k-coff-as). When I went through this
process, I started with a "non-standard" location, I think as you did, and
eventually went back to allowing things to be stored in the "standard"
places (like /usr/local...).  This may help.

On the other hand, you can try using flags like -v and -print-search-dirs to
see exactly where things are being looked for...

Hope this helps...

> From: Michael Dorin <dorin@puma.chaski.com>
> Reply-To: dorin@gr-303.com
> Date: Wed, 7 Mar 2001 10:10:34 -0600 (CST)
> To: crossgcc@sourceware.cygnus.com
> Subject: Errors making m68k-coff cross compiler
> 
> 
> I am tring to build a m68k-coff cross compiler and I get stuck
> on the following error, any ideas?
> 
> ......snip...
> 
> cp ../../gcc-2.95.1/gcc/conf
> ig/m68k/lb1sf68.asm libgcc1.S
> for name in _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _double _float _floatex
> _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2
> _lesf2; \
> do \
> echo ${name}; \
> /home/dorin/gnu/cross-gcc/gcc/xgcc -B/home/dorin/gnu/cross-gcc/gcc/
> -B/home/dorin/local/m68k-coff/bin/ -I/home/dorin/local/m68k-coff/include -O2
> -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include   -g1  -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc  -I. -I../../gcc-2.95.1/gcc
> -I../../gcc-2.95.1/gcc/config -I../../gcc-2.95.1/gcc/../include -c -DL${name}
> libgcc1.S; \
> if [ $? -eq 0 ] ; then true; else exit 1; fi; \
> mv libgcc1.o ${name}.o; \
> m68k-coff-ar rc tmplibgcc1.a ${name}.o; \
> rm -f ${name}.o; \
> done
> _mulsi3
> as: unrecognized option `-c68020'
> make[1]: *** [libgcc1-asm.a] Error 1
> make[1]: Leaving directory `/home/dorin/gnu/cross-gcc/gcc'
> make: *** [all-gcc] Error 2
> 
> -Mike
> 
> ------
> 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]