• 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
Can a 32bit only MacOS Application use 64bit-only Frameworks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can a 32bit only MacOS Application use 64bit-only Frameworks?


  • Subject: Can a 32bit only MacOS Application use 64bit-only Frameworks?
  • From: Motti Shneor <email@hidden>
  • Date: Tue, 30 Sep 2014 22:49:19 +0300

Hello everyone. This seems to be an upside-down question, but bare with me...

Our Mac Client-side application can (sadly) only be built and run in 32bit-only. Reason is: bit parts of it are legacy 32bit-only C++ code shared with other platforms (Windows, Android, Linux, etc.) client code as well as the Windows-only server. This code contains  networking-protocol code which is 64bit unsafe, and so it can't really be replaced.

Until All platforms and products move together to 64bit, we're bound to build our app 32bit only.

Now I'm building a new module for this application as an external private dynamic framework. I would like to use ARC, and the new niceties of modern Obj-C runtime for the new framework, but these are only available in 64bit-only builds.

So… Could my 32bit-only Mac Application depend-on, load, link, and use, a 64bit-only framework?

As far as I know the ObjC-runtime is compiled into the binary, and so it CAN theoretically be different for the framework and the application. But this is just a guess.

Any hint will be greatly appreciated.

Motti Shneor
e-mail: email@hidden
----------------------------------------
Ceterum censeo Microsoftinem delendam esse

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Can a 32bit only MacOS Application use 64bit-only Frameworks?
      • From: "Clark S. Cox III" <email@hidden>
    • Re: Can a 32bit only MacOS Application use 64bit-only Frameworks?
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: incrementally adopt auto layout with storyboards?
  • Next by Date: Re: Can a 32bit only MacOS Application use 64bit-only Frameworks?
  • Previous by thread: incrementally adopt auto layout with storyboards?
  • Next by thread: Re: Can a 32bit only MacOS Application use 64bit-only Frameworks?
  • Index(es):
    • Date
    • Thread