Compiling Objective-C 2.0 under Linux

Thread Tools Search this Thread
Top Forums Programming Compiling Objective-C 2.0 under Linux
# 1  
Old 10-23-2009
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)? Smilie
# 2  
Old 10-23-2009
Objective C as used on the Macintosh is an almost wholly proprietary language for various reasons.
# 3  
Old 10-23-2009
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  
Old 10-26-2009
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  
Old 10-27-2009
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 CoronaSmilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Compiling Android system on Linux MInt

i have been trying to compile an android Marshmello system with no success. every time i try to compile i get this error javac: invalid source release: 1.7s Usage: javac <options> <source files> make: *** Error 41 #### make failed to build some targets (03:04 (mm:ss)) ####... (2 Replies)
Discussion started by: gearm
2 Replies

2. UNIX for Beginners Questions & Answers

Answers for few objective questions.

Hi Unix geniuses, I need your help for the answers of few objective Q&A. i dont know if my answers are correct or not. So i really need your help to provide the answers which will help me in unix programming. (1 Reply)
Discussion started by: Vivekit82
1 Replies

3. UNIX and Linux Applications

Pro*c file Compiling Issue in suse Linux

The existing .pc (pro *C) file is running successfully in UNIX. But when Iam trying to compile this same file in LINUX using proc iname filename.pc, Iam getting an error, proc file not recognized. Could someone help how to generate execute file from the proc*c file. what are the prerequisites... (2 Replies)
Discussion started by: vikrambharat
2 Replies

4. Shell Programming and Scripting

Compiling FORTRAN into Linux

Hello, I use Linux on Ubuntu 12.04. I have a fortran script with extension .f and I want to compile it to an executable file in linux. I have used this command: f77 -o snp_hwe.exe snp_hwe.f But I receive this error: (.text+0x18): undefined reference to `main' collect2: ld returned 1... (1 Reply)
Discussion started by: Homa
1 Replies

5. Programming

compiling old C program in Linux.

Hello, I am writing to ask for support about compiling an very old but famous C-progam for genetics study called MapMaker/QTL, and the source code is available from MIT: program was originally designed for systems like SunOS... (1 Reply)
Discussion started by: yifangt
1 Replies

6. Linux

Automate compiling of linux kernel

Hi, I'm a newbie at kernel compilation. Currently trying to do a bash script to automate the compiling process of the linux kernel. I'm having some problems with automating the configuration. I know its possible to load an existing .config file in the make menuconfig screen prompt. But... (3 Replies)
Discussion started by: aloe_vera
3 Replies

7. Programming

Cross compiling under Windows for Linux

I have two headless servers I am writing code for, and a Windows box networked with them. I want to compile my code within an IDE on the Windows box (eclipse most likely) and run the compiled binarys on the Linux boxes. Will this work? Using Cygwin (or MinGW)? Thoughts? Cheers, Ian (8 Replies)
Discussion started by: IanVaughan
8 Replies

8. Linux

Compiling Apple Top on Linux

Hello all. I recently tried compiling Apple's version of top on my Linux system. Can someone with some C experience explain why it won't build . . . and any tips to getting it to compile. Any help appreciated. BTW, you can pick up the Apple source code here: ... (0 Replies)
Discussion started by: blahblah
0 Replies

9. HP-UX

compiling linux driver to run on HPUX

Hi, a friend of mine gave me an old HP B180 Unix Workstation with HPUX, the only problem with that, the onboard graphicsbaord doesn´t work anymore. I want to buy a new PCI Graphicsboard (350RAMDAC), but they only have Linux drivers going with the card. Question: Is it possible to compile... (4 Replies)
Discussion started by: hilbi
4 Replies
Login or Register to Ask a Question