Mail Archives: djgpp/2000/04/05/11:39:55
Brian Racer <eagle1ssn AT yahoo DOT com>:
> have a question. I have seen graphical demos that are
only like 4k, but
> when
> I compile a 'hello word' or even a semi large game-
type thing, it is quite
> large. I know there is a way to lessen the file size,
and I am sure if I
> did
> some reserch it is in the FAQ or somthing, but could
someone please just
> tell me how to lessen the size. Thank you.
You are right. It is fully explau\ined in FAQ 8.14.
I think it is not very kind to say "I know it is in
the faq but I am just too lazy to check", it seems
a little unrespectful to th eperson who spent lots of
time to write it, don't you think? :-)
Anyway I suppose you didn't want to be unrespectful
and you are just in a hurry, so this is the
answer: you must use -s switch when linking or use
strip.exe on your .exe file. Both strip the symbols
from within the executable.
ciao
Giacomo
------------------------------------------------------
Giacomo Degli Esposti - pad2369 AT iperbole DOT bologna DOT it
- Raw text -