lkml.org 
[lkml]   [2000]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectWhich compiler to use?
Sorry for the broken references - I read l-k through Kernel Traffic.

> At one point someone asked what the recommended compiler was for all the
> various kernel versions, and Peter Samuelson [*] listed:
>
> 2.91.66 aka egcs 1.1.2. It has been officially blessed for 2.4 and has
> been given an informal thumbs-up by Alan for 2.2. (It does NOT work for
> 2.0, if you still care about that.)
>
> 2.7.2.3 works for 2.2 (and 2.0) but NOT for 2.4.
>
> 2.95.2 seems to work with both 2.2 and 2.4 (no known bugs, AFAIK) and
> many of us use it, but it is a little riskier than egcs.
>
> Red Hat "2.96" or CVS 2.97 will probably break any known kernel.

Please note that 2.91.66 WILL NOT correctly build any bit of 2.4 (or
probably 2.2) on i386 that uses the kernel version of strstr, because of a
register allocation bug. This currently affects the DEPCA driver, but very
few other things.

2.95.2 is OK in this instance and elsewhere for me (YMMV).

Whether this means we should change the recommended compiler version, or
get rid of the use of (or change) the in-kernel strstr is a subject left
open for debate.

--
Peter Denison <peterd@pnd-pc.demon.co.uk>
Linux Driver for Promise DC4030VL cards.
See http://www.pnd-pc.demon.co.uk/promise/promise.html for details


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.041 / U:1.460 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site