• 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
Re: Universal build of cranky open source lib with a configure script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Universal build of cranky open source lib with a configure script


  • Subject: Re: Universal build of cranky open source lib with a configure script
  • From: Peter Mulholland <email@hidden>
  • Date: Fri, 26 Jan 2007 13:31:50 +0000

Hello Shamyl,

Wednesday, January 24, 2007, 8:01:48 PM, you wrote:

> 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?

Try using the method SDL uses for this - look at thier "gcc-fat.sh"
script which you pass to ./configure as the CC.

--
Best regards,
 Peter                            mailto:email@hidden

 _______________________________________________
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

References: 
 >Universal build of cranky open source lib with a configure script (From: Shamyl Zakariya <email@hidden>)

  • Prev by Date: Re: REZ Problems - SysError 0/2
  • Next by Date: Re: Universal build of cranky open source lib with a configure script
  • Previous by thread: Re: Universal build of cranky open source lib with a configure script
  • Next by thread: How to set space for ClockDate control.
  • Index(es):
    • Date
    • Thread