Rusfearuth Rusfearuth - 5 months ago 15
Objective-C Question

How to objective-c in linux

G'day!

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