www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/05/11:39:55

Date: Wed, 5 Apr 2000 12:46:19 +0200 (MET DST)
From: pad2369 <pad2369 AT iperbole DOT bologna DOT it>
Message-Id: <200004051046.MAA24419@maggiore.iperbole.bologna.it>
To: djgpp AT delorie DOT com
References: <38e94f29$0$1393 AT news DOT execpc DOT com>
In-Reply-To: <38e94f29$0$1393@news.execpc.com>
MIME-Version: 1.0
User-Agent: IMP/PHP3 Imap webMail Program 2.0.11
Sender: pad2369 AT iperbole DOT bologna DOT it
Subject: Re: Exe Size...
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019