Author: Pete Galati
Date: 18:48:09 04/06/00
Go up one level in this thread
On April 06, 2000 at 20:58:38, Ricardo Gibert wrote: >On April 06, 2000 at 20:17:57, Pete Galati wrote: > >>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 > >Probably the explanation is my original exe file was compiled with all the speed >optimizations on. No debug code to strip. The reason I don't trust it is, it >seems to add junk I have no use for. Strip seems to do a bit of de-optimizing >for already optimized code. Maybe someone else has better explanation. Why >should it add over 2Kb? You know what, I should check with TSCP to see if "strip" takes away any speed. I've never seen ant documentation about "strip", didn't know it existed till today. Am I supposed to be playing stipper music when I use strip? 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.