This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc environment variables
On Fri, Oct 06, 2000 at 01:39:11AM +0200, Jamie Lokier wrote:
> Alexandre Oliva wrote:
> > > Does anyone know there to find the FULL list of environment variables
> > > that efect the behaviour of gcc,All I found was only a small part of
> > > these.
> >
> > The GCC manual is supposed to cover them. If you find of any
> > variables that affect GCC and are not listed there, please report.
>
> It does not document SUNPRO_DEPENDENCIES which affects CPP. Which, btw,
> is a very useful environment variable whose functionality cannot be
> duplicated by any combination of command line options or other variables.
IIRC, that was officially unsupported for a long time - as you can
guess from the name, it was stuck in for compatibility with Sun's
compiler, and someone wasn't sure it would stay. I'd be happy to take
a patch to document it.
> Really there should be a command line option to do the equivalent.
Your proposal for new, better -M switches has been on my want-to-
implement list for years now. (Anyhow I think it was your proposal.)
But other things keep coming up at higher priority. It should be easy
with the current dependency infrastructure in cpplib; want to have a
shot at it yourself?
zw