Updates
authorPeter Eisentraut
Thu, 21 Dec 2000 22:30:39 +0000 (22:30 +0000)
committerPeter Eisentraut
Thu, 21 Dec 2000 22:30:39 +0000 (22:30 +0000)
doc/src/sgml/install-win32.sgml

index 5705650faa616202180ccab1557f7621ed9f8ad8..50522700aa3f7ce53b07b6abe237f481b357fe94 100644 (file)
- 
 Installation on Win32</span>
+
Installation on <productname>Windows</productname></span>
 
-  
-   
-    Build and installation instructions for Postgres
-    v6.4 client libraries on Win32.
-   
-  
+  
+   Build, installation, and use instructions for
+   PostgreSQL client libraries on
+   Windows
+  
 
-  
-   Building the libraries
+  Although PostgreSQL is written for
+  Unix-like operating systems, the C client library
+  (libpq) and the interactive terminal
+  (psql) can be compiled natively under
+  Windows.  The makefiles included in the source distribution 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.
 
-   
-    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.
-   
+  
+   If you are using Windows NT/2000 you can build and use all of
+   PostgreSQL the Unix way
+   if you install the Cygwin toolkit first.
+   In that case see .
+  
 
  
-    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
-    path.
  
+  To build everything that you can on
+  Windows, change 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:
+  The following files will be built:
 
-    
-     
-      
-       interfaces\libpq\Release\libpq.dll
-       - The dynamically linkable frontend library
-      
-     
+  
+   
+    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\libpqdll.lib
-       - Import library to link your program to libpq.dll
-      
-     
+   
+    interfaces\libpq\Release\libpq.lib
+    
+     
+      Static library version of the frontend library
+     
+    
+   
 
-     
-      
-       interfaces\libpq\Release\libpq.lib - Static library version of the frontend library
-      
-     
+   
+    bin\psql\Release\psql.exe
+    
+     
+      The PostgreSQL interactive terminal
+     
+    
+   
+  
 
-     
-      
-       bin\psql\Release\psql.exe - The Postgresql interactive SQL monitor
-      
-     
+  The only file that really needs to 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/ME
+  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 subdirectories of the
+  source tree to the include path in your compilers settings.
 
-  
+  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.)
 
-  
-   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.
-   
-  
+