All of lore.kernel.org
 help / color / mirror / Atom feed
From: Charlie Woloszynski <cwoloszynski@yahoo.com>
To: openembedded-devel@lists.openembedded.org
Subject: Objective C cross compiler recipe?
Date: Fri, 20 Nov 2009 11:42:45 -0800 (PST)	[thread overview]
Message-ID: <721719.79016.qm@web53912.mail.re2.yahoo.com> (raw)

I am working on an OMAP project and I have been asked to include some Objective-C code into the project.  

I am looking at the build process and it looks like gcc-4.3.3 is built with objective C support, but I don't see the headers or runtime library installed anywhere for cross compilation.  

GCC, as put in ./tmp/cross/armv7a/bin, seems to know objective-c but does not know where to find its header files (and I assume its runtime will be an issue right after that)

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.)

I was hoping that someone who is familiar with the GCC recipes might be able to provide some guidance on this.

Anyone have any experience with this?  

Thanks,

Charlie






             reply	other threads:[~2009-11-20 19:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-20 19:42 Charlie Woloszynski [this message]
2009-11-20 20:55 ` Objective C cross compiler recipe? Phil Blundell
2009-11-21  9:19 ` Koen Kooi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=721719.79016.qm@web53912.mail.re2.yahoo.com \
    --to=cwoloszynski@yahoo.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.