This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Environment variable to pass in options?
- To: Louis Marascio <lmarasci at stevens-tech dot edu>
- Subject: Re: Environment variable to pass in options?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 07 Dec 1997 22:24:59 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <XFMail.971207233249.lmarasci@stevens-tech.edu>you write:
> >Sounds reasonable. Why don't you try to put one into your environment
> >from the shell, then trying to compile a simple program which includes
> >something from that dir. Start simple to make sure the basic feature
> >works, then look at the bigger problem.
Quite odd since C_INCLUDE_PATH and CPLUS_INCLUDE_PATH seem to work
just fine for me.
Add "-v" to the compile line in your example and see what cpp prints
as its include path.
jeff