Re: removing unused functions during final link

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

 



On 09/03/2014 04:20 AM, Melvin Blades wrote:
> Using gcc instead of ld, I was able to get it to strip unused
>  functions if all the functions in a file are not called.
>  But I could not get it to strip  unused functions if they  are in the
>  same source file as used functions .
> 
>  Is there a way to get it strip ALL the unused functions?

That should have worked.  Please tell us the exact command you used.

Andrew.






[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