Commit c4a9023d authored by Tom Lane's avatar Tom Lane

Remove obsolete claim that it doesn't work to use gcc with HP's C++

compiler or g++ with HP's C compiler.
parent d1864e38
...@@ -3,7 +3,7 @@ Frequently Asked Questions (FAQ) for PostgreSQL 7.1 ...@@ -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 ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment