Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Wow!

Author: Pete Galati

Date: 17:17:57 04/06/00

Go up one level in this thread


On April 06, 2000 at 19:52:02, Ricardo Gibert wrote:

>On April 06, 2000 at 13:36:26, Pete Galati wrote:
>
>>On April 06, 2000 at 13:17:10, Christophe Theron wrote:
>>
>>>On April 06, 2000 at 10:07:08, Pete Galati wrote:
>>>
>>>>On April 06, 2000 at 07:23:15, Jari Huikari wrote:
>>>>
>>>>>On April 06, 2000 at 05:40:23, Peter McKenzie wrote:
>>>>>
>>>>>>how small is the executable file?
>>>>>
>>>>>I got 36949 bytes.
>>>>>
>>>>>(And the source file is 3320 bytes including comments.)
>>>>>
>>>>>					Jari
>>>>
>>>>With djgpp I got much bigger, 108122, but I think djgpp tends to make rather big
>>>>sized exe files.
>>>>
>>>>Pete
>>>
>>>
>>>You should remove the debug code from the EXE file with the following command:
>>>
>>>  strip oxchess.exe
>>>
>>>DJGPP executables are not bigger than what you get with other compilers.
>>>
>>>
>>>    Christophe
>>
>>Thanks Christophe, you just pointed to another giant hole in my know-how, now
>>it's down to 58,880.  I never knew about "strip".
>>
>>Pete
>
>I don't trust this command. On a different file, that was 37.8Kb, the command
>strip resulted in a new file size of 39.9KB. It got _bigger_.

It might be one of those make a backup types of things, I've only tried it once
now, and from 108,122 to 58,880 wasn't a bad deal.

Pete



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.