Search Postgresql Archives

Universal libpq.a ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux