[lkml]   [2000]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: recommended gcc compiler version
Robert B. Easter wrote:
> This is a newbie question, but what are the recommended gcc compiler versions
> for compiling,

This is discussed in the Documentation/Changes file, in a given kernel's
source. Brief summaries follow (which assume you're using an x86 CPU).

> Linux 2.2.18?

gcc is safest, but egcs 1.1.2 should be safe even for
mission-critical stuff. gcc 2.95.2 seems to work for many people, but
isn't necessarily safe.

> Linux 2.4.0?

egcs 1.1.2 is the safe choice, but gcc 2.95.2 seems to work. gcc
miscompiles 2.4 more often than not, so 2.4 has a preprocessor check that
stops any attempts to compile it with

-Barry K. Nathan <>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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