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.


On Wed, 2003-06-04 at 02:16, Wang Li wrote:
> 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?

Yes. You need to build and install binutils. I suggest you look at the
crossgcc FAQ.

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