[Top][All Lists]

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

Re: Disabling optimization

From: Andrew Suffield
Subject: Re: Disabling optimization
Date: Fri, 19 Nov 2004 11:14:49 +0000
User-agent: Mutt/1.5.6+20040907i

On Fri, Nov 19, 2004 at 12:42:43AM -0700, Bob Proulx wrote:
> Bob Friesenhahn wrote:
> > Andrew Suffield wrote:
> > >>>What you're all trying to say is this:
> > >>>
> > >>>CXXFLAGS="-g -O0 ${CXXFLAGS}"
> > >>Nope, this prevents overriding CXXFLAGS from the environment.
> > >
> > >It does not. I do it all the time.
> On HP-UX:
>   aCC -O0
>   aCC: warning 901: unknown option: `-0': use +help for online documentation. 

I don't remember the last time I wrote anything that worked on HP-UX;
it's certainly not a platform I have any interest in supporting. I
mean, geez, next you'll be complaining that it doesn't work on VMS.

If you're going to deal with freakish systems like this, then yes,
you're going to have to go to the lowest-common-denominator. But
that's no reason why those of us not stuck in the 1980s should care.

For any feature you care to consider, ABSOLUTELY ANY FEATURE YOU HAVE
EVER USED, there exists a platform on which it does not work. That
does not mean you should not write any code.

  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' : |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature

reply via email to

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