[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' f
From: |
Chris Pickett |
Subject: |
Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc? |
Date: |
Tue, 4 Apr 2006 12:30:35 -0400 (EDT) |
User-agent: |
SquirrelMail/1.5.1 [CVS] |
On Tue, April 4, 2006 12:12 pm, Chris Pickett wrote:
> Ok, two things. First, the Automake manual does describe in some detail
> setting CFLAGS (and CPPFLAGS, and so on); see the FAQ entry at the end
> about the ordering differences.
Just to be clear, I mean this:
"What we recommend is that you define extra flags in separate variables.
For instance, you may write an Autoconf macro that computes a set of
warning options for the C compiler, and AC_SUBST them in WARNINGCFLAGS;
you may also have an Autoconf macro that determines which compiler and
which linker flags should be used to link with library libfoo, and
AC_SUBST these in LIBFOOCFLAGS and LIBFOOLDFLAGS."
which is exactly what I am doing.
Cheers,
Chris
- configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Peter Volkov, 2006/04/02
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Ralf Corsepius, 2006/04/02
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Chris Pickett, 2006/04/02
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Peter Volkov, 2006/04/02
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Ed Hartnett, 2006/04/04
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Ralf Corsepius, 2006/04/04
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Chris Pickett, 2006/04/04
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?,
Chris Pickett <=
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Ralf Corsepius, 2006/04/04
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Chris Pickett, 2006/04/04
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Jacob Meuser, 2006/04/05
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Chris Pickett, 2006/04/05
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Ralf Wildenhues, 2006/04/05
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Chris Pickett, 2006/04/05
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Ralf Wildenhues, 2006/04/05
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Ed Hartnett, 2006/04/04
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Jacob Meuser, 2006/04/05
- Re: configure sets CFLAGS or how to disable default CFLAGS='-g -O2' for gcc?, Ralf Corsepius, 2006/04/07