Re: GObject Introspection as part of the GNOME platform
- From: Andy Tai <atai atai org>
- To: muppet <scott asofyet org>
- Cc: gtk-devel-list gnome org
- Subject: Re: GObject Introspection as part of the GNOME platform
- Date: Wed, 11 Mar 2009 08:39:05 -0700
On Wed, Mar 11, 2009 at 8:08 AM, muppet
<scott asofyet org> wrote:
Johan Dahlin wrote:
> As far as I can see there aren't any easy solutions.
> We're depending on libffi to calculate struct sizes for the typelib
> which is very
> much host and compiler dependent. g-ir-compile really needs to run on the
> target system the way things are setup right now. The same applies
> for the small generated program which introspects signals & properties, but
> that's probably easier to solve.
>
> In my opinion, supporting cross-compilation shouldn't be a blocker for
> integration into glib proper. It's more of a 'nice feature' to support.
I'm sure people putting gnome on phones will disagree.
Scratchbox? (for embedded devices)
You could do tricks like using the cross compiler to generate assembly instead
of machine code from specially-crafted, generated C code, and then parse the
resulting assembly to extract the structure sizes and offsets.
--
muppet <scott at asofyet dot org>
--
Andy Tai,
atai atai org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]