🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Bruce Momjian Tue, 02 Jul 1991 16:27
Executable Size of Gnu Chess
#5916
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads