Skip to contentSkip to conversation

safest verion of gcc to use?

DISCUSSION kelley eicher 3 participants 3 messages Jan 17, 2002

lore
Share & tools
lore
#0 lore raw

hi,

quick question here. [kernel-src]/Documentation/Changes and [kernel-src]/README say two different things about which version of gcc is recommended for the compiling of the linux kernel. README says egcs 1.1.2 and Documentation/Changes says to use gcc 2.95.3 or greater. is the last egcs release still the preferred or has that changed to the gcc 2.95.x releases?

i assume that README is outdated and should not mention a version of gcc at all for compilation of the src. it seems that README instructs the user to refer to Documentation/Changes for the latest info but makes it confusing by stating, "Make sure you have gcc-2.91.66 (egcs-1.1.2) available."

-kelley

Quoted 1 line
Quoted 1 line

kelley j eicher

<< UNIX architect

Quoted 1 line
Quoted 1 line

Univ. of MN Astronomy Dept.

<< ph: (612) 626-2067 or (612) 624-3589

Quoted 1 line
Quoted 1 line

fx: (612) 626-2029

<< office: 385 physics

Quoted 1 line
Quoted 1 line

carde at astro dot umn dot edu

#1 lore raw
Quoted 6 lines · kelley eicher

quick question here. [kernel-src]/Documentation/Changes and [kernel-src]/README say two different things about which version of gcc is recommended for the compiling of the linux kernel. README says egcs 1.1.2 and Documentation/Changes says to use gcc 2.95.3 or greater. is the last egcs release still the preferred or has that changed to the gcc 2.95.x releases?

Yes, Documentation/Changes is more correct. For i386, 2.95.[34] and 2.96-[>=85] work fine. GCC 3.0.3 should work too, though some drivers have had difficulties and earlier 3.x releases generated some ICE's. Other architectures may vary.

./README and ./Documentation/Changes need some trimming...

Regards,
Reid

#2 lore raw
In reply to kelley eicher
Quoted 4 lines

Yes, Documentation/Changes is more correct. For i386, 2.95.[34] and 2.96-[>=85] work fine. GCC 3.0.3 should work too, though some drivers have had difficulties and earlier 3.x releases generated some ICE's. Other architectures may vary.

IMO, gcc 3.0.3 shouldn't be used (atleast on alpha platforms). I tried it and I got nothing but ecc errors all over the console

Signature · 1 line
 Lab tests show that use of micro$oft causes cancer in lab animals