Hello Dan, * Dan Smithers wrote on Wed, Sep 09, 2009 at 05:12:46PM CEST: > Should the C++ compiler use the CFLAGS passed into automake? or do I > need to manually include them in CXXFLAGS?
Neither. At least if you are a package author, then you shouldn't pass CFLAGS to the C++ compiler nor CXXFLAGS to the C compiler. The user ought to be able to choose different compilers (even from different vendors) for each; also, there are compiler suites where the C and the C++ compiler have a different supported option set. CPPFLAGS are passed to both compilers, however, as they both make use of the preprocessor. Cheers, Ralf
