automake
[Top][All Lists]
Advanced

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

Re: Target-specific CFLAGS


From: Ben Pfaff
Subject: Re: Target-specific CFLAGS
Date: Tue, 24 Feb 2004 15:06:48 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Bob Friesenhahn <address@hidden> writes:

> On Tue, 24 Feb 2004, Ben Pfaff wrote:
>> >
>> > Of course, when my source files are C++ files the _CFLAGS extension does
>> > nothing.  Changing this to _CPPFLAGS fixed the problem.  Duh.
>>
>> You know that CPPFLAGS is for the C preprocessor and CXXFLAGS is
>> for the C++ compiler, right?
>
> This distinction is not entirely correct since CPPFLAGS is normally
> supplied to the C++ compiler as well.  CFLAGS is for the C compiler
> and CXXFLAGS is for the C++ compiler.

Well, yes: C++ uses the C preprocessor.
-- 
Ben Pfaff 
email: address@hidden
web: http://benpfaff.org





reply via email to

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