Re: Checking for GCC 4

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

 



On Fri, 2006-02-03 at 07:51 +0000, Harlan Stenn wrote:
> > > > Why on earth would you want to run something conditionally, depending on
> > > > which compilers it had been compiled with?

> > In case of cross-compilation, they are always user-specified input
> > (--host=mytarget), and not automatically detected - This makes a huge
> > difference: User input vs. fragile and error-prone checks.

> And I'm not sure which is more fragile, user input or coded checks.
Best would be functional and safe automatic checks ;)

The worst are semi-thought out automatic checks silently failing and
producing bogus results. A GCC version check definitely from of this
class, due to the reasons I gave in my initial reply.

Ralf




_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux