Compaq/Digital Unix compilation issue

From: Dave Hill <ddhill(at)zk3(dot)dec(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Cc: pjlobo(at)euitt(dot)upm(dot)es, pgsql-portsbugs(at)postgresql(dot)org
Subject: Compaq/Digital Unix compilation issue
Date: 1999-10-11 17:55:30
Message-ID: 38022492.844B9C4E@zk3.dec.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)zk3(dot)dec(dot)com|
|Nashua, NH 03062-2698 (0_0) |
+---------------------oOO--(_)--OOo------------------------+

Browse pgsql-ports by date

  From Date Subject
Next Message Andreas Gahr 1999-10-11 22:11:39 PostgreSQL successfully installed
Previous Message Thomas Lockhart 1999-10-11 15:12:33 Re: [PORTS] 'current'::datetime