Skip to contentSkip to conversation

Which gcc version?

DISCUSSION RaúlNúñez de Arenas Coronado 3 participants 3 messages Nov 23, 2001

lore
Share & tools
lore
#0 lore raw
    Hi Roy :)))
Quoted 1 line

Which one should I use to compile the kernel?

Dunno about RH, but I compile the kernel using gcc-3.0.1 and
works fine. Well, take into account that this is NOT the recommended choice, since gcc 3.x series is not considered stable for the kernel.

Anyway, I'm tired to having a compiler for binaries, another
compiler for the kernel, another one for libraries, etc... and I compile all using gcc 3.0.1.

Sooner or later the kernel will need to be ported to gcc 3.x
series, so, the sooner it gets tested with this compiler, the better.

Anyway, if you have gcc 2.95.x installed onto your distro, use
that for the kernel for maximum stability.

My compiled kernel works with gcc 3.x but it's a kernel with no
so many drivers. I don't know what kind of weird things can happen with a heluvalota drivers kernel.

Ra�l

#1 lore raw
Quoted 2 lines · On Fri, 23 Nov 2001, [ISO-8859-1] Ra�l[ISO-8859-1] N��ez de Arenas Coronado…

Sooner or later the kernel will need to be ported to gcc 3.x
series, so, the sooner it gets tested with this compiler, the better.

One of the regression tests for gcc is to compile *a* Linux kernel, although I have no clue which kernel they use, or if they just haul down the latest one from the Internet.

Quoted 2 lines

Anyway, if you have gcc 2.95.x installed onto your distro, use
that for the kernel for maximum stability.

I haven't seen it on RH 7.x; I had to download and install it separately. And it is a *royal* pain to get all the symbols/paths/libraries, etc., correct if you want to use *anything* other than the default compiler/libraries/binutils with Red Hat. One would need extreme motivation and extreme care.

For you (fellow) Athlon geeks, 2.95.x generates better code than either 2.96.x or 3.0.x on the Atlas high-speed numerical linear algebra library. The reverse is true for IA64; 3.0.x is about the only thing that generates decent code. If that's motivating enough, have at it. YMMV.
--
[email protected] (M. Edward Borasky) http://www.aracnet.com/~znmeb
Relax! Run Your Own Brain with Neuro-Semantics!
http://www.aracnet.com/~znmeb/Flyer.htm

When puns are outlawed, only inlaws will have gnus.

#2 lore raw

Dixitur de M. Edward (Ed) Borasky respondebo ad:

Quoted 8 lines · On Fri, 23 Nov 2001, [ISO-8859-1] Ra?l[ISO-8859-1] N??ez de Arenas Coronado…
Quoted 3 lines

Sooner or later the kernel will need to be ported to gcc 3.x
series, so, the sooner it gets tested with this compiler, the better.

One of the regression tests for gcc is to compile *a* Linux kernel, although I have no clue which kernel they use, or if they just haul down the latest one from the Internet.

It's one of the 2.2 series IIRC. Go http://gcc.gnu.org/

Quoted 2 lines
Quoted 2 lines

Anyway, if you have gcc 2.95.x installed onto your distro, use
that for the kernel for maximum stability.

I've run 2.4.3-ac7 plus andrea's rwsem, compiled on a gcc-3 beta of April 2001, since then (not in 24/7 though) with _no_ problems.

-mirabilos

Signature · 4 lines
| This message body is covered by Germanic and International | OpenBSD30
| Copyright law. Modification of any kind and redistribution | centericq
| via AOL or the Microsoft network are strictly prohibited!! | UIN seems
| Scientific-style quotation permitted if due credits given. | 132315236