CPATH versus -I

Michael Dickens michaelld at macports.org
Fri Jun 18 08:30:10 PDT 2010


Thanks for the replies.  So, if I understand correctly, the header
search path ordering should be:

-I, build-in-to-compiler, CPATH, -isystem, C_INCLUDE_PATH

It seems like for most ports, then, that all extra search paths should
be included in the CPATH, with no external paths coming from -I in order
to give priority to internally-to-this-port-used -I paths.  Given the
above, I think ticket #25321 is a high priority to get fixed (and have
modified it to reflect my belief). - MLD


More information about the macports-dev mailing list