This is the mail archive of the gcc-patches@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: Patch to remove putenv definition from gcc.c


> There was talk of revising collect2's interface so it didn't use
> environment variables anymore.  If that ever happens, we wouldn't need
> putenv from gcc.c.

That's a good idea because the size of gcc's environment exceeds POSIX
minimums and causes trouble for systems with small ARG_MAX limits.  This
caused exec failures under ultrix in the bootstrap.  The problem was
resolved by hacking gnu make so it didn't export variables by default
and a small change to the gcc Makefile.  However, gcc still exports
too much.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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