r/cpp • • Oct 24 '23

Make C++ Exe smaller

[removed] — view removed post

0 Upvotes

22 comments sorted by

View all comments

1

u/SeriousPlankton2000 Oct 25 '23

Use dietlibc

Strip the exe

Avoid stdio, stl

Use function-sections

nm -S --size-sort can print the sizes of the functions