• 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: Building a library using as universal for 10.3.9 ppc from an Intel build box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building a library using as universal for 10.3.9 ppc from an Intel build box


  • Subject: Re: Building a library using as universal for 10.3.9 ppc from an Intel build box
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 20 Jul 2006 07:39:26 -0700


On Jul 20, 2006, at 6:36 AM, Brant Sears wrote:

> Right now I have a build script that creates the library as 
> follows. First, I build the library as Universal using GCC 4. The, 
> I build it PowerPC only using GCC 3.3, then I use lipo to replace 
> the powerPC segment of the universal library with the PowerPC/GCC 
> 3.3 segment from the other library. Then, I use the "hybrid" library.

It sounds like you're doing too much work. Why not just set the 
target to use the 10.3.9 SDK on PPC and 10.4u SDK on Intel?

Set GCC_VERSION_ppc to 3.3 and GCC_VERSION_i386 to 4.0 and Xcode will do this all for you automatically.

http://developer.apple.com/documentation/DeveloperTools/Conceptual/cross_development/UniversalBinaries/chapter_4_section_1.html

Chris

 _______________________________________________
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: Building a library using as universal for 10.3.9 ppc from an Intel build box
      • From: "rohit dhamija" <email@hidden>
References: 
 >Building a library using as universal for 10.3.9 ppc from an Intel build box (From: "Brant Sears" <email@hidden>)
 >Re: Building a library using as universal for 10.3.9 ppc from an Intel build box (From: Nick Zitzmann <email@hidden>)
 >RE: Building a library using as universal for 10.3.9 ppc from an Intel build box (From: "Brant Sears" <email@hidden>)

  • Prev by Date: Re: clean / removing precompile headers broke
  • Next by Date: Re: compilation options
  • Previous by thread: RE: Building a library using as universal for 10.3.9 ppc from an Intel build box
  • Next by thread: Re: Building a library using as universal for 10.3.9 ppc from an Intel build box
  • Index(es):
    • Date
    • Thread