Re: Universal libpq.a ?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Dave Page <dpage(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jerry LeVan <jerry(dot)levan(at)eku(dot)edu>, pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Universal libpq.a ?
Date: 2008-02-05 15:21:15
Message-ID: 20080205152115.GD4066@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Larry Rosenman wrote:
> On Tue, 5 Feb 2008, Dave Page wrote:

>> Another option which may be doable for someone with more knowledge of
>> make would be to build binaries for all architectures seperately (you
>> can build i386, ppc, x86_64 and ppc64), and then use lipo to glue them
>> together.
> I did essentially that, outside of make, for ppc/i386 doing 2 separate builds
> and then using lipo to join each file in bin and lib.

Sure looks like this should be doable with only Makefile rules. I very
much doubt it would be painless, though.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2008-02-05 15:21:56 Re: msvcr80.dll and PostgreSQL 8.3 under Windows XP
Previous Message Alvaro Herrera 2008-02-05 15:19:41 Re: Is my db dead ?