Skip to contentSkip to conversation

kernel compilation: pls send cc to me

DISCUSSION abacus an 3 participants 5 messages Dec 30, 2002

lore
Share & tools
lore

abacus an

author
#0 lore raw

hi,

Up to which versions of the kernel can we compile with GCC 2.95.1.

regards,
abacus development team

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com

#1 lore raw

Well, any of them. The kernel is meant to be very portable anyway. Although I prefer gcc-3.2 myself...

Regards
-Josh

Quoted 16 lines · abacus an

hi,

Up to which versions of the kernel can we compile with GCC 2.95.1.

regards,
abacus development team

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
Quoted 1 line

The kernel is meant to be very portable anyway.

Not really. The kernel is designed to compiled with a specific compiler. A GCC version other than the recommended version might uncover bugs that should be fixed anyway, but it might also break things that are worked around for the recommended GCC version.

John.

#3 lore raw

Oh...
Well, I stand corrected. I never noticed any difference compiling with gcc-2.95 versus compiling with 3.2.

What is the recommended version then?

Regards
Josh

Quoted 8 lines · John Bradford
Quoted 1 line

The kernel is meant to be very portable anyway.

Not really. The kernel is designed to compiled with a specific compiler. A GCC version other than the recommended version might uncover bugs that should be fixed anyway, but it might also break things that are worked around for the recommended GCC version.

John.

#4 lore raw
Quoted 4 lines

Well, I stand corrected. I never noticed any difference compiling with gcc-2.95 versus compiling with 3.2.

What is the recommended version then?

Well, as far as I know it's still officially 2.95.3 for both 2.4 and 2.5.

There shouldn't be _major_ problems compiling with 3.2, but it has had far less testing, so something like a filesystem corruption bug could go unnoticed for longer if it wasn't happening with 2.95.3 compiled kernels as well.

John.