How do I write and compile Objective-C code?
clang, linux, objective-c
Solution
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
Problem
How do I write and compile Objective-C code in Linux? I heard about Clang, but I couldn't find any example/tutorial about Clang/LLVM/Objective-C.