Page 1 of 1

obj-c on windows

Posted: Thu Apr 19, 2012 12:56 pm
by duke4e
Hey guys.

How to setup codelite to compile obj-c code on windows? If i rename the main.c to main.m compiler doesn't compile anything. I've tried to add -lobjc to linker settings, but that didn't help. Maybe this tutorial (from "that other IDE") could help someone to figure it out - http://wiki.codeblocks.org/index.php?ti ... C_Compiler, but I'm out of luck.

One more thing - i know the difference between obj-c and cocoa framework and I know that cocoa is OSX only. I just find obj-c syntax comfortable and want to work with it on windows.

Re: obj-c on windows

Posted: Thu Apr 19, 2012 1:28 pm
by Jarod42
in Settings -> Build Settings...

You have the setting of the compilers where you can add new compiler.

As I can see, there is already in File types for gnu compiler .m extension for objective C