Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Giant .exe files

  1. #1

    Giant .exe files

    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!

  2. #2

    Giant .exe files

    That's a FAQ
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  3. #3

    Giant .exe files

    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!

  4. #4

    Giant .exe files

    [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

  5. #5

    Giant .exe files

    Thx for the replys, now 900kb
    From brazil (:

    Pascal pownz!

  6. #6

    Giant .exe files

    Quote Originally Posted by Delfi
    imo they should by default use optimized settings and store debug info separatedly :|
    Already supported. However, there exist no debuggers that can read such separate debug info.

  7. #7
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Giant .exe files

    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.

    Quote Originally Posted by dmantione
    Already supported. However, there exist no debuggers that can read such separate debug info.
    Isn't there a FPC-specific debugger being worked on right now?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  8. #8
    farcodev_
    Guest

    Giant .exe files

    for size problem in last issue try UPX

  9. #9
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Giant .exe files

    Quote Originally Posted by farcodev_
    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.

    So like all things there is yet more trade-off.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  10. #10

    Giant .exe files

    Quote Originally Posted by WILL
    However, I've discovered while doing this myself that if you UPX your executable it won't compress as small via ZIP or RAR.
    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.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •