Re: TechNote for building Universal Binary...
Re: TechNote for building Universal Binary...
- Subject: Re: TechNote for building Universal Binary...
- From: "Peter O'Gorman" <email@hidden>
- Date: Wed, 12 Apr 2006 22:32:08 +0900
On Wed, 2006-04-12 at 18:40 +0530, rohit dhamija wrote:
> 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.
>
No, if you create the binaries on 10.3.9, using the 10.3.9 tools, for
ppc only, and similarly create 10.4 intel binaries, for intel only, on
the intel system, then copy one set of binaries to the other system and
use lipo(1) to make the universal static archive, then it can be used by
10.3's ld(1).
Files created on 10.4, using 10.4's toolchain can not be used again with
10.3's tools. A universal static archive created on 10.4 can only be
used by the ld on 10.4 and later.
Hope this makes sense,
Peter
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________
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