LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] how does a gcc version effect the kernel build ?

[ILUG] how does a gcc version effect the kernel build ?

John Moran arronax at eircom.net
Sat Jul 6 00:16:09 IST 2002


One thing RedHat neglect to mention is that GCC 2.96 is a development
tree, not a stable tree, and the GCC maintainers recommend that it not
be used on a production system, same as a development kernel shouldn't
be used on a production system.

However, you should only get problems if you're trying to copy the
binaries to a system compiled with a compiler with a different major or
minor version number, but not a patchlevel difference.

Also, as the link below says, you'll only have problems with C++ code,
which AFAIK, the kernel doesn't contain.

John

PS: according to the most recent kernel changes file, the supported
compilers for the kernel are 2.95.3, 2.95.4 (recommended), RedHat gcc
2.96-74 or later (less stable), gcc 3.0.x (may cause problems) - no
other compilers are known to work.


-----Original Message-----
From: ilug-admin at linux.ie [mailto:ilug-admin at linux.ie] On Behalf Of
Brian O'Donoghue
Sent: 05 July 2002 14:40
To: 'ilug at linux.ie'
Subject: RE: [ILUG] how does a gcc version effect the kernel build ?


[Here's a link on the supposedly-but-not-actually broken GCC shipped
with RedHat, which among other things gives you some nice tips about
correctly coding in C: http://www.redhat.com/advice/speaks_gcc.html]


The question remains... why upgrade your compiler just to compile the
sources from an SRPM, perhaps I'm attempting feigned elitism, but is
that not like using an elephant gun for a mouse?  Why not make life easy
and just get the kernel sources from ftp.kernel.org and apply any
patches you want to that source instead of upgrading the compiler on a
development server?

Bod

--
Irish Linux Users' Group: ilug at linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
information. List maintainer: listmaster at linux.ie






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell