title: linking to multiple versions of a static library
body: <p>My project links against a static library libA.a version 1.</p>
  
  <p>This executable also links against another static library B. B is linked against A, but version 2.</p>
  
  <p>Both symbol sets in version 1 and 2 of A are the same.
  Should this work if I know that nothing is shared that has anything to do with A between my project and B?</p>
  
  <p>I managed to link it manually and it seems to work (maybe there are pitfalls I'm not aware of).</p>
  
  <p>I can't make lib B a shared object, or use A as a shared object. Actually, I only know B is using A statically because I talked with the guy who wrote B.</p>