Y
Hacker News
new
|
ask
|
show
|
jobs
by
blattimwind
2687 days ago
In my experience compilers are very bad at figuring out what is "actually called", probably because this is non-trivial in C and C++.
1 comments
roblabla
2687 days ago
It's not that complicated. -ffunction-sections -fdata-sections arguments to gcc coupled with --gc-sections argument to the linker will get rid of most of the fat.
link