| Objective-C on Ubuntu |
|
|
|
| Written by Josh B |
| Thursday, 16 April 2009 12:46 |
|
Here's a handy tip I've gleaned from the Ubuntu Forums. This will allow you to program and run basic Objective-C on Ubuntu Intrepid. Read on after the fold...
1) Install the GNU Objective-C compiler: sudo apt-get install gobjc 2) Write a quick bit of test code: // hello.m 3) Compile it: gcc -o hello hello.m -Wall -lobjc 4) Run it...! ./hello I'll leave it to the astute reader to figure out what it does. The main problem with seems to be that you can't (quite obviously) use the iPhone foundation libraries. But for something to knock code into quickly to see if it runs its quite handy. Its also handy to learn the basics of Objective-C when you don't have a Mac around.
|
| Last Updated on Thursday, 16 April 2009 12:56 |






Comments
RSS feed for comments to this post.