This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unreviewed patch needed for vax ultrix build
- To: geoffk at geoffk dot org (Geoff Keating)
- Subject: Re: Unreviewed patch needed for vax ultrix build
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Mon, 15 Jan 2001 18:02:59 -0500 (EST)
- Cc: gcc-patches at gcc dot gnu dot org
> > Could somebody review this patch? I realize it is a hack but I couldn't
> > see any other simple way to reduce the size of the environment used by
> > gcc. It needed for build under ultrix.
> >
> > <http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00620.html>
>
> Why not just not put these variables in the environment in the first place?
The patch patch is removing variables from the environment. These are
unnecessary variables passed from make. It reduces the size of gcc's
environment by about one third. Gcc adds to this environment when it
exec's commands to run the compiler, assembler, etc. Certain link
commands in the bootstrap process exceed the maximum environment size
under ultrix (10240). There is no way to change the system limit.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)