Re: GGI, EGCS/PGCC, Kernel source

Joe Fouche (jf@ugcs.caltech.edu)
Sun, 22 Feb 1998 18:53:27 -0800


> > 1.) when will the kernel-source be PGCC-ready, i.e., when will those PGCC
> > patches be supplied?
> What patches are those? I've not seen any; I'm running 2.0.33 compiled
> with egcs-1.0.1 and am having no effects (except more speed :-))

As others pointed out, Linux kernels get along quite well with egcs and even
PGCC snapshots (which still exist; only _some_ of the PGCC code has made it into
egcs...).

There are diffs out there which make some simple changes to the Makefiles so
that the compiler is invoked with "-O6 -mpentium" when CONFIG_M586 (or 686)
is defined rather than invoking it with "-O2 -fomit-frame-pointer
-m486 -malign_loops=2...". This is probably what the original poster is
referring to.

I imagine most people using these newer compilers fix this up themselves. It
shouldn't be too difficult to change the flags based on the compiler's version
string, or perhaps whether it accepts "-mpentium" or not, or maybe just a config
option (CONFIG_PENTIUM_GCC or something?).

-- 
    _ ____  Joe Fouche (jf@ugcs.caltech.edu)  
 ___| |---       Deranged College Student    

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu