title: How to do static linking in Eclipse CDT?
body: <p>I am trying to statically link to a third party C library in C++.</p>
  
  <p>I managed to do this in Visual Studio just by specifying the .lib file in the linker input options. However, when I do the equivalent in CDT (Project Properties -> Settings -> MinGW C++ Linker -> Libraries) I get endless amounts of "undefined reference to..." errors when I try to build.</p>
  
  <p>Is there anything else that I need to do to achieve static linking in CDT?</p>
  
  <p>Thanks,
  Alan</p>