Home > Back-end >  GCC how to link only use function, make the program to reduce volume?
GCC how to link only use function, make the program to reduce volume?

Time:10-09

- ffunction - sections - fdata - sections and - Wl, gc - sections tried, no effect, the reason is not clear, in the manual is checked, did not find,

CodePudding user response:

Forget that premise is static library

CodePudding user response:

- gc - sections, gc is two - front, but not necessarily how much small, ls you compare

CodePudding user response:

Simple - Soft references 2 floor response:
- gc - sections, gc is two - front, but can not small, you ls compare

Don't recognize this parameter ah,,,,,,,
I'm GCC on Windows (mingw)
  • Related