win32 threads with mingw32 (fwd)

Thomas Sailer sailer@ife.ee.ethz.ch
Wed Jul 19 02:33:00 GMT 2000


>         I don't mind that, but I'm lacking the libpthread.a that
> used to come with the pre-compiled package. The last time this
> library appeared was in 1999-08-12. Without this library I cannot
> use the pre-compiled dll.

You can create libpthread.a from the .def file, should work along these
lines:

$(DLLTOOL) --as $(AS) -k --dllname libpthread.dll --output-lib
libpthread.a --def $(srcdir)/libpthread.def

Where DLLTOOL is i686-pc-cygwin-dlltool
and AS i686-pc-cygwin-as.

Tom


More information about the Pthreads-win32 mailing list