[ODE] Building for both i386 and PPC on OS X
samuli at riihonen.net
Wed Oct 17 23:58:26 MST 2007
Has something been changed in the build system between 0.8 and 0.9
that disables the environmental CFLAGS and CXXFLAGS?
For some reason it seems that these values do not end up in the
generated Makefiles anymore.
On 18.10.2007, at 8.37, Samuli Riihonen wrote:
> Hi James and Hampus.
> You don't need two machines for building for different architectures.
> Just set the -arch -option to either ppc or i386
> Actually you can set both:
> CFLAGS=-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
> CXXFLAGS=-arch ppc -arch i386 -isysroot /Developer/SDKs/
> Also give configure the option:
> - Samuli
> On 18.10.2007, at 2.55, Hampa wrote:
>> Hi James,
>> I was looking for that as well but ended up compiling the library on
>> two machines then creating the universal lib with lipo.
>> Something like:
>> lipo -create libode_i386.a libode_ppc.a -output libode_uni.a
>> On 18 Oct 2007, at 4:56 AM, James Covington wrote:
>>> Currently when using Autotools configure sets the target system to
>>> whatever its running on. How would one build a Universal Binary? Is
>>> there an option I'm missing?
>>> ODE mailing list
>>> ODE at ode.org
>> ODE mailing list
>> ODE at ode.org
> ODE mailing list
> ODE at ode.org
More information about the ODE