This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GCC cross-compiler Installation




Hi,

I am trying to install gcc as a cross-compiler,
but an error is appearing:

gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I. -I./.
-I./config -I./../include ./gengenrtl.c
as: unrecognized option `-Qy'
make[1]: *** [gengenrtl.o] Error 1
make[1]: Leaving directory `/home/aviral/downloads/gcc/gcc'
make: *** [all-gcc] Error 2


As "./configure", I have used:

./configure --target=mips-elf 
            --prefix=/usr/local/bin 
            --with-local-prefix=/usr/local/bin 
            --with-gnu-as
            --with-gnu-ld 
            --with-newlib


Thank you.

-Marcio.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]