• 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: "Syd Polk" <email@hidden>
  • Date: Wed, 24 Jan 2007 14:16:58 -0600

Try using "--host".

--build - architecture of machine you are building on
--host - architecture of resulting binary
--target (for tools like compilers) - architecture of the binaries that your
program operates on.

> -----Original Message-----
> From: xcode-users-bounces+sydvicious=email@hidden
> [mailto:xcode-users-bounces+sydvicious=email@hidden
> ] On Behalf Of Shamyl Zakariya
> Sent: Wednesday, January 24, 2007 2:02 PM
> To: email@hidden
> Subject: Universal build of cranky open source lib with a
> configure script
>
> 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:
> 40mac.com
>
> This email sent to 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

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

  • Prev by Date: Re: Is there a 1GB memory ceiling for vm_allocate?
  • Next by Date: Re: Universal build of cranky open source lib with a configure script
  • Previous by thread: Universal build of cranky open source lib with a configure script
  • Next by thread: Re: Universal build of cranky open source lib with a configure script
  • Index(es):
    • Date
    • Thread