autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking for GCC 4


From: Ralf Corsepius
Subject: Re: Checking for GCC 4
Date: Fri, 03 Feb 2006 11:30:03 +0100

On Fri, 2006-02-03 at 09:56 +0000, Harlan Stenn wrote:
> > > And I'm not sure which is more fragile, user input or coded checks.

> I don't see a significant difference between something that (apparently)
> works that is based on a version number check, an OS version check, or a
> feature test.
Grumble: The point is: GCC version checks are a broken concept and will
never work, primarily because version strings are subject to change at
any time (GCC vendors are supposed to modify them!), so any GCC version
string pattern match will always fail at some time.

The essential difference to target tuples is: Target tuples are de-facto
standardized (by config.guess and config.sub) and unlike GCC version
strings can't easily be changed (Remember the linux-gnu vs. linux vs.
linux-libc* madness).

Ralf








reply via email to

[Prev in Thread] Current Thread [Next in Thread]