From 350f422bdb8688efdc5666f18aaf8407c81443a6 Mon Sep 17 00:00:00 2001 From: "Thomas G. Lockhart" Date: Thu, 7 Jan 1999 02:59:45 +0000 Subject: [PATCH] Include installation instructions for WIN32 client-side libraries. From Magnus Hagander . --- doc/src/sgml/admin.sgml | 24 ++++++- doc/src/sgml/install-win32.sgml | 115 ++++++++++++++++++++++++++++++++ doc/src/sgml/postgres.sgml | 8 ++- 3 files changed, 145 insertions(+), 2 deletions(-) create mode 100644 doc/src/sgml/install-win32.sgml diff --git a/doc/src/sgml/admin.sgml b/doc/src/sgml/admin.sgml index 2296c51714..41a2d2ffa2 100644 --- a/doc/src/sgml/admin.sgml +++ b/doc/src/sgml/admin.sgml @@ -1,11 +1,15 @@ diff --git a/doc/src/sgml/install-win32.sgml b/doc/src/sgml/install-win32.sgml new file mode 100644 index 0000000000..303ec7f307 --- /dev/null +++ b/doc/src/sgml/install-win32.sgml @@ -0,0 +1,115 @@ + +Installation on Win32 + + + +Build and installation instructions for Postgres +v6.4 client libraries on Win32. + + + + +Building the libraries + + +The makefiles included in Postgres are written +for Microsoft Visual C++, and will probably +not work with other systems. It should be possible to compile the libaries +manually in other cases. + + + +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 +path. + + + +The following files will be built: + + + + +interfaces\libpq\Release\libpq.dll + - The dynamically linkable frontend library + + + + + +interfaces\libpq\Release\libpqdll.lib + - Import library to link your program to libpq.dll + + + + + +interfaces\libpq\Release\libpq.lib - Static library version of the frontend library + + + + + +bin\psql\Release\psql.exe - The Postgresql interactive SQL monitor + + + + + + + + + +Installing the libraries + +The only part of the library to really be installed is the +libpq.dll library. This file should in most cases +be placed in the WINNT\SYSTEM32 directory (or in +WINDOWS\SYSTEM on a Windows 95/98 system). If this +file is installed using a setup program, it should be installed with +version checking using the VERSIONINFO resource included in the file, +to ensure that a newer version of the library is not overwritten. + + +If you plan to do development using libpq on this machine, you will have +to add the src\include and +src\interfaces\libpq directories to the include +path in your compilers settings. + + + + +Using the libraries + +To use the libraries, you must add the libpqdll.lib +file to your project (in Visual C++, just right-click on the project and +chose to add it). + + +Once this is done, it should be possible to use the library just as you +would on a Unix platform. + + + + + + diff --git a/doc/src/sgml/postgres.sgml b/doc/src/sgml/postgres.sgml index 3a04bf64f8..3544e69628 100644 --- a/doc/src/sgml/postgres.sgml +++ b/doc/src/sgml/postgres.sgml @@ -1,11 +1,15 @@