Optimization, remove unused code from Image

Graham Stott graham.stott@btinternet.com
Tue Jan 11 11:29:00 GMT 2005


All,

It is possible to eliminated unused functions on many but not all targets
supported by GCC. 

Use -ffunction-sections when compling and and --gc-sections when linking.




More information about the Gcc-help mailing list