pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
FAQ Update Info
3+ messages / 3 participants
[nested] [flat]

* FAQ Update Info
@ 2001-01-10 19:45  Shane D. <sdawalt@millennium.wright.edu>
  0 siblings, 2 replies; 3+ messages in thread

From: Shane D. @ 2001-01-10 19:45 UTC (permalink / raw)
  To: pgsql-docs


  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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: FAQ Update Info
@ 2001-01-11 20:39  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Shane D. <sdawalt@millennium.wright.edu>
  1 sibling, 0 replies; 3+ messages in thread

From: Tom Lane @ 2001-01-11 20:39 UTC (permalink / raw)
  To: Shane D. <sdawalt@millennium.wright.edu>; +Cc: pgsql-docs

"Shane D." <sdawalt@millennium.wright.edu> writes:
>   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. 

I think this should be cleaned up in current sources (7.1beta3).  We've
restructured the template files.  Would you care to give beta3 a try
and see if the behavior is OK now?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: FAQ Update Info
@ 2001-01-11 23:04  Peter Eisentraut <peter_e@gmx.net>
  parent: Shane D. <sdawalt@millennium.wright.edu>
  1 sibling, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2001-01-11 23:04 UTC (permalink / raw)
  To: Shane D. <sdawalt@millennium.wright.edu>; +Cc: pgsql-docs

Shane D. writes:

>   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 ....)

The Digital Unix FAQ is outdated.  You should ignore it in its entirety.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-01-11 23:04 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-10 19:45 FAQ Update Info Shane D. <sdawalt@millennium.wright.edu>
2001-01-11 20:39 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-01-11 23:04 ` Peter Eisentraut <peter_e@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox