Re: VC2005 build and pthreads

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Gevik Babakhani <pgdev(at)xs4all(dot)nl>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: VC2005 build and pthreads
Date: 2007-01-26 21:10:20
Message-ID: 45BA6E3C.4000407@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Martijn van Oosterhout wrote:
> On Fri, Jan 26, 2007 at 09:34:10PM +0100, Gevik Babakhani wrote:
>> Folks,
>>
>> I would like to build pg on VC2005. How do I use pthreads that is
>> mentioned in the README file. Do I need the DLL? Sources? LIB?
>> Where do I install or copy them..
>
> Err, pthreads is a threads library for Unix, I don't think Windows has
> that, nor can I think of a situation where you'd need to worry about
> threads anyway?

There is a pthreads for win32 as well.
However, you don't need it to build, unless you build ecpg. I forgot to
update the README when I put that patch in .-)

If you want it, it's on ftp://sources.redhat.com/pub/pthreads-win32.
IIRC, that's actually mentioned in the README file. You need the lib and
headers.

//Magnus

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2007-01-26 21:14:55 Re: No ~ operator for box, point
Previous Message Jim Nasby 2007-01-26 21:07:45 Re: [HACKERS] how to plan for vacuum?