I instaled Lazarus here, changed the compiler to FPC2.1.4 rebuild the LCL but everything that i compile gets a giant size "8.4mb" :shock: :shock:
only here ?
how to solve it ?
I instaled Lazarus here, changed the compiler to FPC2.1.4 rebuild the LCL but everything that i compile gets a giant size "8.4mb" :shock: :shock:
only here ?
how to solve it ?
From brazil (:
Pascal pownz!
If I remember well, you can reduce the size by stripping debug info and enabling crosslinking. You will still get a *large* file, but it's a "sensitive" subject where FPC guys get very emotional, and last time I've mentioned it, got a knife in my back, so... be careful!
[quote="Lifepower"]If I remember well, you can reduce the size by stripping debug info and enabling cross]
imo they should by default use optimized settings and store debug info separatedly :|
This is my game project - Top Down City:
http://www.pascalgamedevelopment.com...y-Topic-Reboot
My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
http://www.pascalgamedevelopment.com...source+manager
Thx for the replys, now 900kb
From brazil (:
Pascal pownz!
Already supported. However, there exist no debuggers that can read such separate debug info.Originally Posted by Delfi
I think that your size issue is more related to Lazarus than FPC.
Somehow Lazarus just makes bigger EXE files even without the LCL involved.
Isn't there a FPC-specific debugger being worked on right now?Originally Posted by dmantione
for size problem in last issue try UPX
Yup! This is a popular way to get rid of the large size of the exe. However, I've discovered while doing this myself that if you UPX your executable it won't compress as small via ZIP or RAR.Originally Posted by farcodev_
So like all things there is yet more trade-off.
Of course it won't compress any smaller because you just compressed it. Almost all compression schemes do not compress well in successive compression algorithms. Just like JPEG and PNG images with BZip2 increasing up to 50% in size.Originally Posted by WILL
Bookmarks