Re: Is there a way to build PostgreSQL client libraries with MinGW
От | Xiaobo Gu |
---|---|
Тема | Re: Is there a way to build PostgreSQL client libraries with MinGW |
Дата | |
Msg-id | AANLkTikH+A96iw4VunGerGw7cBLsLVucLXwh_UDLjBGm@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Is there a way to build PostgreSQL client libraries with MinGW (Andrew Dunstan <andrew@dunslane.net>) |
Ответы |
Re: Is there a way to build PostgreSQL client libraries
with MinGW
Re: Is there a way to build PostgreSQL client libraries with MinGW |
Список | pgsql-hackers |
Yes, I want it working on 64 bit Windows Server 2003 R2 and 64 bit Windows 7 home basic. Which version of 32bit MinGW do you use, I use the one shipped with Rtools212.exe which is downloaded from http://www.murdoch-sutherland.com/Rtools, and there is no chmod. xiaobo gu 2011/1/24 Andrew Dunstan <andrew@dunslane.net>: > > > On 01/23/2011 10:09 PM, Xiaobo Gu wrote: >> Here is my plan, >> 1. To make the configurate script pass: >> Currently MinGW does not provide chmod, but on Windows I think this >> can be ignored now, we all use Admin >> users to do the work. >> 2. To make a pg-client Makefile target, can you help wich which c >> files should be compiled and linked into dlls and lib file. >> > > > Why do you need to do this? Postgres can be built as is today on Mingw. > Not just the client libraries, the whole server too. It does not need to > be an Adminstrative user, and you should by no means assume that the > user building Postgres will be an administrator, nor that the user > running Postgres will be. My 32 bit Mingw certainly understands chmod. > > There are machines doing this every day, several times a day. See > <http://www.pgbuildfarm.org/cgi-bin/show_status.pl> - frogmouth and > narwhal are examples. We've had working Mingw builds for quite a few > years now. > > The only issue is building 64bit binaries. So get the build working for > 32bit, then try switching to the 64bit compiler and see what breaks. If > all you need is the client library, build with no zlib or any other > third party libraries. > > cheers > > andrew >
В списке pgsql-hackers по дате отправления: