• 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: Mixing Cocoa and Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Mixing Cocoa and Carbon
      • From: Ricky Sharp <email@hidden>
References: 
 >Mixing Cocoa and Carbon (From: Rick Langschultz <email@hidden>)

  • Prev by Date: Re: Getting a bullet into a NSString
  • Next by Date: Re: Some kind of view "reference" list
  • Previous by thread: Re: Mixing Cocoa and Carbon
  • Next by thread: Re: Mixing Cocoa and Carbon
  • Index(es):
    • Date
    • Thread