🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #5916

Executable Size of Gnu Chess

#5916
From: Bruce Momjian
Date: Tue, 02 Jul 1991 16:27
15 lines
1302 bytes
I have successfully compiled GNU chess under AT&T 386 Unix SVR3.1 using
GNU gcc 1.39.  My compliments to the developers.

I was wondering why the stripped executable was 1.8 Megs on my machine
(that's using shared librarys, curses version gnuchessn).  The object
file before linking was 1.7 Megs.  My assumption is that the program
defines an array with initializers, then defines many arrays of these arrays.

As 1.8 Megs is a little pricey for my drive ( for a chess program, at
least) my workaround was to compress the executable ( to 78k), and then
when I want to run it, uncompress it to /usr/tmp and run it, and delete
it upon exit.
-- 
Bruce Momjian	|  	830 Blythe Avenue		| home:	(215)853-3000
root@candle	|	Drexel Hill, Pennsylvania 19026	| work: (215)353-9879
Technical Details
Message-ID: <1991Jul2.162757.6403@candle.uucp>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!gvlf3.gvl.unisys.com!lgnp1.ls.com!candle!root

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,b40712bac11238b9,start
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1991-07-02 13:25:20 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!gvlf3.gvl.unisys.com!lgnp1.ls.com!candle!root
From: root@candle.uucp (Bruce Momjian)
Newsgroups: gnu.chess
Subject: Executable Size of Gnu Chess
Message-ID: <1991Jul2.162757.6403@candle.uucp>
Date: 2 Jul 91 16:27:57 GMT
Organization: private system
Lines: 15