|
From: Radu R. <rad...@mi...> - 2013-08-14 16:57:33
|
Hi, Is there any easy way to statically link against pthread? Using -lpthread always creates a dependency on pthreadGC2.dll, even when using -static. I also tried using libpthreadGC2.dll.a along with the other objects to be linked when producing the executable (instead of using -lpthread), but with no effect. I believe this is because libpthreadGC2.dll.a is just an "import library" and I'm statically linking the import wrappers, not the actual pthread functions. Thanks, Radu Rendec |