• 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: "rohit dhamija" <email@hidden>
  • Date: Thu, 20 Jul 2006 20:46:27 +0530

Please correct me if I am wrong
So incase i have 
1) I have a universal static binary i.e ppc arch + i386 arch
2)  Build a ppc static library on Mac OS X 10.3.9
 
In order to make a single library
 
(a)  remove the ppc part from the Universal static binary
i.e. UniversalBin.a to i386.a
 
(b) Now take the resultant library from (a) and ppc_specific_10.3.9 library and create a new library out of it.
 
So this makes out the final Universal static library that should ideally run on Mac OS X 10.3.9, 10.4.7 ppc and intel.
 
If that's true, than why apple people claim to make universal static library using Xcode 2.2 ?
Thanks,
Rohit


 
On 7/20/06, Peter O'Gorman <email@hidden> wrote:
On Thu, 2006-07-20 at 20:32 +0530, rohit dhamija wrote:
> No Chris ,build a Universal Static library with the setting u just
> wrote. Now try to link this static libray with application on Mac OS X
> 10.3.9 and it will throw several errors during link time
>

As far as I'm aware, you can not use a static library that was built
with the tools on a 10.4.x system with the tools on a 10.3.x system. If
you want to do such a thing, build the ppc part of the library on 10.3
and the intel bit on 10.4 and lipo.

Peter


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iQCVAwUARL+cf7iDAg3OZTLPAQJnagQApog54LdFbAqNaV+81yajxZ7dJTSX4RB6
kJYfTihY1/2jPhXYjtLaDBmWnNLztAcr3aFYOQK3+xNEofIh24pqOefjeGB553Oa
YUKKHeepiHc0CaJrvo7j1IkqVdWnq0uDZ3uGX6hUJXvCWu69lQ1pH5q3Fn8D7uHZ
8thtfyf9PNM=
=ZaSB
-----END PGP SIGNATURE-----





--
Rohit Dhamija(M) 9818446545
 _______________________________________________
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: "Peter O'Gorman" <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: Chris Espinosa <email@hidden>)
 >Re: Building a library using as universal for 10.3.9 ppc from an Intel build box (From: "rohit dhamija" <email@hidden>)
 >Re: Building a library using as universal for 10.3.9 ppc from an Intel build box (From: "Peter O'Gorman" <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: Re: Building a library using as universal for 10.3.9 ppc from an Intel build box
  • 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