This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem while compiling gcc for MIPS on Linux
- To: Linus Nielsen Feltzing <linus at haxx dot se>
- Subject: Re: [ECOS] Problem while compiling gcc for MIPS on Linux
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 17 Apr 2001 14:49:35 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <F93O7pQUpKSgEaiilKd00007c13@hotmail.com> <3ADAD369.7CD6C713@haxx.se>
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