Re: GObject Introspection as part of the GNOME platform
- From: "muppet" <scott asofyet org>
- To: gtk-devel-list gnome org
- Subject: Re: GObject Introspection as part of the GNOME platform
- Date: Wed, 11 Mar 2009 11:08:27 -0400 (EDT)
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.
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]