Boost logo

Boost-Build :

Subject: Re: [Boost-build] gcc: options specific to C compilation
From: Ryo IGARASHI (rigarash_at_[hidden])
Date: 2008-11-09 03:02:08


Hi,

FYI, on *nix systems (especially autotools), there is name conventions:

CFLAGS: options for C compiler
CXXFLAGS: options for C++ compiler
CPPFLAGS: options for C preprocessor
FFLAGS: options for Fortran compiler
LDFLAGS: options for linker
LDADD: libraries to link

(see http://www.gnu.org/software/automake/manual/html_node/Program-and-Library-Variables.html
for more)

So, from autotools user's point of view, I prefer 'cxxflags' for c++
only options.

-- 
Ryo IGARASHI
rigarash_at_[hidden]

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk