Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit09b1576

Browse files
committed
Update platform FAQs
1 parented0b3f2 commit09b1576

File tree

10 files changed

+26
-2213
lines changed

10 files changed

+26
-2213
lines changed

‎doc/FAQ_DigitalUnix

Lines changed: 0 additions & 103 deletions
This file was deleted.

‎doc/FAQ_FreeBSD

Lines changed: 0 additions & 36 deletions
This file was deleted.

‎doc/FAQ_HPUX

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
=======================================================
2-
Frequently Asked Questions (FAQ) for PostgreSQL V6.5
2+
Frequently Asked Questions (FAQ) for PostgreSQL7.1
33
HP-UX Specific
44
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
55
=======================================================
6-
last updated:Sun May 2319:48:07 EDT 1999
6+
last updated:$Date: 2000/08/2619:34:24 $
77

88
current maintainer: Tom Lane (tgl@sss.pgh.pa.us)
99
original author: Tom Lane (tgl@sss.pgh.pa.us)
@@ -55,36 +55,25 @@ than 6.4.
5555

5656
1.2)Anything special about the build/install procedure?
5757

58-
When you run configure, you will want to explicitly select either the
59-
hpux_cc or hpux_gcc template depending on which compiler you plan to
60-
use:
61-
./configure --with-template=hpux_cc
58+
If you have both HP's C compiler and GCC's, then you might want to
59+
explicitly select the compiler to use when you run `configure':
60+
CC=cc ./configure
6261
for HP's C compiler, or
63-
./configure --with-template=hpux_gcc
64-
for GNU gcc. (If you omit --with-template, configure may either
65-
default to hpux_cc or give up entirely, depending on which HPUX and
66-
PostgreSQL releases you have.)
67-
68-
You may want to tweak the CFLAGS setting in template/hpux_[g]cc before
69-
you configure. The distributed copy of hpux_cc contains neither -O nor -g
70-
switches, which is hardly optimal for any situation. As of Postgres 6.5,
71-
hpux_gcc sets CFLAGS to -O2, which is fine unless you want to do debugging;
72-
in that case you may want -g as well (or instead).
62+
CC=gcc ./configure
63+
for GCC. If you omit this setting then configure will pick gcc.
7364

7465
The default install target location is /usr/local/pgsql, which
7566
(particularly on HPUX 10) you might want to change to something under
7667
/opt. If so, use the --prefix switch to configure.
7768

78-
If you have both HP and GNU C++ compilers in your PATH, keep an eye on
79-
whether configure picks the right one --- you want the HP c++ if you are
80-
using HP C, or g++ if you are using gcc. Mixing HP and GNU compilers
81-
won't work. You may need to provide a --with-CXX=compiler switch to
82-
force configure to pick the matching C++ compiler, or even say
83-
--without-CXX if you have a C++ compiler but it doesn't match the C
84-
compiler you want to use.
85-
86-
Otherwise the standard build/install procedure described in the
87-
PostgreSQL documentation works fine.
69+
If you want to build the C++ client library (libpq++) then you need
70+
to use a C++ compiler from the same source as the C compiler; mixing
71+
HP and GNU compilers doesn't work. If you have both C++ compilers
72+
in your PATH, keep an eye on whether configure picks the right one.
73+
To override the choice, set the environment variable CXX:
74+
CC=gcc CXX=g++ ./configure
75+
or
76+
CC=cc CXX=aCC ./configure
8877

8978

9079
1.3)yacc dies trying to process src/backend/parser/gram.y.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp