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: Adam Nielsen <a.nielsen@optushome.com.au>
Date: Sat, 17 Jan 2004 17:36:49 +1000
In-reply-to: <200401171711.34964@korath>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200401171711.34964@korath>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.5
> 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 ;-)

Cheers,
Adam.


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