On Fri, Nov 19, 2004 at 05:58:58PM +0100, [EMAIL PROTECTED] wrote:
> > "Andrew" == Andrew Suffield <[EMAIL PROTECTED]> writes:
>
> Andrew> Uh, that made no sense at all. Are you saying that you should not
> Andrew> write code, because it's not possible to write code that works on
> Andrew> eve
On Fri, 19 Nov 2004, Andrew Suffield wrote:
All the HP-UX sysadmins I've encountered disagree with you on both
points (although 'dominant OSs of choice for ' can mean just about anything). They generally only use it
because either (a) they can't afford a hardware upgrade, or (b) they
have some weir
> "Andrew" == Andrew Suffield <[EMAIL PROTECTED]> writes:
Andrew> Uh, that made no sense at all. Are you saying that you should not
Andrew> write code, because it's not possible to write code that works on
Andrew> every platform?
>>
>> What he is trying to say (I believe) is that it is not a
On Fri, Nov 19, 2004 at 09:43:30AM -0600, Bob Friesenhahn wrote:
> On Fri, 19 Nov 2004, Andrew Suffield wrote:
> >> 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
On Fri, Nov 19, 2004 at 05:07:48PM +0100, [EMAIL PROTECTED] wrote:
> > "Andrew" == Andrew Suffield <[EMAIL PROTECTED]> writes:
>
> Andrew> On Fri, Nov 19, 2004 at 07:00:43AM -0500, Thomas Dickey wrote:
> >> On Fri, 19 Nov 2004, Andrew Suffield wrote:
> >>
> >> >For any feature you care to con
On Fri, 19 Nov 2004, Bob Friesenhahn wrote:
My software works fine under HP-UX. You software should work under HP-UX as
well.
judging by the clues which google provides, Andrew's scope of experience
is rather limited (hence the disparaging remarks).
--
Thomas E. Dickey
http://invisible-island.n
> "Andrew" == Andrew Suffield <[EMAIL PROTECTED]> writes:
Andrew> On Fri, Nov 19, 2004 at 07:00:43AM -0500, Thomas Dickey wrote:
>> On Fri, 19 Nov 2004, Andrew Suffield wrote:
>>
>> >For any feature you care to consider, ABSOLUTELY ANY FEATURE YOU HAVE
>> >EVER USED, there exists a platform o
On Fri, 19 Nov 2004, Andrew Suffield wrote:
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 t
On Fri, Nov 19, 2004 at 08:49:29AM -0500, Thomas Dickey wrote:
> On Fri, 19 Nov 2004, Andrew Suffield wrote:
>
> >Uh, that made no sense at all. Are you saying that you should not
> >write code, because it's not possible to write code that works on
> >every platform?
>
> That was the message one
On Fri, Nov 19, 2004 at 07:00:43AM -0500, Thomas Dickey wrote:
> On Fri, 19 Nov 2004, Andrew Suffield wrote:
>
> >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 co
On Fri, 19 Nov 2004, Andrew Suffield wrote:
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.
Perhaps you don't choose to do good work, but don't try to persuade other
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
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:
"Thomas 'Tom' R. Treadway III" <[EMAIL PROTECTED]> writes:
> CXXFLAGS="`echo $CXXFLAGS | sed -e 's|-O2||'`"
This assumes that CXXFLAGS does not contain "-frob-O2any".
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key
CXXFLAGS="`echo $CXXFLAGS | sed -e 's|-O2||'`"
On Nov 18, 2004, at 1:44 PM, Bob Friesenhahn wrote:
On Thu, 18 Nov 2004, 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
On Thu, 18 Nov 2004, Andrew Suffield wrote:
On Thu, Nov 18, 2004 at 03:44:46PM -0600, Bob Friesenhahn wrote:
On Thu, 18 Nov 2004, 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
On Thu, Nov 18, 2004 at 03:44:46PM -0600, Bob Friesenhahn wrote:
> On Thu, 18 Nov 2004, 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 t
On Thu, 18 Nov 2004, 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.
How does the user portably remove/override the -g and -O0 options? It
seems that you ar
On Thu, Nov 18, 2004 at 01:42:39PM +0100, Ralf Corsepius wrote:
> On Thu, 2004-11-18 at 11:56 +, Andrew Suffield wrote:
> > On Thu, Nov 18, 2004 at 12:41:37PM +0100, Ralf Corsepius wrote:
> > > On Thu, 2004-11-18 at 11:55 +0100, Andreas Schwab wrote:
> > > > Stepan Kasal <[EMAIL PROTECTED]> wri
On Thu, 2004-11-18 at 14:04 +0100, Stepan Kasal wrote:
[snip]
> But my question was whether there was a reason for setting the variable
> _after_ AC_PROG_CXX, as the original suggestion proposed.
In retrospect, I can't think of one.
--
Braden McDaniel e-mail: <[EMAIL
Hello,
> On Thu, 2004-11-18 at 11:55 +0100, Andreas Schwab wrote:
> > Stepan Kasal <[EMAIL PROTECTED]> writes:
> > > if test -n "${CXXFLAGS}"; then
> > > CXXFLAGS="-g"
> > > fi
> > > AC_PROG_CXX
> >
> > I think you got it backwards. This makes it impossible to o
On Thu, 2004-11-18 at 11:56 +, Andrew Suffield wrote:
> On Thu, Nov 18, 2004 at 12:41:37PM +0100, Ralf Corsepius wrote:
> > On Thu, 2004-11-18 at 11:55 +0100, Andreas Schwab wrote:
> > > Stepan Kasal <[EMAIL PROTECTED]> writes:
> > >
> > > > out of curiosity, what would be wrong with the follo
On Thu, Nov 18, 2004 at 12:41:37PM +0100, Ralf Corsepius wrote:
> On Thu, 2004-11-18 at 11:55 +0100, Andreas Schwab wrote:
> > Stepan Kasal <[EMAIL PROTECTED]> writes:
> >
> > > out of curiosity, what would be wrong with the following?
> > >
> > > if test -n "${CXXFLAGS}"; then
> > >
On Thu, 2004-11-18 at 11:55 +0100, Andreas Schwab wrote:
> Stepan Kasal <[EMAIL PROTECTED]> writes:
>
> > out of curiosity, what would be wrong with the following?
> >
> > if test -n "${CXXFLAGS}"; then
> > CXXFLAGS="-g"
> > fi
> > AC_PROG_CXX
>
> I think you got
Stepan Kasal <[EMAIL PROTECTED]> writes:
> out of curiosity, what would be wrong with the following?
>
> if test -n "${CXXFLAGS}"; then
> CXXFLAGS="-g"
> fi
> AC_PROG_CXX
I think you got it backwards. This makes it impossible to override
CXXFLAGS.
Andreas.
--
Hello,
On Wed, Nov 17, 2004 at 08:01:45PM -0500, Braden McDaniel wrote:
> if test -n "${CXXFLAGS}"; then
> user_set_cxxflags=yes
> fi
> AC_PROG_CXX
> if test X$user_set_cxxflags != Xyes; then
> CXXFLAGS="-g"
> fi
out of curiosity, what w
On Wed, 2004-11-17 at 18:48 -0500, Jonathan wrote:
> My autoconf/automake project is optimizing by default with "-g -O2".
> Unfortunately, we have verified that this is causing a run-time error
> by overriding CXXFLAGS in Makefile.am with just "-g". With the "-O2"
> flag removed, everything works
How do I disable the "-O2" flag in the most portable way possible?
I am just learning, I am no authority. But, I would do it at configure time:
'CXXFLAGS=-O0' 'CFLAGS=-O0'
If you have some *file* that needs some specific flag, you could set it
in your Makefile.am. I think it would be something li
My autoconf/automake project is optimizing by default with "-g -O2".
Unfortunately, we have verified that this is causing a run-time error
by overriding CXXFLAGS in Makefile.am with just "-g". With the "-O2"
flag removed, everything works great.
I have been trying to find out where this "-O2" is
29 matches
Mail list logo