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: Weiwen Liu <liu at hepvms dot physics dot yale dot edu>
- Date: Sun, 07 Dec 1997 18:26:22 -0500 (EST)
- Cc: egcs at cygnus dot com
On Sun, 7 Dec 1997, Louis Marascio wrote:
> Is there an environment variable that can be set that will pass command line
> options to the compiler? I know that that HP compiler aCC has a CXXOPTS that
> you can set which will pass options to the compiler and place them at the
> begining or end of the command line. The passing is transparent and does not
> show up on the actual command line as well, which is why I want to do this. I
> have an extremely large set of include directories which I would like to be
> able to consolidate in an environment variable to reduce the clutter on my
> screen when compiling. Thanks for any help ...
>
> - - - - -
> Louis R. Marascio A.K.A Louis Armistead and Jim McCraken
> Email: lmarasci@stevens-tech.edu "We have plenty of psychological abuse
> ICQ: 4270107 in stock" -- Ripped from jsm
>
You might have a look at CPATH, C_INCLUDE_PATH, CPLUS_INCLUDE_PATH
environment variables in the info file.