Compilation failed for mips cross-compilation.

Wang Li charles@linux.net.cn
Wed Jun 4 09:31:00 GMT 2003


Thank you very much. It is passed when I use --target=mips-elf.

But the compilation still failed with the following error:

as: unrecognized option '-G'

Has anybody encountered this problem?

Charles  June 4.

----- Original Message -----
From: "Eric Christopher" <echristo@redhat.com>
To: "Wang Li" <charles@linux.net.cn>
Cc: <gcc@gcc.gnu.org>
Sent: Wednesday, June 04, 2003 2:22 PM
Subject: Re: Compilation failed for mips cross-compilation.


>
> >
../gcc-3.3/configure --prefix=/opt/std-mips --target=mips --program-prefix=m
> > ips-
> > 4,   make
>
> You didn't say which object file format you wanted, but I'll assume elf
> so use --target=mips-elf.
>
> -eric
>
> --
> Eric Christopher <echristo@redhat.com>
>
>



More information about the Gcc mailing list