Skip to content

Instantly share code, notes, and snippets.

@smirn0v
Created November 3, 2014 16:29
Show Gist options
  • Save smirn0v/af8f103a9c8809d64b62 to your computer and use it in GitHub Desktop.
Save smirn0v/af8f103a9c8809d64b62 to your computer and use it in GitHub Desktop.
c include path
kamaraju kusumanchi <[email protected]> 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment