[Stk] building libstk on OSX as Intel or Universal

Stephen Sinclair sinclair at music.mcgill.ca
Fri Mar 28 20:10:39 PDT 2008


Jerzy Gangi wrote:
> Hi,
>
> I'm trying to get started with the STK, which looks very cool! Could
> anyone help: I am trying to build the libstk as a Intel or Universal
> Binary library. Right now it builds as a PPC library, and I do not
> know how to change that.
>   

Hi Jerzy,

I don't have time to try it right now, but I suggest the following:

CFLAGS="-march=i386" ./configure; make

After building the PPC and i386 versions, you can combine them to a 
universal using the "lipo" tool.  Again, I haven't tested this to take 
it with a grain of salt.


Steve




More information about the Stk mailing list