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)?
9 More Discussions You Might Find Interesting
1. HP-UX
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
2. 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
3. Programming
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
4. Linux
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
5. Programming
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:
http://www.broadinstitute.org/ftp/distribution/software/mapmaker3/The program was originally designed for systems like SunOS... (1 Reply)
Discussion started by: yifangt
1 Replies
6. Shell Programming and Scripting
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
7. UNIX and Linux Applications
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
8. UNIX for Beginners Questions & Answers
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
9. UNIX for Beginners Questions & Answers
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
LEARN ABOUT DEBIAN
ocamldebug
OCAMLDEBUG(1) General Commands Manual OCAMLDEBUG(1)
NAME
ocamldebug - the Objective Caml source-level replay debugger.
SYNOPSIS
ocamldebug [ options ] program [ arguments ]
DESCRIPTION
ocamldebug is the Objective Caml source-level replay debugger.
Before the debugger can be used, the program must be compiled and linked with the -g option: all .cmo and .cma files that are part of the
program should have been created with ocamlc -g, and they must be linked together with ocamlc -g.
Compiling with -g entails no penalty on the running time of programs: object files and bytecode executable files are bigger and take longer
to produce, but the executable files run at exactly the same speed as if they had been compiled without -g.
OPTIONS
A summary of options are included below. For a complete description, see the html documentation in the ocaml-doc package.
-c count
Set the maximum number of simultaneously live checkpoints to count.
-cd dir
Run the debugger program from the working directory dir, instead of the current working directory. (See also the cd command.)
-emacs Tell the debugger it is executed under Emacs. (See The Objective Caml user's manual for information on how to run the debugger
under Emacs.)
-I directory
Add directory to the list of directories searched for source files and compiled files. (See also the directory command.)
-s socket
Use socket for communicating with the debugged program. See the description of the command set socket in The Objective Caml user's
manual for the format of socket.
-version
Print version string and exit.
-vnum Print short version number and exit.
-help or --help
Display a short usage summary and exit.
SEE ALSO
ocamlc(1)
The Objective Caml user's manual, chapter "The debugger".
AUTHOR
This manual page was written by Sven LUTHER <luther@debian.org>, for the Debian GNU/Linux system (but may be used by others).
OCAMLDEBUG(1)