Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Has anyone run across a linker (ld) option that will remove unreferenced code?

unless gcc has significanlty changed it links in all code from an .obj with a referenced function, hence why the stdlibs included with gcc are function per .obj or thereabouts.

unless gcc has significanlty changed it links in all code from an .obj with a referenced function, hence why the stdlibs included with gcc are function per .obj or thereabouts.