Does static library works ?

Arnaud RICHARD arnaud.richard@st.com
Fri Feb 6 09:53:00 GMT 2009


Dear developers,

I tried to build my program statically with pthreads.lib.
It crash at run-time in "pthread_cond_init()".
So I tried to run the tests.
First surprise: the test suite only run with DLL, and not with .LIB.
I have enhanced the makefile to run the tests in static.
Second surprise: most tests fails (but not all).

Has anyone tried to do it ?
I attached the modified makefile, the target to run is "make clean 
VC-static"

Any feedback welcome,
Arnaud

PS: I use MSVC2008, and compile "VC-static"


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
URL: <http://sourceware.org/pipermail/pthreads-win32/attachments/20090206/684c209c/attachment.ksh>


More information about the Pthreads-win32 mailing list