strange problem: gcc use incorrect AS
zhanghongzhong
hzzhang@online.sh.cn
Thu Jun 21 03:31:00 GMT 2001
Hi there,
I met a strange problem when I build my cross-gcc for m68k-coff on
Linux Redhat 6.2/7.0 PC, it seems the GCC
pick up a wrong AS, is the problem because of GCC or autoconf ?
Thanks and regards
if [ -f libgcc2.ready ] ; then \
true; \
else \
touch libgcc2.ready; \
fi
rm -f tmplibgcc1.a libgcc1.S
cp ../../gcc-2.95.3/gcc/config/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/user1/new-tools/install/gcc-src/build-gcc/gcc/xgcc
-B/home/user1/new-tools/install/gcc-src/build-gcc/gcc/
-B/usr/local/bin/swtools/cross/gcc-2.95.3/m68k-coff/bin/
-I/usr/local/bin/swtools/cross/gcc-2.95.3/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.3/gcc
-I../../gcc-2.95.3/gcc/config -I../../gcc-2.95.3/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/user1/new-tools/install/gcc-src/build-gcc/gcc'
make: *** [all-gcc] Error 2
[root@linux-ast build-gcc]#
Zhang hongzhong
hzzhang@utt.com.cn
13901638311
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list