title: Linking to a C++ library that has extern "C" functions
body: <p>So I'm writing a Rust FFI to a C++ library that has an extern "C" block with C-style function headers within it.   And my low-level FFI builds.</p>
  
  <p>However, when I use my FFI in another project, it doesn't link properly, and I get undefined reference to operator new(), delete(), etc.</p>
  
  <p>My question is:</p>
  
  <ol>
  <li><p>Am I screwed because this is C++ and you can't link Rust to C++ yet?</p></li>
  <li><p>Should the application consuming the FFI library deal with the linking issue somehow, and if so, how?</p></li>
  <li><p>Can my libsomething.a be built somehow to include these C++ components, and if so, how?  I'm currently using the gcc crate rather generically.</p></li>
  <li><p>put your own solution here</p></li>
  </ol>