Environment variable to pass in options?
Weiwen Liu
liu@hepvms.physics.yale.edu
Sun Dec 7 15:26:00 GMT 1997
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.
More information about the Gcc
mailing list