Well, it may not have been the most elegant of solutions, but it works...

Basically I downloaded the binary tarballs for each of the relevant 
architectures from the mySQL download page, and then used lipo to stitch the 
client libraries into the universal binary that I needed.  As an aside I have 
the 64bit PPC version as well - does anyone know if this is needed?

Many thanks to all for your help,

Mikey

On 23 Nov 2009, at 18:10, Andrew Farmer wrote:

> On 22 Nov 2009, at 22:33, Michael Davey wrote:
>> Yeah, thanks - but given that I cannot even get it to build I will worry 
>> about that once I get to the point where it is distributable ;o)
> 
> Fair enough!
> 
> For what it's worth, you should be able to compile a universal MySQL by 
> downloading the source and running:
> 
> export CFLAGS=-arch ppc -arch i386 -arch x86_64
> export CXXFLAGS=-arch ppc -arch i386 -arch x86_64
> export LDFLAGS=-arch ppc -arch i386 -arch x86_64
> ./configure --enable-static --disable-dependency-tracking
> make
> sudo make install
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to