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.