Compiler of choice

[email protected] (Geert Stappers) Mon, 5 Dec 2005 20:40:08 +0100
Newsgroups gmane.network.etherboot.devel
Message-ID <[email protected]>
On Mon, Dec 05, 2005 at 06:34:17AM -0500, Marty Connor wrote:
> On Dec 1, 2005, at 4:45 PM, Geert Stappers wrote:
 <snip> compiler error </snip>
> >What should I do to get a clean compile?
> 
> For now, use GCC 3.x.  GCC 4 is quite new, and it will take a little  
> work to figure out what changes we need to be compatible with it.
> Things may change with it for a while, and I suspect the kernel  
> hackers are still using GCC 3.
> 
> If you want to help figure it out, check the release notes, and see  
> what major changes have been made since 3.x, both to command flags  
> and C language semantics.
> 
> We've been through this before going from GCC 2.x to 3.x, and there  
> are mechanisms in the Makefile system to detect the compiler version  
> and choose options based on compiler version.
> 
> As for the compilation errors, it is probably the case that they got  
> stricter in how certain declarations are interpreted.
> 
> If you want to figure out how to make Etherboot 5.4.x work with it  
> (and probably a new ld), by all means, go ahead. I recommend not  
> getting too excited over version 4.0.x though, it will probably be a  
> while before it stabilizes to the point where we can rely on it.


I see the challenge,
 especial because it is way above my current capabillity  :-)


My proposal is to document that Etherboot-5.4 needs gcc-3.x
and to get Etherboot-5.5 working with gcc-4.0.

That is based on my information that eb5.5 has a revisited build system.


GSt
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFDlJeYOSINbgwa/7sRApzEAKCKZkLRDlV0/40CroM9vnzLrB9NvQCeL3kz
0nQu3xezbgxRzwIOzs8fdas=
=GiGF
-----END PGP SIGNATURE-----