Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0B4bxB90926 for ; Wed, 10 Jan 2001 23:37:59 -0500 (EST) (envelope-from pgsql-docs-owner@postgresql.org) Received: from millennium.wright.edu (millennium.wright.edu [130.108.127.23]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0AJjlB55413 for ; Wed, 10 Jan 2001 14:45:48 -0500 (EST) (envelope-from sdawalt@millennium.wright.edu) Received: from millennium.wright.edu (localhost [127.0.0.1]) by millennium.wright.edu (8.10.2/8.10.2) with ESMTP id f0AJji512527 for ; Wed, 10 Jan 2001 14:45:45 -0500 (EST) Message-ID: <3A5CBBE7.B43C1D12@millennium.wright.edu> Date: Wed, 10 Jan 2001 14:45:43 -0500 From: "Shane D." Organization: Wright State University X-Mailer: Mozilla 4.75 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: FAQ Update Info Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200101/35 X-Sequence-Number: 169 In FAQ_DigitalUnix, in section 1.1.1, there is discussion about Postgres not compiling properly under GCC. (Yes, I've read the report about GCC not working as well as CC ....) I have found after some trial and error that the actual problem is in the configure script. It assumes cc will be used prior to detecting (or processing) the gcc setting. As a result, it loads the alpha_cc template but never loads the alpha_gcc template when gcc is selected. One can overcome this problem by issuing the following configure option: --with-template=alpha_gcc So for my system (DigitalUnix 4.0E), the configure command line is: ./configure --with-CC=gcc --width-CXX=c++ --with-template=alpha_gcc Shane Dawalt -- Shane A. Dawalt Phone: 937.775.4089 Network Engineer, CaTS/NS Email: shane.dawalt@wright.edu Wright State University Library Annex 040Z Dayton, OH 45435-0001 "Silence is the oft-forgotten seasoning in the stew of wisdom." --Mark Anthony, The Keep of Fire