Re: Optimization, remove unused code from Image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux