mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Remove obsolete claim that it doesn't work to use gcc with HP's C++
compiler or g++ with HP's C compiler.
This commit is contained in:
15
doc/FAQ_HPUX
15
doc/FAQ_HPUX
@ -3,7 +3,7 @@ Frequently Asked Questions (FAQ) for PostgreSQL 7.1
|
|||||||
HP-UX Specific
|
HP-UX Specific
|
||||||
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
|
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
|
||||||
=======================================================
|
=======================================================
|
||||||
last updated: $Date: 2001/02/20 01:33:07 $
|
last updated: $Date: 2001/02/20 19:06:16 $
|
||||||
|
|
||||||
current maintainer: Tom Lane (tgl@sss.pgh.pa.us)
|
current maintainer: Tom Lane (tgl@sss.pgh.pa.us)
|
||||||
original author: Tom Lane (tgl@sss.pgh.pa.us)
|
original author: Tom Lane (tgl@sss.pgh.pa.us)
|
||||||
@ -59,23 +59,10 @@ for HP's C compiler, or
|
|||||||
CC=gcc ./configure
|
CC=gcc ./configure
|
||||||
for GCC. If you omit this setting then configure will pick gcc.
|
for GCC. If you omit this setting then configure will pick gcc.
|
||||||
|
|
||||||
Note also that configure will default to no optimization for cc;
|
|
||||||
you'll probably want to override that, say with
|
|
||||||
CC=cc CFLAGS=+O2 ./configure
|
|
||||||
|
|
||||||
The default install target location is /usr/local/pgsql, which
|
The default install target location is /usr/local/pgsql, which
|
||||||
(particularly on HPUX 10) you might want to change to something under
|
(particularly on HPUX 10) you might want to change to something under
|
||||||
/opt. If so, use the --prefix switch to configure.
|
/opt. If so, use the --prefix switch to configure.
|
||||||
|
|
||||||
If you want to build the C++ client library (libpq++) then you need
|
|
||||||
to use a C++ compiler from the same source as the C compiler; mixing
|
|
||||||
HP and GNU compilers doesn't work. If you have both C++ compilers
|
|
||||||
in your PATH, keep an eye on whether configure picks the right one.
|
|
||||||
If it makes the wrong choice, set the environment variable CXX:
|
|
||||||
CC=gcc CXX=g++ ./configure --with-CXX
|
|
||||||
or
|
|
||||||
CC=cc CXX=aCC ./configure --with-CXX
|
|
||||||
|
|
||||||
|
|
||||||
1.3) yacc dies trying to process src/backend/parser/gram.y.
|
1.3) yacc dies trying to process src/backend/parser/gram.y.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user