From d4d5fdabbb7ae2b4e3e012a211dd7607d9c94feb Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 27 Sep 2004 19:43:17 +0000 Subject: [PATCH] Update docs for Borland CC build. --- doc/src/sgml/install-win32.sgml | 45 ++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 17 deletions(-) diff --git a/doc/src/sgml/install-win32.sgml b/doc/src/sgml/install-win32.sgml index 247188033e..821dbcc102 100644 --- a/doc/src/sgml/install-win32.sgml +++ b/doc/src/sgml/install-win32.sgml @@ -1,5 +1,5 @@ @@ -12,27 +12,28 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg Although PostgreSQL is written for - Unix-like operating systems, the C client library + Unix-like operating systems and compiles under + MinGW, 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 libraries manually in other cases. + (psql) can be compiled using other Windows + tool sets. Makefiles are included in the source distribution for + Microsoft Visual C++ and + Borland C++. It should be possible to + compile the libraries manually for other configurations. - If you are using Windows 98 or newer you can build and use all of - PostgreSQL the Unix way - if you install the Cygwin toolkit first. - In that case see . + If you are using a Windows NT-based operating system or newer you can + build and use all of PostgreSQL the + Unix way if you install the MinGW + toolkit first. In that case see . - To build everything that you can on - Windows, change into the + To build everything that you can on Windows + using Microsoft Visual C++, change into the src directory and type the command nmake /f win32.mak @@ -41,6 +42,15 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg your path. + + To build everything using using Borland + C++, change into the src directory + and type the command + +make -DCFG=Release /f bcc32.mak + + + The following files will be built: @@ -95,10 +105,11 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg - 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. + 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.