Re: Mixing Cocoa and Carbon
Re: Mixing Cocoa and Carbon
- Subject: Re: Mixing Cocoa and Carbon
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 15 Mar 2006 09:51:28 -0500
On Mar 13, 2006, at 6:50 PM, Rick Langschultz wrote:
I was wondering if my application can run in cocoa on Mac OS X
10.4.-- and in Carbon on macs that don't support universal
binaries. I have an application written in Carbon from a few years
ago. I added some stuff to it, as well as ported it to Cocoa. Would
I have to create a wrapper program that decides what version to
run. Some of the code used in the cocoa version is specific to
intel only hardware (i.e. some ASM code)
This is an interesting question. Yeah - probably a wrapper would be
most appropriate. But if you could arrange it so that both binaries
are happy with the same bundled resources folder, then you could
conceivably use "lipo" to build a Universal binary with extremely
mismatched "forks." I don't see why you can't have two completely
distinct executables merged together into a single universal.
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden