Patch to remove putenv definition from gcc.c
John David Anglin
dave@hiauly1.hia.nrc.ca
Wed Mar 28 14:33:00 GMT 2001
> 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)
More information about the Gcc-patches
mailing list