title: Is it possible to statically link against a shared object?
body: <p>My question is not the same as <a href="https://stackoverflow.com/questions/4430645/possible-to-statically-link-shared-object-libraries">this question</a>.</p>
  
  <p>I'm working on a project with a standalone binary that has no dynamic/external linkage, and runs in a *nix environment.</p>
  
  <p>I'm attempting to move to a newer toolset to build with, but some of the static libraries that are available with the older toolset aren't available now -- for example, the crt libraries that provided <strong>_start</strong> aren't provided in this toolset.</p>
  
  <p>I've been digging through the files provided with the vendor's toolset and found some shared objects with the symbols I needed from the crt libraries (eg, <strong>_start, _fini</strong>, etc) but I'm unsure whether there's a straightforward way to statically link a shared object into a binary, and further have that binary be executable.</p>
  
  <p>Short version: Can a non-shared-object binary be statically linked with a shared object without the result becoming another shared object?</p>