Rusfearuth Rusfearuth - 1 year ago 99
Objective-C Question

How to objective-c in linux


Could you give some information about how to write and compile source code in Objective C in linux.

I had had heard about clang, but I couldn't find any examples/tutorials clang/llvm/obj-c.

PS. Thanks for help

Answer Source
sudo apt-get install build-essential gobjc gobjc++ gnustep gnustep-devel libgnustep-base-dev -y
vi *.m
gcc `gnustep-config --objc-flags` *.m -lgnustep-base -lobjc