[PLUG] env variable for include path

patrick.n.fitzgerald.1 pfitzge1@purdue.edu
Mon, 28 Feb 2000 14:25:44 -0500 (EST)


On Mon, 28 Feb 2000, andrew.t.sydelko.1 wrote:

> LD_LIBRARY_PATH is a runtime thing. You should need include files
> when you are running programs...
> 
> > What's the env variable for adding to your include path.  Libs is
> > LD_LIBRARY_PATH and that works all fine and dandy, but I need to get
> > header files to be found too.
> > 

Include files are a compile-time thing. I think that's what you meant.
Using GCC, you can specify alternate include paths using the -I option,
like this: gcc -I/some/other/includedir foo.c
But I don't think you can put that in an environmental variable (because
that would be confusing and strange.)

My $.02,
Patrick Fitzgerald
Official PLUG Videographer and A/V geek
(and Keeper of the Sacred Flame)

--
Gravity is a myth, the Earth sucks.
   --fortune (5)