Re: TechNote for building Universal Binary...
Re: TechNote for building Universal Binary...
- Subject: Re: TechNote for building Universal Binary...
- From: "rohit dhamija" <email@hidden>
- Date: Wed, 12 Apr 2006 18:40:29 +0530
Hi Peter,
Do you mean to say if I set the Target as Mac OS 10.3.9 instead of Mac OS 10.4 (Universal), then the binary will become universal. If yes, then can the same binary run on Mac OS 10.4 powerpc and intel ?
Please correct me if I am wrong.
Can you please explain what do you mean by thin library. Any links/references will be of great help.
Actually, we need to ship our product with components (i.e. framework , library, jni etc) as a universal binary on 10.3.9 , 10.4 ppc and intel mac. So if there is no alternative then we need decide what seperate components will be in ppc also .
Thanks ,
RDH
A universal binary, targetting 10.3.9, set up properly, will run on
10.3.9. So, if you use your universal static archive to create a
universal executable, the executable will run. However, Apple has, to my
knowledge, not made any promises that a static archive created on 10.4
will be usable by the tools on 10.3.
You can create a thin library on your 10.3 ppc system, and a thin
library on your 10.4 i386 system and use lipo(1) to stick them together.
On 4/12/06, Peter O'Gorman <email@hidden> wrote:
On Wed, 2006-04-12 at 15:50 +0530, rohit dhamija wrote:
> Yes, I mean to say that I am linking the static universal binary with
> console based app in Mac OS 10.3.9 .
>
> B/w is this issue related with gcc or with the Operating System
> Panther ?
>
> What in case I upgrade gcc to version 4 on my Mac OS 10.3.9. Will that
> serve the purpose ?
>
> Also, What is the way around to use a single universal binary static
> library for 10.3.9 , 10.4+ppc and intel ??
>
A universal binary, targetting 10.3.9, set up properly, will run on
10.3.9. So, if you use your universal static archive to create a
universal executable, the executable will run. However, Apple has, to my
knowledge, not made any promises that a static archive created on 10.4
will be usable by the tools on 10.3.
You can create a thin library on your 10.3 ppc system, and a thin
library on your 10.4 i386 system and use lipo(1) to stick them together.
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
iQCVAwUARDz1pLiDAg3OZTLPAQLE7AQApDshyWlrt/wDDV6cyctY6WGKoeoxId1H
N7ZPFXnorxOr4WhPIlM82/X5KuvVKmHT6n6UsgJfsbYOrmvrzI0yrIIfRYAN1eiD
3sS1HSelW2oDQyem8vYZlleGxWi2FwdqIYvQKK3cr2egSRH+ogoSOZ0c726IYt9T
0w6WSxKw2pM=
=4j5l
-----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