[cfe-dev] ObjectiveC on Windows using the Apple Obj C runtime

Jean-Daniel Dupas devlists at shadowlab.org
Fri Jan 22 08:57:16 CST 2010


Le 22 janv. 2010 à 15:41, Jim Crafton a écrit :

>> Yes, it depends what you mean by minimal.
>> It should be fine if you don't plan to use Block, Exception, Forwarding , synchronize, etc…
> 
> So are those things part of the Objective C, or just some extension?
> Are you saying exception handling is fundamentally dependent on the
> Foundation kit? Oh well, maybe it's just not worth the bother then.
> 

The Apple runtime is design to be used with (Apple) Foundation framework. 

See for example the comment in objc-exception.m

// 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

You can probably rewrite some part to replace Foundation.

I don't know which runtime Cocotron uses, but as it is design for Windows, you may have a look at it.

http://code.google.com/p/cocotron/


-- Jean-Daniel




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.uiuc.edu/pipermail/cfe-dev/attachments/20100122/d1e0a93e/attachment.html 


More information about the cfe-dev mailing list