Messages in this thread |  | | Date | Wed, 25 Oct 2000 13:18:00 -0400 | From | Paul Gortmaker <> | Subject | Re: [PATCH] 2.4 Changes update (was Re: [patch] kernel/module.c) |
| |
Andrew Morton wrote:
> But all the documentation has for years been saying that > 2.7.2.3 is the one true compiler, so we are now in for 12 > months worth of bogus oops reports. > > This patch will help: > > --- linux-2.4.0-test10-pre5/arch/i386/kernel/setup.c Tue Oct 24 [...] > + > +#if (__GNUC__ < 2) || (__GNUC__ == 2 && __GNUC_MINOR__ < 91) > +#error Linux requires gcc-2.91.66 (egcs-1.1.2) or later > +#endif > +
Actually there is already such a test in init/main.c like this - just update the numbers. I put it there quite a few years back when gcc-2.5.8 was finally declared too dain-bramaged to use.
[init/main.c gets hit early on - you didn't want to spend hours on an i386sx generating garbage object files only to be told near the end of doing it...]
Paul.
__________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |