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 want to create and 
then use lipo to combine them into a universal binary. 

-Jake


On Dec 29, 2011, at 2:43 PM, Peace wrote:

> 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 this. Searched online and scanned
> the list but haven't found a good way to search it.
> 
> Thanks,
> Peace

Reply via email to