This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation failed for mips cross-compilation.
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>
>
>