| From: | Dave Page <dpage(at)postgresql(dot)org> |
|---|---|
| To: | Ted Petrosky <tpetrosky(at)agencysacks(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: libpq.a in a universal binary |
| Date: | 2006-12-13 11:45:35 |
| Message-ID: | 457FE7DF.2080700@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Ted Petrosky wrote:
> Thanks for the reply.... at last nights cocoahead meeting in NYC I asked
> and found a solution for libpq.a.
>
> 1. config and make on a ppc
> 2. config and make on intel
>
> copy and rename the libpq.a from each system to a common directory and
> run 'lipo' on them:
>
> lipo libpqppc.a libpqintel.a -output libpq.a
>
> lipo will create the universal binary
Yeah - I looked at that option, but as I only have a G4 Powerbook at
present I'd need to cross compile the intel version, and I couldn't get
that to work at all!
The method I gave, while a little hacky, does work well and is pretty
straightforward. It's also probably the only way that would be practical
to build and install the whole tarball in a vaguely normal way (assuming
there weren't other issues preventing the build completing).
Regards, Dave
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bernd Helmle | 2006-12-13 12:15:46 | Re: TOAST table names |
| Previous Message | Heikki Linnakangas | 2006-12-13 11:37:44 | Plan invalidation plans |