GCC cross-compiler Installation

Alexandre Oliva aoliva@redhat.com
Wed Aug 22 00:39:00 GMT 2001


On Aug 21, 2001, Marcio de Oliveira Buss <marcio@ics.uci.edu> wrote:

> Hi,

Hi!

> 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'

It appears that the assembler GCC is finding in the PATH (because
apparently it can't find it in any of the directories it searches by
default) doesn't accept this option.  Could it be that this assembler
is the cross assembler for mips-elf, instead of the native assembler
that the native gcc should be using?  If this is the case, take this
directory off your PATH: the cross assembler should be found as
mips-elf-as, not just as.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list