egcs and Linux kernels

Zack Weinberg zack@rabi.columbia.edu
Wed Mar 10 07:27:00 GMT 1999


On Wed, 10 Mar 1999 16:12:50 +0100 (CET), Gerald Pfeifer wrote:
>As I'm not a Linux expert, could someone please help with a FAQ entry
>concerning egcs and Linux kernels?
>
> o Specifically, which version/release of Linux works with which
>   version/release of egcs?
>
> o Even more specifically, how is the situation between egcs 1.1.2 and
>   Linux 2.2.x kernels?

My understanding, which should be confirmed by someone else, such as
Bernd Schmidt:

- 2.0.x and prior kernels should only be compiled with gcc 2.7.x.
- 2.2.x is expected to work with any version of egcs.

- gcc 2.8.1 and egcs (all released versions) may silently generate bad
code for the incorrect asm constructs in old kernels 
- egcs development snapshots will error out rather than accept them.

I'm typing this on a box running 2.2.1 compiled by 1.1.1, which has
had no problems, but it doesn't have any exotic hardware or SMP or
anything.

zw


More information about the Gcc mailing list