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
- Subject: Re: [ECOS] Problem while compiling gcc for MIPS on Linux
- From: Linus Nielsen Feltzing <linus at haxx dot se>
- Date: Mon, 16 Apr 2001 13:11:37 +0200
- CC: ecos-discuss at sources dot redhat dot com
- References: <F93O7pQUpKSgEaiilKd00007c13@hotmail.com>
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.
/Linus