• 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: "Brant Sears" <email@hidden>
  • Date: Thu, 20 Jul 2006 15:23:34 -0400
  • Thread-topic: Building a library using as universal for 10.3.9 ppc from an Intel build box

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

As I stated previously, I am aware of these options and would have used them if the library was built with XCode which it isn't. It is built with gnu autotools (configure/make). This can't be easily changed because the library is being worked on continuously on Linux and it is not possible to maintain an XCode project file for it.


-----Original Message-----
From: Nick Zitzmann [mailto:email@hidden]
Sent: Thu 7/20/2006 3:22 PM
To: Brant Sears
Cc: email@hidden
Subject: Re: Building a library using as universal for 10.3.9 ppc from an Intel build box


On Jul 20, 2006, at 1:12 PM, Brant Sears wrote:

> To answer this: Specifying an SDK is pretty much meaningless for 
> compiling this particular library because it does not use any Mac 
> specific calls. It is C++ code that uses only BSD APIs.

Actually, the SDK also includes the stubs for BSD libraries in 
addition to the system frameworks, so it does have meaning if you're 
trying to target Panther. And there's an easier way of doing what 
you're doing that doesn't involve build scripts and works on Intel 
Macs. Just set the following settings in your target:

SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk
SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk
GCC_VERSION_ppc = 3.3
GCC_VERSION_i386 = 4.0

Then set the architectures to PPC and Intel. The PPC version will 
then be built using GCC 3.3 and the 10.3.9 SDK. The Intel version 
will be built using GCC 4.0 and the 10.4u SDK. This is assuming 
you're using Xcode 2.2 or later.

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

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>)
 >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>)
 >Re: Building a library using as universal for 10.3.9 ppc from an Intel build box (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Building a library using as universal for 10.3.9 ppc from an Intel build box
  • Next by Date: X Code Archives?
  • Previous by thread: Re: Building a library using as universal for 10.3.9 ppc from an Intel build box
  • Next by thread: Universal binary and dynamic lib problem
  • Index(es):
    • Date
    • Thread