Home » Community » Coffee corner » how to reduce binary size?
how to reduce binary size? [message #59486] |
Thu, 05 January 2023 02:53  |
Satervalley
Messages: 20 Registered: December 2022
|
Promising Member |
|
|
the binary size increased with version number.
my app is about thousands loc, under windows, release build, blitz disabled, CLang x64, compile option -Oz -flto, the binary size about 4m.
in the other hand, the SDL2 sample's binary size is 14KB(dynamic link to sdl dll).
about 2-3 years ago, version number 9xxx - 10xxx, the same app's binary size is about half or 1/3 of it under the newest U++.
[Updated on: Thu, 05 January 2023 02:55] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed Jun 11 03:07:35 CEST 2025
Total time taken to generate the page: 0.14586 seconds
|