[PLUG] env variable for include path

Christopher N. Deckard cnd@purdue.edu
Mon, 28 Feb 2000 14:28:59 -0500


Thanks...  Got it figured out finally.  If you set CFLAGS to include your
headers it works.  I knew that LD_LIBRARY_PATH was runtime...

-Chris

"patrick.n.fitzgerald.1" wrote:

> 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)
>
> ____________________________________________________
> The Purdue Linux Users' Group (PLUG) mailing list.
> plug mailing list  -  plug@csociety.purdue.edu
> http://csociety.ecn.purdue.edu/mailman/listinfo/plug

--
----------------------------------------------------------------------
    Christopher N. Deckard      |          Web Technician
        cnd@purdue.edu          |    Engineering Computer Network
     http://triad.dhs.org       |   http://www.ecn.purdue.edu/ECN
----------------------------------------------------------------------