This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Environment variable to pass in options?




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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]