Optimization, remove unused code from Image

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

 



Hi all,

I'd like to remove unused code from my embedded binary image, but I
didn't succeed find the right compiler/linker switch.
With unused code I talk about functions which are not called but part of
a source file.

Main target for me is to reduce code size.

I'm currently working with a PPC and GCC-2.96 from VxWorks. 

I've already tested with -Os to reduce size but I didn't succeed to
remove the unused functions.

Can anybody give me some hints.

Kind regards,

Norbert





[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