• 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: Nick Zitzmann <email@hidden>
  • Date: Wed, 19 Jul 2006 16:49:01 -0600


On Jul 19, 2006, at 3:10 PM, Brant Sears wrote:

My xcode project is setup to use GCC 3.3 and the 10.3.9 SDK when building on PowerPC and GCC 4 and 10.4u sdk for the i386 architecture.

You can use GCC 4.0 to build for Mac OS X 10.3.9 if you wish. You just can't use it to target pre-10.3.9 unless your application uses no C++ or ObjC++ code.


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?


Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request




_______________________________________________ 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: "Brant Sears" <email@hidden>
References: 
 >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: Universal binary and dynamic lib problem
  • Next by Date: Possible C++ optimizer problem
  • Previous by thread: 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