title: GCC unable to find header file in a included library
body: <p>I am trying to include a library file named <em>libmathematica.a</em> in gcc so it gets linked in the executable <em>example</em>.</p>
  
  <p>I attempt to do this with <code>gcc main.c libmathematica.a -o example</code></p>
  
  <p><em>Note: I have to do this with gcc, as ld won't link it properly with the correct system libraries</em></p>
  
  <p>But I get: <code>fatal error: mathematica.h: No such file or directory</code> ,which is odd because <em>mathematica.h</em> is in the library.</p>
  
  <p>Can you help?</p>