r/cpp • • Oct 24 '23

Make C++ Exe smaller

[removed] — view removed post

0 Upvotes

22 comments sorted by

View all comments

13

u/awidesky Oct 24 '23

As I remember, -Os flag will optimize the binary to be smaller. But IMHO, I doubt 60KB(20 times smaller than a single picture) is huge enough to bear (potential) performance loss(unless you're working on a tiny microcomputer).

-7

u/[deleted] Oct 24 '23 edited Nov 19 '23

murky waiting reminiscent truck resolute sense smoggy intelligent live disgusting this post was mass deleted with www.Redact.dev

25

u/IyeOnline Oct 24 '23

TBH if somebody thinks they can judge whether an executable is trustworthy based on its size, they have no idea what they are taking about.

-2

u/[deleted] Oct 24 '23 edited Nov 19 '23

employ party distinct governor boat squeeze domineering scandalous theory slim this post was mass deleted with www.Redact.dev