3 ms·
You can also statically link libc++. Not much of a binary size increase from static linking because most is template headers.
by jupp0r 5y ago
You can also statically link libc++. Not much of a binary size increase from static linking because most is template headers.
- account42 5y ago> Not much of a binary size increase from static linking because most is template headers. Unless you use anything that pulls in locale code (e.g. any stream), in which case you will get code for things like date and monetary formatting in your library even if it is never used.
- jupp0r 5y agoLinkers are pretty good at throwing out dead code, so if you don't reference these functions there's a decent chance they won't be linked in when linking statically.