This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
help with objective c please!
- From: "Jeffrey C. Keller" <jck7765 at cs dot rit dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 11 Mar 2003 14:16:38 -0500
- Subject: help with objective c please!
Hello, we have gcc version 3.2 installed and have used it for C++ with
no problems. However, recently I've tried to compile Objective C
programs, but I can't get anything to work. I did pretty much the
standard install of the compiler. The error I got was:
gcc -lobjc main.m printer.m -o test
gcc: printer.m: No such file or directory
main.m:3:2: warning: #import is obsolete, use an #ifndef wrapper in the
header file
In file included from main.m:3:
Printer.h:1:25: objc/Object.h: No such file or directory
In file included from main.m:3:
Printer.h:7: cannot find interface declaration for `Object', superclass
of `Printer'
Any help would be appreciated. Thanks!
Jeff
--
------------------------------------------------
Jeffrey C. Keller
System Administrator's Group
Department of Computer Science
Rochester Institute of Technology
Rochester, New York 14623-5608
Phone: 585-475-7969 FAX: 585-475-7100
jck7765 at cs dot rit dot edu www.cs.rit.edu/~jck7765
------------------------------------------------