Mail Archives: djgpp/1997/03/05/17:36:37
On Wed, 5 Mar 1997, Guess wrote:
> -> : Can someone tell me how to decrease the size of my executables when
> -> : compiled with DJGPP v2.0.
>
> I do strip file.exe
> That is right, right?
Strip will do the trick for you, but I remember reading in this news list
that strip will (possibly?) place an older version of the stub in your
.exe file (please someone correct me if I'm wrong). Another solution that
is just as easy is to include the -s switch on the compile command, like
so:
gcc -O3 -o what.exe -s what.c where.c who.c when.c
That should do it; works for me :-)
Hope this helps.
David May
ID Card Adminstrator
Albuquerque TVI
- Raw text -