34,333
edits
Changes
→Compiling Objective-C Code
From within a Terminal window change directory to the where you saved the hello.m source file and execute the following command to compile it:
<pre>gcc `gnustep-config --objc-flags` -L/usr/GNUstep/Local/Library/Libraries -lgnustep-base hello.m -o hello</pre>
If all goes well, the compilation should complete silently and the test application is ready to run. The program may be executed as follows: