Hi
I downloaded binutils (binutils-2.16.1) source file, done
configure, make and installed at /usr/local/bin for MIPS as below:
# ./configure -target=mips-elf --program-prefix=mips-
# make
#make install
Then I downloaded, gcc-3.3.2 source and applied patch
gcc-uclibc-full01.patch.gz file with gcc-3.3.2 to enable the support
of uclibc dynamic linker. I setup configure as :
# ./configure -target=mips-elf -prefix=/usr/local
-program-prefix=mips- -enable-language=c -program-suffix=
then compiled as :
#make
On compiling I got the error:
/root/project/gcc-src/gcc-3.3.2/gcc/xgcc
-B/root/Project-Genesis1-uClibc-scratch/gcc-src/gcc-3.3.2/gcc/
-B/usr/local/bin/mips-elf/bin/ -B/usr/local/bin/mips-elf/lib/ -isystem
/usr/local/bin/mips-elf/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include -G 0 -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc
-I. -I. -I. -I./. -I./config -I./../include -DL_m16addsf3
-xassembler-with-cpp -c ./config/mips/mips16.S -o libgcc/./_m16addsf3.o
as: unrecognized option `-G'
make[2]: *** [libgcc/./_m16addsf3.o] Error 1
I tried
# make AS=mips-as
Please reply.
Regards
Manjuanatha Srinivasan N