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


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


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