linux-mips
[Top] [All Lists]

Re: Cross Compiler again

To: Andre.Messerschmidt@infineon.com
Subject: Re: Cross Compiler again
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Mon, 26 Nov 2001 22:28:55 +1100
Cc: linux-mips@oss.sgi.com
In-reply-to: <86048F07C015D311864100902760F1DD01B5E3DA@dlfw003a.dus.infineon.com>; from Andre.Messerschmidt@infineon.com on Thu, Nov 22, 2001 at 06:13:46PM +0100
References: <86048F07C015D311864100902760F1DD01B5E3DA@dlfw003a.dus.infineon.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Thu, Nov 22, 2001 at 06:13:46PM +0100, Andre.Messerschmidt@infineon.com 
wrote:

> > I regularly use gcc 3.0.1 to build the latest oss cvs kernels without
> > obvious incident.
> > 
> I am using a 2.4.2 Kernel from Montavista, which is not working with gcc
> 3.0.1.

General rule for the kernel is don't use gcc 3.x.  It's not only buggier
than the older compilers, it also produces worse code.  In particular it's
know to misscompile certain drivers on other architectures.  I'm still
using egcs 1.1.2 which is known to be a very solid compiler.  That may seem
to be a bit overly conservative to some; for those I recommend a compiler
derived from 2.95.3.

> Maybe it would be wise to upgrade. Does anybody know if there are any
> problems using a MIPS 5Kc with the current kernel?

Nothing that's known.

  Ralf

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