This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: Problem while compiling gcc for MIPS on Linux


Linus Nielsen Feltzing wrote:
> 
> Raghavan Pichai wrote:
> >
> > Hi,
> >
> > When I compile gcc(2.95.3 or 2.95.2) on Linux for platform mips-r3041-elf; I
> > get the following error
> >
> > _m16addsf3
> > as: unrecognized option `-G'
> > I am unable to diagnose. Can anyone help me out on this???
> >
> 
> I assume that you have built binutils before gcc? If so, try
> to insert the directory with the installed binutils into
> the PATH:
> 
> bash: #export PATH=<the binutils dir>:$PATH
> 
> then make again.
> 
> I'm not sure, but you might have to reconfigure gcc.

Also, make sure that the "prefix" used when configuring gcc is the same as
that when you installed binutils.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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