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: Unreviewed patch needed for vax ultrix build


> > 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)

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