Re: [HACKERS] libpq.a in a universal binary

2006-12-16 Thread Ted Petrosky
take a look at this link http://www.entropy.ch/blog/Software/2006/02/04/PostgreSQL-Universal- Binary-Build-Tips.html does this help? Ted On Dec 14, 2006, at 2:37 PM, Shane Ambler wrote: Dave Page wrote: Shane Ambler wrote: # make distclean # CFLAGS=-isysroot

Re: [HACKERS] libpq.a in a universal binary

2006-12-15 Thread Dave Page
Ted Petrosky wrote: take a look at this link http://www.entropy.ch/blog/Software/2006/02/04/PostgreSQL-Universal-Binary-Build-Tips.html I've seen links to there before, but it always times out for me. As it is now :-( I've got your followup email though, so I'll try a build as soon a

Re: [HACKERS] libpq.a in a universal binary

2006-12-14 Thread Ted Petrosky
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

Re: [HACKERS] libpq.a in a universal binary

2006-12-14 Thread Dave Page
Shane Ambler wrote: # make distclean # CFLAGS=-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 LDFLAGS=-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 ./configure --with-openssl --prefix=/usr/local # make all After reading the Apple tech doc on this

Re: [HACKERS] libpq.a in a universal binary

2006-12-14 Thread Shane Ambler
Dave Page wrote: Shane Ambler wrote: # make distclean # CFLAGS=-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 LDFLAGS=-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 ./configure --with-openssl --prefix=/usr/local # make all After reading the Apple tech

Re: [HACKERS] libpq.a in a universal binary

2006-12-13 Thread Dave Page
Ted Petrosky wrote: I am trying to create the libpq.a as a universal binary (both ppc and intel macs). Does anyone have any information on this process? I use the following notes to build libpq and the bin/ tools to ship with pgAdmin. I know it is possible to build the entire server, as a

Re: [HACKERS] libpq.a in a universal binary

2006-12-13 Thread Dave Page
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