]> granicus.if.org Git - postgresql/commitdiff
Remove obsolete claim that it doesn't work to use gcc with HP's C++
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 20 Feb 2001 19:06:16 +0000 (19:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 20 Feb 2001 19:06:16 +0000 (19:06 +0000)
compiler or g++ with HP's C compiler.

doc/FAQ_HPUX

index 4891d03773d0ffdd0beba2c48ed619435b6eb666..63855ea486a18209f66f641ef7e8b93612783802 100644 (file)
@@ -3,7 +3,7 @@ Frequently Asked Questions (FAQ) for PostgreSQL 7.1
 HP-UX Specific
 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)
 original author:        Tom Lane (tgl@sss.pgh.pa.us)
@@ -59,23 +59,10 @@ for HP's C compiler, or
        CC=gcc ./configure
 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
 (particularly on HPUX 10) you might want to change to something under
 /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.