[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 10:20:12 +0100 |
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
- Re: Checking for GCC 4, (continued)
- Re: Checking for GCC 4, Harlan Stenn, 2006/02/02
- Re: Checking for GCC 4, Ralf Corsepius, 2006/02/02
- Re: Checking for GCC 4, Harlan Stenn, 2006/02/02
- Re: Checking for GCC 4, Paul Smith, 2006/02/03
- Re: Checking for GCC 4, Ralf Corsepius, 2006/02/03
- Re: Checking for GCC 4, Harlan Stenn, 2006/02/03
- Re: Checking for GCC 4, Ralf Corsepius, 2006/02/03
- Re: Checking for GCC 4, Harlan Stenn, 2006/02/03
- Re: Checking for GCC 4, Ralf Corsepius, 2006/02/03
- Re: Checking for GCC 4, Harlan Stenn, 2006/02/03
- Re: Checking for GCC 4,
Ralf Corsepius <=
- Re: Checking for GCC 4, Harlan Stenn, 2006/02/03
- Re: Checking for GCC 4, Ralf Corsepius, 2006/02/03
- Re: Checking for GCC 4, Erik de Castro Lopo, 2006/02/03
- Re: Checking for GCC 4, Ralf Corsepius, 2006/02/03
- Re: Checking for GCC 4, Erik de Castro Lopo, 2006/02/03
Re: Checking for GCC 4, Ralf Wildenhues, 2006/02/03