This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC 3.0.1 installation problem
- From: Prashanth Krishnamurthy <prashant at aspen-networks dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 19 Dec 2001 20:02:24 -0800
- Subject: GCC 3.0.1 installation problem
Hi,
I am new to the gcc compiler. I am trying to install gcc 3.0.1 on Red
Hat Linux machine. But it is failing with an error message
/home/prashkm/gcc-3.0.1/objs/gcc/xgcc
-B/home/prashkm/gcc-3.0.1/objs/gcc/ -nostdinc
-B/home/prashkm/gcc-3.0.1/objs/mips-elf/newlib/ -isystem
/home/prashkm/gcc-3.0.1/objs/mips-elf/newlib/targ-include -isystem
/home/prashkm/gcc-3.0.1/newlib/libc/include -B/usr/local/mips-elf/bin/
-B/usr/local/mips-elf/lib/ -isystem /usr/local/mips-elf/include -O2
-DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -G 0 -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc
-I../../gcc/. -I../../gcc/config -I../../gcc/../include -DL_m16addsf3
-xassembler-with-cpp -c ../../gcc/config/mips/mips16.S -o
libgcc/./_m16addsf3.o
as: unrecognized option '-G'
make[2]: Leaving directory `/home/prashkm/gcc-3.0.1/objs/gcc'
make[1]: Leaving directory `/home/prashkm/gcc-3.0.1/objs/gcc'
Can somebody tell me what is wrong? The configure options I am using
are --target=mips-elf --with-newlib
Thanks
Prashanth