This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Q:Error building cross compiler for mips-mips-linux on Solaris.
- To: egcs at cygnus dot com
- Subject: Q:Error building cross compiler for mips-mips-linux on Solaris.
- From: krishm at taec dot toshiba dot com (Madhu Krishnamurthy)
- Date: Fri, 30 Oct 1998 17:54:25 -0800
Hello,
I am reposting my earlier question with a suitable subject.
I am trying to build a cross compiler on sparc-sun-solaris2.5.1.
for a mips-mips-linux target. I have downloaded egcs1.1.
Here is my config command
/egcs/cross/build%../../egcs-1.1b/configure --target=mips-mips-linux
--prefix=/egcs/cross/install --with-headers=/egcs/my_include
Then I do
make cross
After about 1 hour of compilation I get this message included below.
Can someone please tell how I can solve this problem.
thanks
madhu
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
_fix
unsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp
_varar
gs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors
_pur
e; \
do \
echo ${name}; \
/egcs/cross/build/gcc/xgcc -B/egcs/cross/build/gcc/ -O2 -DCROSS_COMPILE
-DIN_GCC -DSVR4 -g -O2 -I./incl
ude -D__SSIZE_TYPE__="int" -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-I. -I
../../../egcs-1.1b/gcc -I../../../egcs-1.1b/gcc/config -c -DL${name} \
../../../egcs-1.1b/gcc/libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
mips-mips-linux-ar rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
as: error: unknown option 'O'
as: error: unknown option '2'
as: error: unknown option 'g'
as: error: unknown option 'g'
as: error: unknown option '1'
usage: as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s]
[-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
[-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
[-m [-Ym,path]] [-n] [-xF] [-xarch=v7] [-xarch=v8] [-xarch=v8a]
[-xarc
h=v8plus] [-xarch=v8plusa] file.s...
make[1]: *** [libgcc2.a] Error 1
make: *** [cross] Error 2
(END)