$host_cpu -> $target_cpu in configure?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: $host_cpu -> $target_cpu in configure?
Date: 2019-06-16 16:56:52
Message-ID: 24095.1560704212@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

There are a few places in configure and the makefiles that are looking
at $host_cpu to decide what to do. As far as I can tell, almost all of
them are wrong and should be looking at $target_cpu instead. (The
lack of complaints indicates that nobody is trying very hard to test
cross-compilation.)

I'm not too sure about this case in makefiles/Makefile.hpux:

ifeq ($(host_cpu), ia64)
DLSUFFIX = .so
else
DLSUFFIX = .sl
endif

Does HPUX even support cross-compiling, and if so what shlib extension
do you get in that case?

The other references seem definitely wrong ...

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2019-06-16 17:16:11 Re: [PATCH] Stop ALTER SYSTEM from making bad assumptions
Previous Message Joe Conway 2019-06-16 16:45:13 Re: [Proposal] Table-level Transparent Data Encryption (TDE) and Key Management Service (KMS)