Sorry, I should have been more clear.   

I believe that the open-embedded build system creates a cross compiler (gcc) that understands objective-c.  I think it might even create the libobjc runtime, but I cannot figure out how to use it.

If I invoke the compiler against a simple main.m, I get:

arm-angstrom-linux-gnueabi-gcc main.m
main.m:1:24: error: objc/Object.h: No such file or directory
In file included from main.m:2:
List.h:4: error: cannot find interface declaration for ‘Object’, superclass of ‘List’
main.m: In function ‘main’:
main.m:8: warning: ‘List’ may not respond to ‘+new’
main.m:8: warning: (Messages without a matching method signature
main.m:8: warning: will be assumed to return ‘id’ and accept
main.m:8: warning: ‘...’ as arguments.)

From this, it looks like the compiler understands objective-c but does not know the path to the libraries.

My PATH includes:

~/pixhawk.oe/tmp/cross/armv7a/bin

to reach this compiler.  But in that same area, there is no objective-c libraries...

Has anyone worked on how to get the Objective-C libraries installed for cross-compilation?  


Thanks,

Charlie

On Nov 20, 2009, at 12:17 PM, richard dorfner wrote:

http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Objective_002dC.html
http://gcc.gnu.org/onlinedocs/gcc-2.95.3/objc-features_toc.html
and
http://en.wikipedia.org/wiki/Objective-C



On Fri, Nov 20, 2009 at 11:08 AM, Charles Woloszynski
<charles.woloszynski@handheldmedia.us> wrote:
I am looking to use objective-c on a gumstix and I am looking for any
pointers.

Does anyone know of any work in this area?  The compiler seems to be
there, but I also need the runtime for objective-c.  Any thoughts?

Charlie


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users




--
Say you can or say you can't, either way you will be right.
Computers are like old testament gods: Lots of rules and no mercy.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users