RFC: #pragma optimization_level

Marcin Dalecki martin@dalecki.de
Tue Apr 5 11:26:00 GMT 2005


On 2005-04-05, at 01:28, Nix wrote:

> On 4 Apr 2005, Marcin Dalecki stipulated:
>> I don't agree with the argument presented by Geert Bosch. It's even 
>> more difficult to
>> muddle through the atrocities of autoconf/automake to find the places 
>> where compiler
>> switches get set in huge software projects
>
> What's so hard about
>
> find . \( -name 'configure.*' -o -name Makefile.am \) -print | xargs 
> grep CFLAGS
>
> anyway?

Tha fact the you actually *seldomly* have the precise version
of autoconf/automake/perl/gawk installed on the host you wont to 
reproduce the
THRE stages to get a hand and Makefile.

I could turn the question back: What's so hard about grepping the 
source?

> I think this is a straw man. Manipulating CFLAGS is just *not that
> hard*.

In practice it IS.

>  A few minutes will suffice for all but the most ludicrously
> byzantine project (and I'm not talking `uses automake', here, I'm
> talking `generates C code in order to compute CFLAGS to use when
> compiling other code'.)

Thus by your definition most projects are byzantine. glibc, tetex ans 
so on...



More information about the Gcc mailing list