Re: Compile Objective C 2.0 code on Linux
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Le 18 déc. 08 à 17:47, Jake McMahon a écrit : I hate to bring this up now but you guys have been so helpful. What about getting trying to accomplish this on the last binary version of Darwin released by Apple On Thu, Dec 18, 2008 at 11:44 AM, Benjamin Huntsman <BHuntsman@mail2.cu-portland.edu> wrote: Good luck!! -Ben _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... autozone is a garbage collector that garbage collects a specific region of memory, the AutoZone... :) I'd think it'd be a major horror to port to Linux, given that it's memory model is different, and I doubt you want to monkey with that anyway. I'd start by looking at the older PureDarwin releases (puredwarin.googlecode.com). They had a patch for objc4 that eliminated the dependency on autozone. They got removed from the distribution after Apple open-sourced autozone, though. If you can't find 'em, I'll e-mail the diffs to you. I'd start by applying the patches, then try to get objc4 ported. Contrary to what someone mentioned earlier, it -does not- depend on Foundation. It does however depend on CoreFoundation, which is open source and has been successfully compiled on Linux... That's not how I interpret this comment from objc_exception.m (in obj4 project): // quick and dirty exception handling code // default implementation - mostly a toy for use outside/before Foundation // provides its implementation // Perhaps the default implementation should just complain loudly and quit objc4 used to run on several UNIXes, and Windows, so it should be possible to port, though it'll be some heavy-duty work, as Apple stripped out all the cross-platform stuff. While I think it'd be a great service to the community to have Apple's runtime available on other platforms (after all, they pretty much own obj-c), it might be easier to implement objc 2.0 features in the GNU runtime... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jean-Daniel Dupas