Universal libpq.a ? - Mailing list pgsql-general

From Jerry LeVan
Subject Universal libpq.a ?
Date
Msg-id 004303C9-14B5-420B-A90C-9368C69130BF@eku.edu
Whole thread Raw
Responses Re: Universal libpq.a ?
List pgsql-general
Hi,

I am trying to bring one of my Cocoa based Postgresql browsers
up to date.

I would like to create a "universal", ie works on PPC and Intel
Macintosh
platforms, version of the application.

I guess the initial task would be to build a universal version of
libpq.a.

In the past I have created simple universal (command line) apps by
adding

CFLAGS=-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
LDFLAGS=-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -
arch i386

to the make file and adding an environmental variable
  MACOSX_DEPLOYMENT_TARGET=10.4
Has anyone built a universal libpq.a?
Which make files should I target for modification?

Thanks for any pointers :)

Jerry

pgsql-general by date:

Previous
From: Tom Hart
Date:
Subject: Re: postgresql book - practical or something newer?
Next
From: Raymond O'Donnell
Date:
Subject: Re: loading files into tables