libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] Building under MinGW


From: Duncan Murdoch
Subject: [libmicrohttpd] Building under MinGW
Date: Sun, 12 Jul 2009 10:04:02 -0400
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)

I see messages in the archives that show people building under MinGW with gcc 3.4.5. I'm using gcc 4.2.1, and when I run ./configure I get

checking for pthread_create in -lpthread... no
checking if compiler supports -pthread... no
checking if compiler supports -pthreads... no
checking if compiler supports -threads... configure: error: Your system is not s
upporting pthreads!

I see there's a pthreads for win32 at

http://sources.redhat.com/pthreads-win32/

I built this, and put the files

libpthreadGC2.a
pthreadGC2.dll
libpthreadGCE2.a
pthreadGCE2.dll

into MinGW's lib directory, and pthread.h into its include directory, but I still get the same configure error as above. Can someone let me know what I need to do instead?

Duncan Murdoch




reply via email to

[Prev in Thread] Current Thread [Next in Thread]