Message: previous - next
Month: January 2012

Re: [trinity-devel] Need help: cmake/pkgconfig breakage?

From: Bruce Dubbs <bruce.dubbs@...>
Date: Thu, 19 Jan 2012 18:10:25 -0600
Darrell Anderson wrote:
> I am now doing that. :)
>> Seriously, I'm not sure why you set that variable.  I never heard
>> of it before, and usually the safest way to get includes added to 
>> the compiler flags is via CXXFLAGS and CFLAGS.
> Long ago in a galaxy far away, when I first joined the project, I
> noticed the variable being set in the /etc/profile.d/ script
> that came with the Slackware qt3 package. I presumed the variable was
> important. 

CPLUS_INCLUDE_PATH is an integral part of gcc, specifically g++.
See the man page.

> Of course, that script is for run time and not for
> compiling. 

Then CPLUS_INCLUDE_PATH doesn't mean anything.

   -- Bruce