[cfe-dev] ObjectiveC on Windows using the Apple Obj C runtime
csdavec at swan.ac.uk
Thu Jan 21 10:51:52 PST 2010
On 21 Jan 2010, at 18:28, Jim Crafton wrote:
> "LLVM ERROR: Program used external function '__objc_exec_class' which
> could not be resolved!"
This sounds like you are generating code for the GNU runtime. __objc_exec_class() is the GNU Objective-C function that loads the Objective-C data within a compilation unit. To emit code that invokes Apple runtime, instead of GNU runtime, functions you will need to specify -fnext-runtime. This is not the default on any platform other than Darwin because the Apple runtime is not supported on any other platforms (although Apple uses it on Windows, and it may possibly work for you too).
This email complies with ISO 3103
More information about the cfe-dev