I’m trying to compile a file which includes cxxabi.h, located in /usr/include/c++/3.4.3. This directory does not seem to be in the default include path of pgCC.
If I explicitly add the necessary directory to the search path with -I, it is added to the search path before the header shipped with pgCC.
Is there a way to append this directory to the default pgCC search path?
FYI, to add a default include path to pgCC, you would add the following line to the “siterc” file located in the PGI bin directory or to “.mypgcpprc” file in your home directory. Adding it to “siterc” would effect all users while adding it to “.mypgcpprc” would only effect your compilations.