Tobias,

When I compile the IDE with Carbon I get an executable of 84.5MB. If I run 
strip on it, this shrinks it to 13.2MB. You can achieve similar reduction 
without using strip simply by unchecking the -gl switch on the Linker tab. In 
both cases, the shrunken executable won't have the useful line number 
information. For now, I always leave this switch checked.

Thanks.

-Phil


-----Original Message-----
From: Tobias Giesen [mailto:[EMAIL PROTECTED]
Sent: Tue 11/6/2007 6:09 PM
To: lazarus@miraclec.com
Subject: [lazarus] compiled file size on OS X
 
Hello,

I noticed that my compiled Lazarus programs are huge. I assume they
contain debug info or something else that can be stripped.
Interestingly, GNU DB debug info is not checked on the Linker tab sheet,
but I can debug anyway, within Lazarus.

How can I get the binaries smaller?

Thanks.

Kind Regards,
Tobias Giesen

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

<<winmail.dat>>

Reply via email to