RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's
От | Rini Dutta |
---|---|
Тема | RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's |
Дата | |
Msg-id | 20000210171254.347.qmail@web2904.mail.yahoo.com обсуждение исходный текст |
Список | 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@sollentuna.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
В списке pgsql-hackers по дате отправления: