🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52925

Re: Building gcc --- how much transient disk space?

#52925
From: Vince Tessier
Date: Tue, 21 Apr 1992 00:38
31 lines
2028 bytes
bruno@thunder.mcrcim.mcgill.edu (Bruno Hall) writes:

>==> How much disk space is required to build the beastie?

I managed to get it over 70M one time, but that was partially because
I built an extra stage.  Following the steps in the INSTALL doc, you'll
wind up with some extra stuff, but you pretty much have to keep some
stuff around while bootstrapping.  Here are a few things you can do 
to cut down on occupied space:

1) When you get to step #8 in INSTALL, see if you can put the stage 1
   files somewhere else besides a subdir of the current dir; on another
   filesystem on another drive, maybe a subdir of /tmp (?).  See the
   Makefile under 'stage1:' (near the end of Makefile) to change where
   these intermediate files go.

2) After you've build the stage 2 compiler in INSTALL step #9 (if you
   can get this far), the stage 1 files are junk -- they're the gcc
   built with your machine's native cc.  Before you run the test pass
   of building the stage 3 compiler, you can zap the stage 1 files.

3) Don't build all the languages at once.  Specify "LANGUAGES = c"
   for all the build stages, and build c++ and objective-c (if you
   want them) later, after installing the first gcc.

Hope this helps.	-- Vince
-- 
Vince Tessier (vtessier@vela.acs.oakland.edu)

"Mr. Scott, I want everything she's got!  -O2, -lPOSIX, -fstrength-reduce ..."
"Captain, the compiler cannae take much more o' this!"
Technical Details
Message-ID: <14761@vela.acs.oakland.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!m.cs.uiuc.edu!vela!vtessier
References: <1992Apr20.212425.2273@thunder.mcrcim.mcgill.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,c90212943604f525
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-04-20 17:38:04 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!m.cs.uiuc.edu!vela!vtessier
From: vtessier@vela.acs.oakland.edu (Vince Tessier)
Newsgroups: gnu.gcc.help
Subject: Re: Building gcc --- how much transient disk space?
Message-ID: <14761@vela.acs.oakland.edu>
Date: 21 Apr 92 00:38:04 GMT
References: <1992Apr20.212425.2273@thunder.mcrcim.mcgill.edu>
Distribution: usa
Organization: Oakland University, Rochester MI.
Lines: 31