• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Universal build of cranky open source lib with a configure script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Universal build of cranky open source lib with a configure script


  • Subject: Universal build of cranky open source lib with a configure script
  • From: Shamyl Zakariya <email@hidden>
  • Date: Wed, 24 Jan 2007 15:01:48 -0500

I'm trying to build a ppc lib from my intel mac, so I can lipo it together with the intel lib. I've read a few docs off ADC which gave me the general idea to build it twice, once native, the other for ppc. The instructions given may work in some places, but they don't seem to be working for me to build a universal library of ODE ( Open Dynamics Engine )

I've tried the approach from Technote 2137, where I set the CFLAGS and LDFLAGS to result in a universal build, but that doesn't work -- the compile fails arguing that the cpu types don't add up right.

I've also tried setting up the configure script to crosscompile:

./configure --build=ppc-apple-darwin8.8.2 --enable-release --with- trimesh=gimpact --prefix=/Users/zakariya/Projects/ODE/buildppc/

This one builds, but when I examine the output library, it's i386, not PPC. I've tried a number of variations of the parameters, but no matter what, I get intel binary output.

In the end, I might just try to build this on a PPC, and lipo that output with the local build, but getting ODE to build on OS X required some mojo with the X11 headers which I... embarrassingly... can't recall how I did :p

So local cross compiling is appealing, obviously. Any ideas?

email@hidden
"Such a theory has to be bizarre and elaborate, as well as being stupid"
-- Jim Loy, regarding a hollow earth



_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Universal build of cranky open source lib with a configure script
      • From: Peter Mulholland <email@hidden>
    • Re: Universal build of cranky open source lib with a configure script
      • From: "Peter O'Gorman" <email@hidden>
    • Re: Universal build of cranky open source lib with a configure script
      • From: "Alexander v. Below" <email@hidden>
    • RE: Universal build of cranky open source lib with a configure script
      • From: "Syd Polk" <email@hidden>
  • Prev by Date: Re: gcc4 optimization problems on intel mac
  • Next by Date: Re: Is there a 1GB memory ceiling for vm_allocate?
  • Previous by thread: Re: Saving IB's NIB file window size and location
  • Next by thread: RE: Universal build of cranky open source lib with a configure script
  • Index(es):
    • Date
    • Thread