This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: equivalent of LD_LIBRARY_PATH to specify header file locations
On Mon, Apr 20, 2009 at 3:26 PM, Ian Lance Taylor <iant@google.com> wrote:
> 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
>
Thanks. I searched in the manual for LD_LIBRARY_PATH (no hits). Did
not know what else to search for.
raju