1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pgsql Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.18 2004/09/27 19:43:17 momjian Exp $
3
3
-->
4
4
5
5
<chapter id="install-win32">
@@ -12,27 +12,28 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg
12
12
13
13
<para>
14
14
Although <productname>PostgreSQL</productname> is written for
15
- Unix-like operating systems, the C client library
15
+ Unix-like operating systems and compiles under
16
+ <productname>MinGW</productname>, the C client library
16
17
(<application>libpq</application>) and the interactive terminal
17
- (<application>psql</application>) can be compiled natively under
18
- Windows. The makefiles included in the source distribution are
19
- written for <productname>Microsoft Visual C++</productname> and will
20
- probably not work with other systems. It should be possible to
21
- compile the libraries manually in other cases .
18
+ (<application>psql</application>) can be compiled using other Windows
19
+ tool sets. Makefiles are included in the source distribution for
20
+ <productname>Microsoft Visual C++</productname> and
21
+ <productname>Borland C++</productname>. It should be possible to
22
+ compile the libraries manually for other configurations .
22
23
</para>
23
24
24
25
<tip>
25
26
<para>
26
- If you are using Windows 98 or newer you can build and use all of
27
- <productname>PostgreSQL</productname> <quote>the Unix way</quote>
28
- if you install the <productname>Cygwin </productname> toolkit first.
29
- In that case see <xref linkend="installation">.
27
+ If you are using a Windows NT-based operating system or newer you can
28
+ build and use all of <productname>PostgreSQL</productname> <quote>the
29
+ Unix way</quote> if you install the <productname>MinGW </productname>
30
+ toolkit first. In that case see <xref linkend="installation">.
30
31
</para>
31
32
</tip>
32
33
33
34
<para>
34
- To build everything that you can on
35
- <productname>Windows </productname>, change into the
35
+ To build everything that you can on <productname>Windows</productname>
36
+ using <productname>Microsoft Visual C++ </productname>, change into the
36
37
<filename>src</filename> directory and type the command
37
38
<screen>
38
39
<userinput>nmake /f win32.mak</userinput>
@@ -41,6 +42,15 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg
41
42
your path.
42
43
</para>
43
44
45
+ <para>
46
+ To build everything using using <productname>Borland
47
+ C++</productname>, change into the <filename>src</filename> directory
48
+ and type the command
49
+ <screen>
50
+ <userinput>make -DCFG=Release /f bcc32.mak</userinput>
51
+ </screen>
52
+ </para>
53
+
44
54
<para>
45
55
The following files will be built:
46
56
@@ -95,10 +105,11 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg
95
105
</para>
96
106
97
107
<para>
98
- If you plan to do development using <application>libpq</application> on this machine, you will
99
- have to add the <filename>src\include</filename> and
100
- <filename>src\interfaces\libpq</filename> subdirectories of the
101
- source tree to the include path in your compilers settings.
108
+ If you plan to do development using <application>libpq</application>
109
+ on this machine, you will have to add the
110
+ <filename>src\include</filename> and
111
+ <filename>src\interfaces\libpq</filename> subdirectories of the source
112
+ tree to the include path in your compilers settings.
102
113
</para>
103
114
104
115
<para>
0 commit comments