equivalent of LD_LIBRARY_PATH to specify header file locations

Ian Lance Taylor iant@google.com
Mon Apr 20 19:26:00 GMT 2009


kamaraju kusumanchi <raju.mailinglists@gmail.com> writes:

> Instead of using -L, I frequently use LD_LIBRARY_PATH to specify the
> location of the libraries.
> Is there a similar environment variable for specifying the location of
> the header files? Normally I use -I option for this, but I am looking
> for an equivalent environment variable.

C_INCLUDE_PATH is documented in the user manual:
http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/Environment-Variables.html .

Ian



More information about the Gcc-help mailing list