GCC -ffunction-sections and -fdata-sections for dead code elimination
How to use -ffunction-sections, -fdata-sections and --gc-sections to strip unused code and shrink embedded binaries.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
How to use -ffunction-sections, -fdata-sections and --gc-sections to strip unused code and shrink embedded binaries.