RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's

From: Rini Dutta <rinid(at)rocketmail(dot)com>
To: Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's
Date: 2000-02-10 17:12:54
Message-ID: 20000210171254.347.qmail@web2904.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi
I managed to build it using an empty config.h file as
you suggested. I had to comment out parts of some
header files where memmove is #defined to bcopy.
Now I have to build my code with the library, and see
if it works.
Thanks!
Rini
ps : I have not tried to get the lib files from the
existing dll (v6.5.1) since I preferred to 'make' it.

--- Magnus Hagander <mha(at)sollentuna(dot)net> wrote:
> You will need to copy "config.h.win32" to "config.h"
> in the include
> directory.
>
> I think this patch to the docs should be what is
> needed.
>
> *** install-win32.sgml.orig Thu Feb 10 16:21:25
> 2000
> --- install-win32.sgml Thu Feb 10 16:22:49 2000
> ***************
> *** 20,27 ****
>
> <Para>
> To build the libraries, change directory into the
> <filename>src</filename>
> ! directory, and type the command
> <programlisting>
> nmake /f win32.mak
> </programlisting>
> This assumes that you have <ProductName>Visual
> C++</ProductName> in your
> --- 20,28 ----
>
> <Para>
> To build the libraries, change directory into the
> <filename>src</filename>
> ! directory, and type the commands
> <programlisting>
> + copy include\config.h.win32 include\config.h
> nmake /f win32.mak
> </programlisting>
> This assumes that you have <ProductName>Visual
> C++</ProductName> in your
>
>
>
>
> Hmm. I just realised that that is for the current
> version, not 6.5.3.
> However, you will need something like it - I'm
> afraid I don't remember
> exactly what. Try either with the config.h.win32
> from -current, or simply
> try with an empty config.h.
>
> //Magnus
>

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-02-10 17:23:36 Re: [HACKERS] psql and libpq fixes
Previous Message Thomas Lockhart 2000-02-10 17:00:57 Re: [HACKERS] psql and libpq fixes