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.
more problems building gcc3.3.3 for the sh-elf target
- From: "Alexander Gdalevich" <gdalevich at hotmail dot com>
- To: crossgcc at sources dot redhat dot com
- Date: Mon, 29 Mar 2004 21:06:11 -0500
- Subject: more problems building gcc3.3.3 for the sh-elf target
- Bcc:
Greetings!
Thanks to Dan for the script. I figure that I should not specify c++ in
--enable-languages=c,c++. Having just a C compiler is sufficient to build
my version of standard c library.
However, I am running into a strange problem building libgcc:
I have configured bootstrap gcc as follows:
../gcc-3.3.3/configure --target=sh-elf --prefix=/gcc_build/sh4 \
--enable-languages=c --disable-multilib --with-newlib \
--without-headers --program-prefix=sh-elf- \
--disable-threads --disable-nls --disable-shared \
-v 2>&1 | tee configure.out
The error I get is:
/crossgcc/build_gcc/gcc/xgcc -B/crossgcc/build_gcc/gcc/
-B/gcc_build/sh4/sh-elf/
bin/ -B/gcc_build/sh4/sh-elf/lib/ -isystem /gcc_build/sh4/sh-elf/include -O2
-D
IN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-
prototypes -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhi
bit_libc -I. -I. -I../../gcc-3.3.3/gcc -I../../gcc-3.3.3/gcc/.
-I../../gcc-3.3.3
/gcc/config -I../../gcc-3.3.3/gcc/../include -DL_ashiftrt
-xassembler-with-cpp -
c ../../gcc-3.3.3/gcc/config/sh/lib1funcs.asm -o libgcc/./_ashiftrt.o
as: unrecognized option `-big'
make[2]: *** [libgcc/./_ashiftrt.o] Error 1
It is using the correct assembler, and binutils were built
using ../binutils-2.14/configure --target=sh-elf --prefix=/build_gcc/sh4
-v
Do I have bad karma or something???
----------------------------------------------------------------
"Normal people ... believe that if it ain't broke, don't fix it. Engineers
believe that if it ain't broke, it doesn't have enough features yet."
_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page ? FREE
download! http://toolbar.msn.com/go/onm00200413ave/direct/01/
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com