Skip to content
Discussion options

You must be logged in to vote

Just a quick note of my intermediate findings:
I was able to reduce the file size in tiny bits by replacing some of my internal functions, but the biggest reduction came when I added -fno-exceptions to the cosmoc++ call.
Since I don't use any exceptions myself in the code and don't catch any, I thought why not give it a try. And that parameter alone reduced the size by about 300kb :)

Replies: 4 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jart
Comment options

jart Nov 15, 2025
Maintainer

Comment options

You must be logged in to vote
6 replies
@tobybear
Comment options

@jart
Comment options

jart Nov 15, 2025
Maintainer

@tobybear
Comment options

@tobybear
Comment options

Answer selected by jart
@jart
Comment options

jart Nov 19, 2025
Maintainer

Comment options

You must be logged in to vote
3 replies
@jart
Comment options

jart Nov 19, 2025
Maintainer

@tobybear
Comment options

@tobybear
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants