lkml.org 
[lkml]   [2003]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: compile-time error in 2.6.0-test9
On Sunday 26 Oktober 2003 at 11:35 uur Bill Yerazunis wrote:

> What's the recommended version of GCC these days?

According to Documentation/Changes the 'bottomline' gcc (at least on
i386) is gcc 2.95.3 but 2.95.4 from Debian or 2.96 from RedHat and
Mandrake should be alright. A problem is that they are no longer
actively maintained so bugs aren't fixed. :-(

Just recently gcc 3.3.2 was released, so that or the latest from one's
distribution is 'current' and should work fine. Be warned though that
although they produce better code (and even that is sometimes disputed!)
and give better warnings, compilation is a lot slower.

The Linux kernel has a lot of handcrafted optimised code, so no gcc
version is going to outsmart that easily anyway, and also very important
is the amount of testing a kernel gets. Better a somewhat less optimal
compiler but which has had a lot of testing, and so has it bugs known
and 'workarounded', than a potential 'flyer' with unknown new bugs.

But for userspace applications I'd recommend gcc 3.x wholeheartedly,
for g++ especially.
--
Marco Roeland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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