Re: Nevermind (was: RE: Rob: Setup build Q)

2002-12-02 Thread Robert Collins
On Mon, 2002-12-02 at 16:27, Gary R. Van Sickle wrote:


 make 'CFLAGS=-O0 -g' 'CXXFLAGS=-O0 -g'

Yep. And configuring with that should work too. The Makefile sets
warning flags, not optimisation levels or debug. It does that via
AM_CFLAGS.

Cheers,
Rob
 

-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---



signature.asc
Description: This is a digitally signed message part


Nevermind (was: RE: Rob: Setup build Q)

2002-12-01 Thread Gary R. Van Sickle
  On Sun, Dec 01, 2002 at 10:33:45PM -0600, Gary R. Van Sickle wrote:
  Rob, how do you do debug builds (-O0 -g) with the setup build 
 infrastructure?
  Setting things like 'CFLAGS=-O0 -g' on the configure command line
  don't really
  work, since it looks like you have such values hardcoded in the
  Makefile.am /|
  configure.in's.  Are you simply changing these hardcoded values and
  re-bootstrap.sh'ing?
 
  Doesn't
 
make CFLAGS=-g
 
  work?
 
 No, that doesn't work either.
 

But this does:

make 'CFLAGS=-O0 -g' 'CXXFLAGS=-O0 -g'

And next time I'll remember that CPPFLAGS != CXXFLAGS ;-).

-- 
Gary R. Van Sickle
Brewer.  Patriot.