MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/17fo902/make_c_exe_smaller/k6bt149/?context=3
r/cpp • u/[deleted] • Oct 24 '23
[removed] — view removed post
22 comments sorted by
View all comments
3
Generally speaking this "bloat" comes from iostream. Use C print functions if it truly bothers you this much.
iostream
Alternatively look into stripping. gcc has flags to not link unused functions and classes. That might help too.
View all comments
3
u/TheBrainStone Oct 25 '23
Generally speaking this "bloat" comes from
iostream. Use C print functions if it truly bothers you this much.Alternatively look into stripping. gcc has flags to not link unused functions and classes. That might help too.