RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's
RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's
От:
Rini Dutta <rinid@rocketmail.com>
Дата:
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 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 **** > > > To build the libraries, change directory into the > src > ! directory, and type the command > > nmake /f win32.mak > > This assumes that you have Visual > C++ in your > --- 20,28 ---- > > > To build the libraries, change directory into the > src > ! directory, and type the commands > > + copy include\config.h.win32 include\config.h > nmake /f win32.mak > > This assumes that you have Visual > C++ 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