obj-c on windows

CodeLite installation/troubleshooting forum
duke4e
CodeLite Curious
Posts: 1
Joined: Thu Apr 19, 2012 1:41 am
Genuine User: Yes
IDE Question: c++
Contact:

obj-c on windows

Post 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.
User avatar
Jarod42
CodeLite Expert
Posts: 240
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: obj-c on windows

Post 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
Post Reply