Where did kgcc go in 2.4.0-test10 ?
I've been following this kgcc discussion with interest for weeks now and there's one thing that still puzzles me. Everyone on both sides of the issue seems to be saying that kgcc (AKA egcs 1.1.2) is used because the gcc versions shipped by several vendors don't compile the kernel correctly. What I haven't seen yet is an explanation of why kgcc can't be used for compiling *everything* and why another compiler even needs to be installed. I'm using egcs-1.1.2 with the latest kernel, binutils, modutils, etc. as well as applications like the latest ppp and setiathome with no problems. Instead of using two compilers, why not stay with the older version for everything and not use the latest gcc for anything until both the kernel and userland stuff can be compiled with it?
I'm not trying to fan the flames, just wondering why there's such an apparent rush to upgrade to a newer gcc. Everyone seems to be taking it for granted that an upgrade is needed, but there's disagreement on which version to use. Why do we need to upgrade the compiler at all right now?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 2 lines · [email protected] wrote:
What I haven't seen yet is
an explanation of why kgcc can't be used for compiling *everything*
It can. But if we are talking about 2.4.x, I want my kernel built with the improved gcc-2.95.2 -- unless there is a good reason not to do so -- and kgcc is egcs-1.1.2 not gcc-2.95.2 on my system.
Quoted 2 lines
and why
another compiler even needs to be installed.
Cuz the kernel should not dictate the compiler choice for the entire distro.
Signature · 8 lines
Jeff Garzik | "Mind if I drive?" -Sam
Building 1024 | "Not if you don't mind me clawing at the
MandrakeSoft | dash and shrieking like a cheerleader."
| -Max
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/Quoted 3 lines
ppp and setiathome with no problems. Instead of using two compilers, why not stay with the older version for everything and not use the latest gcc for anything until both the kernel and userland stuff can be compiled with it?
egcs-1.1.2 is a reasonable C compiler. It makes a few errors under register pressure and stuff. However its at best 'a C++ subset compiler'. 2.95 is a fair bit better.
Most of these problems are also not the compiler but applications. gcc 2.95 broke a lot of asm using code because the apps were wrong. Without the pain they would simply never get fixed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 6 lines · On Thu, 02 Nov 2000 06:46:04 [email protected] wrote:
I've been following this kgcc discussion with interest for weeks now and there's
one thing that still puzzles me. Everyone on both sides of the issue seems to be saying that kgcc (AKA egcs 1.1.2) is used because the gcc versions shipped
^^^^^^^^^^^^^^^
Wrong assumption. The idea is if I need a way to set a compiler for kernel that is not the same compiler as the system wide one. Should kernel Makefiles use gcc (hardcoded) (and people must have a 'gcc' that works for kernel), or let kernel use something called 'kgcc', and let user decide if in his machine kgcc is 2.7, egcs or 2.95.2.
Quoted 5 lines
by
several vendors don't compile the kernel correctly. What I haven't seen yet is
an explanation of why kgcc can't be used for compiling *everything* and why another compiler even needs to be installed.
Because gcc is not only the C compiler, is the full compiler system. The support for C++ in 2.95 has nothing to do with egcs. And 2.95 supports java, for example.
And the libraries. The C++ standard library is much better in 2.95 that in egcs.
Signature · 6 lines
Juan Antonio Magallon Lacarta mailto:[email protected] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/