title: linkning linux static libraries in windows with cygwin
body: <p>I'm having a binary static library <code>libfoo.a</code> compiled for 32 bit linux machine. I wish to compile it against my win32 project compiled with cygwin.</p>
  
  <p>Is that possible? It seems to be possible, as all the object files in the archive should be in the standard <code>ELF</code> format.</p>
  
  <p>However I keep recieving linking errors about functions that <code>nm</code> finds in the <code>libfoo.a</code>.
  When I created a stub <code>libfoo.a</code> with some empty functions with the same names of those in <code>libfoo.a</code>, I didn't recieve linking errors about those functions any longer.</p>
  
  <p>Is that even possible or am I missing something?
  At any rate, how can I troubleshoot this problem?</p>