OSX - building universal library binaries

2011-12-29 Thread Peace
What is the procedure for creating a universal binary on OSX? That is, a libthrift binary that supports i386, x86_64 and ppc. I built it on an OSX 10.7.1 system which produces x86_64 binaries by default and configure.sh doesn't accept -arch arguments. Hope I didn't miss an existing thread on

Re: OSX - building universal library binaries

2011-12-29 Thread Jake Farrell
The thrift build is not setup to create a universal binary currently. if you would like to create a ticket for this we can take a look at making this a global configure option. To set the arch you can pass CPPFLAGS='-arch i386' to configure. You should be able to use this for each arch you