Mail Archives: djgpp/2004/11/05/07:01:51
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
Date: | Fri, 05 Nov 2004 12:54:37 +0100
|
From: | Manuel Collado <m DOT collado AT aaron DOT ls DOT fi DOT upm DOT es>
|
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
|
X-Accept-Language: | en-us, en
|
MIME-Version: | 1.0
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Reducing size of executables in binary distributions
|
NNTP-Posting-Host: | 138.100.10.20
|
Message-ID: | <418b6a02@news.upm.es>
|
X-Trace: | 5 Nov 2004 12:54:42 +0100, 138.100.10.20
|
Lines: | 29
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Is there a recommended practice for reducing the size of executables in
binary distributions of utilities compiled with DJGPP?
I'm aware of 'strip', but it does a small size reduction, and seems not
to be generally applied in DJGPP binary packages. There is also UPX, but
i've never used it. And yes, I've read the FAQ, but what I'm asking here
is not what can be done, but what the DJGPP porters usually do.
I've checked 'gawk' by rebuilding myself from sources. The sizes in
bytes, for version 3.1.1, are:
294.912 gawk.exe from gwk311b.zip
324.608 gawk.exe compiled from gwk311s.zip
Applying 'strip' gives 292.864 and 322.560 bytes, respectively.
Perhaps the difference in sizes is due to different compiler/library
versions. In my system, pakke -qa reports:
...
binutils 2.14 (binaries)
djdev 2.03 (binaries)
gcc 3.3.3 (binaries)
...
Any suggestions? Thanks,
--
To reply by e-mail, please remove the extra dot
in the given address: m.collado -> mcollado
- Raw text -