How about a tool to &quot;exclude what you don&#x27;t use&quot;?<p>I have several personal hacks for doing this I have written over the years but I&#x27;ve yet to find anyone else who tried to automate it.<p>For example, one task is to determine the functions in a library that are not actually used in your program and exclude those from linking, instead of blindly linking libraries full of unused functions (that sometimes cause name conflicts).