The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cross compiling under Windows for Linux IanVaughan High Level Programming 8 10-06-2009 01:54 PM
Objective-C Foundation Classes 0.8.1 (Default branch) iBot Software Releases - RSS News 0 09-09-2008 09:50 PM
UNIX command: mv - Objective: move files based on timestamp HLee1981 UNIX for Dummies Questions & Answers 4 07-11-2008 02:02 PM
compiling 32 bit application on 64 bit linux(x86_64) uttamhoode Gentoo 3 12-17-2007 02:21 PM
Compiling Apple Top on Linux blahblah Linux 0 05-24-2005 03:21 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-23-2009
inquen inquen is offline
Registered User
  
 

Join Date: Apr 2009
Location: New York City
Posts: 7
Compiling Objective-C 2.0 under Linux

Hello all, I am new to programming and currently I am taking a swing at Objective-C. I easily compile my programs on my Macintosh, and have compiled some Objective-C programs on my linux box.

The problem I am having is when I try to use features demonstrated in the book Programming in Objective-C 2.0 by Stephen Kochan, aand that is using Ocj-C 2.0 Features like @property and @synthesize.

Does anyone know how, if at all, I might be able to compile Objective-C code using these new language features on Linux(More specifically I'm using Ubuntu)?
  #2 (permalink)  
Old 10-23-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,942
Objective C as used on the Macintosh is an almost wholly proprietary language for various reasons.
  #3 (permalink)  
Old 10-23-2009
inquen inquen is offline
Registered User
  
 

Join Date: Apr 2009
Location: New York City
Posts: 7
Thank you for your response, Could you provide me with any information that might point me in the direction of an update GNUStep compiler that might be able to use those features on Linux?

Normal Objective-C programs run fine on my installation of Ubuntu.
  #4 (permalink)  
Old 4 Weeks Ago
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,942
GNUstep does not have these proprietary, OSX-specific language extensions, as I noted the first time you asked. If you want them you'll need to ask the GNUstep people to risk copyright fallout from Apple by adding them. Writing portable code in the first place would be a better idea, if MacOSX will let you.
  #5 (permalink)  
Old 4 Weeks Ago
inquen inquen is offline
Registered User
  
 

Join Date: Apr 2009
Location: New York City
Posts: 7
Thank You for the link, I had no idea Objective-C was like that. It's a shame, I really looked forward to completing the examples in that book sitting @ my desk, I don't think the hardware on my pc is compatible OS either, so I'm confined to my laptop.

Thank you for taking the time to dig up that post Corona
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0