GCC 3.0.1 installation problem

Prashanth Krishnamurthy prashant@aspen-networks.com
Wed Dec 19 20:07:00 GMT 2001


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



More information about the Gcc-help mailing list