linux-mips
[Top] [All Lists]

Re: Trouble compiling MIPS cross-compiler

To: linux-mips@linux-mips.org
Subject: Re: Trouble compiling MIPS cross-compiler
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Sat, 17 Jan 2004 17:27:53 +0100
In-reply-to: <200401171736.49803@korath>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200401171711.34964@korath> <200401171736.49803@korath>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.4i
Adam Nielsen wrote:
> > as: unrecognized option `-O2'
> 
> Ok, I just worked out the problem - or at least I discovered a workaround.  
> If 
> I run:
> 
>       ./configure --prefix=/usr/local [...]
> 
> then I get the error during compilation, but if instead I run
> 
>       ./configure --prefix=/usr [...]
> 
> then it appears to work perfectly...!
> 
> No idea what's going on, but at least it works and hopefully it won't 
> overwrite my existing compiler when I install it ;-)

IIRC you need to configure with AS=mips-linux-as.


Thiemo

<Prev in Thread] Current Thread [Next in Thread>