Author Topic: Size of compiled exe  (Read 6091 times)

0 Members and 1 Guest are viewing this topic.

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Size of compiled exe
« Reply #15 on: February 26, 2021, 04:27:52 pm »
You don't want to use upx for a program that isn't console only. If you do, it has to unpack the program first and then run. This slows it down immensely. With a console only program, it's just as fast and is tiny. With a program that uses the regular screen in QB64, slow as a turtle. Be careful what you wish for. Then again, I could be wrong. Something else I just compressed worked just fine. I don't know.
« Last Edit: February 26, 2021, 04:35:40 pm by SpriggsySpriggs »
Shuwatch!

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Size of compiled exe
« Reply #16 on: February 26, 2021, 08:47:13 pm »
I made a custom QB64 IDE build by adding a line that takes the compiled exe and uses the most aggressive compression flag. I was able to actually turn the 7 meg QB64 x64 exe to just over 2 megs.
Shuwatch!

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: Size of compiled exe
« Reply #17 on: February 26, 2021, 09:11:58 pm »
And I clicked the ADD DEBUG INFORMATION when compiling QB64.bas and ran out of drive space making the EXE...  ;D
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!