title: Static library symbols missing in linked executable
body: <p>I am trying to link a statically created <code>.a</code> library with another piece of C code.</p>
  
  <p>However, in the final executable several symbols (function names) are are found missing when seen with the <code>nm</code> command. This is due to the fact that the linker (<code>gcc</code> being called) is stripping the symbols which are not referenced in the other piece of <code>C</code> code that is being linked with the library. The function symbol that I am trying to find with the <code>nm</code> command is visible in the <code>.a</code> library.</p>
  
  <p>How can I make the linker not strip the symbols omitted this way?</p>