specs File
Terry Lee Tucker
terry@esc1.com
Sat Apr 1 00:00:00 GMT 2000
Configuring a cross compiler Linux -> SCO5. While building gcc, I get
the following message:
echo ${name}; \
/usr/src/redhat/SOURCES/gcc-2.95.2/gcc/xgcc
-B/usr/src/redhat/SOURCES/gcc-2.95.2/gcc/ -B/usr/local/i386-sco5/bin/
-I/usr/local/i386-sco5/include -O2 -DCROSS_COMPILE -DIN_GCC -g -O2
-I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I.
-I./config -I./../include -c -DL${name} \
./libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
i386-sco5-ar rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
/usr/local/i386-sco5/bin/as: unrecognized option `-b'
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/usr/src/redhat/SOURCES/gcc-2.95.2/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/usr/src/redhat/SOURCES/gcc-2.95.2/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/usr/src/redhat/SOURCES/gcc-2.95.2'
When I look at the specs file generated by the build, I see this in
*asm:
*asm:
-b %{!mcoff:elf}%{mcoff:coff %{static:%e-static not valid with
-mcoff} %{shared:%e-shared not valid with -mcoff}
%{symbolic:%e-symbolic not valid with -mcoff}} %{Ym,*} %{Yd,*}
%{Wa,*:%*}
%{!mcoff:-E%{Xa:a}%{!Xa:%{Xc:c}%{!Xc:%{Xk:k}%{!Xk:%{Xt:t}%{!Xt:a}}}},%{ansi:ansi}%{!ansi:%{posix:posix}%{!posix:%{Xpg4:xpg4}%{!Xpg4:%{Xpg4plus:XPG4PLUS}%{!Xpg4plus:%{Xods30:ods30}%{!Xods30:XPG4PLUS}}}}},ELF
%{Qn:} %{!Qy:-Qn}}
-b is not a valid option for as. Why is it doing this?
--
Oakwood, GA 30566 USA
770.965.9294
http://www.esc1.com
The Gates of hell shall NOT prevail...
------
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