autoconf
[Top][All Lists]
Advanced

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

Re: Why does c++ use CFLAGS and not


From: Thomas E. Dickey
Subject: Re: Why does c++ use CFLAGS and not
Date: Fri, 19 Apr 2002 07:50:29 -0400 (EDT)

On Fri, 19 Apr 2002, Andreas Schwab wrote:

> "Dr. David Kirkby" <address@hidden> writes:
>
> |> I've got a test is a configure.in which sets CPPFLAGS to what I want, by 
> calling
> |> an external programme wx-config.
> |>
> |> CPPFLAGS=$CPPFLAGS `wx-config --cflags`
>
> You should use CXXFLAGS for C++.

CXXFLAGS and CFLAGS are respectively compiler-specific flags, while
CPPFLAGS applies to the preprocessor (for most uses that could be applied
to either).

-- 
T.E.Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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