This is the mail archive of the gcc@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]
Other format: [Raw text]

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


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