From: aho450s AT nic DOT smsu DOT edu (Tony O'Bryan) Newsgroups: comp.os.msdos.djgpp Subject: Re: large executables? Date: Fri, 18 Apr 1997 22:09:00 GMT Organization: Southwest Missouri State University Lines: 21 Message-ID: <3357f0bc.4179403@ursa.smsu.edu> References: <3351941F DOT 2982 AT ix DOT netcom DOT com> <33575B5F DOT 1430 AT wave DOT co DOT nz> NNTP-Posting-Host: forseti.i101.smsu.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Fri, 18 Apr 1997 23:30:39 +1200, Firedawn wrote: >bacon12 AT ix DOT netcom DOT com wrote: > > I have Rhide and when I compile a simple program like ex1.c of > Allegro's examples I get an executable size of 257KB. The ex1.exe > in > my examples folder is 138KB. I don't understand why the one I > compiled > is almost twice as big as the one in my example folder. > > This is no help but i have the same problem ?? Try adding -s (make sure it's lowercase!) to the command line, or run strip.exe on the compiled executable. Both options remove unneeded symbols from the .EXE file and will reduce the size of your program, usually dramatically. My apologies to everyone for the rest of this post. Free Agent won't let me post a reply with more quoted text than new text, so I have to add some filler to the end of my message. Does anyone know how to disable this misfeature of Free Agent?