Compaq/Digital Unix compilation issue - Mailing list pgsql-ports

From Dave Hill
Subject Compaq/Digital Unix compilation issue
Date
Msg-id 38022492.844B9C4E@zk3.dec.com
Whole thread Raw
List pgsql-ports
With postgres 6.5.2 if noticed a dependency on __alpha__ being required
for Digital Unix/Compaq Tru64 UNIX.

The cc compiler only sets __alpha.
I found that adding -D__alpha__ to the alpha_cc template seemed to fix
the compile problems.

With 6.5.1, only __alpha was used by the #ifdefs (which is correct)

found in:
backend/utils/adt/float.c
include/storage/s_lock.h:

Personally, I thing __alpha__ should be changed back to __alpha__, but
adding -D__alpha__ to the alpha__cc template works.

Tested on Compaq Tru64 v4.0d using cc.

regards,
    Dave Hill

--
+---------------------oOO--(_)--OOo------------------------+
|Dave Hill                (0 0)    Unix Software Group     |
|Mailstop: ZKO3-2/W17     \//\/                            |
|Digital Equipment Corp.           (603 )884-2985          |
|110 Spitbrook Road       /\//\    enet: ddhill@zk3.dec.com|
|Nashua, NH 03062-2698    (0_0)                            |
+---------------------oOO--(_)--OOo------------------------+



pgsql-ports by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [PORTS] 'current'::datetime
Next
From: "Andreas Gahr"
Date:
Subject: PostgreSQL successfully installed