I just put this in After Complilation:
"..\..\IDE\fpc\2.2.0\bin\i386-win32\strip.exe" --strip-all $(TargetFile)

I have to run this command only when I do a full build. Seems to work pretty well.

That's what I've been doing as well. As I said, it's just one command away, yet it's so simple. I'm no expert on both FPC or Lazarus, but I could find the solution after a few minutes googling, and google took me to Lazarus wiki. I still don't understand why exe size is a big issue. :(

Yes, I agree that it'd be nice if Lazarus somehow provides it as an check box option, or provide some debug format, or whatever other possible solution. But since current solution is so simple, I think we should focus on something more important first. Unless, as usual, someone would do it by himself and contribute a ready-to-use patch. ;)

-Bee-

has Bee.ography at:
http://beeography.wordpress.com

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

Reply via email to