From: Tom Lane Date: Tue, 20 Feb 2001 19:06:16 +0000 (+0000) Subject: Remove obsolete claim that it doesn't work to use gcc with HP's C++ X-Git-Tag: REL7_1~338 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4a9023d520d8b9dee8bed396d08a0bf801726e2;p=postgresql Remove obsolete claim that it doesn't work to use gcc with HP's C++ compiler or g++ with HP's C compiler. --- diff --git a/doc/FAQ_HPUX b/doc/FAQ_HPUX index 4891d03773..63855ea486 100644 --- a/doc/FAQ_HPUX +++ b/doc/FAQ_HPUX @@ -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.