Re: Makefile support for Mac OS X Fat Binaries?

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Larry Rosenman" <ler(at)lerctr(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Makefile support for Mac OS X Fat Binaries?
Date: 2008-01-22 00:20:34
Message-ID: 87abmyemnh.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Larry Rosenman <ler(at)lerctr(dot)org> writes:
>> would the community accept a patch that would allow the making of 4-way fat
>> binaries on Mac OS X 10.5+? (Obviously for 8.4+).
>
> Depends on how big and ugly it is, I think. If you can do it just by
> hacking CFLAGS and friends, sure; if it's as invasive as the Windows
> build machinery, definitely not; in between, we'd have to see it.

We've been through this once already. You can't do it (cleanly) with just
Makefile hackery. The architectures have different endianness and possibly
other ABI differences. To handle that cleanly you have to run configure once
for each architecture and build each architecture with the appropriate
config.h.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's On-Demand Production Tuning

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2008-01-22 01:23:39 Re: Makefile support for Mac OS X Fat Binaries?
Previous Message Larry Rosenman 2008-01-21 23:57:05 Re: Makefile support for Mac OS X Fat Binaries?