Optimization, remove unused code from Image
Labermeier Norbert
norbert.labermeier@siemens.com
Tue Jan 11 10:56:00 GMT 2005
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
More information about the Gcc-help
mailing list