Re: GObject Introspection as part of the GNOME platform

Johan Dahlin <[email protected]> Wed, 11 Mar 2009 11:41:58 -0300
Newsgroups gmane.comp.gnome.gtk+.devel.general,gmane.comp.gnome.language-bindings
Message-ID <[email protected]>
On Wed, Mar 11, 2009 at 9:55 AM, Rob Taylor <[email protected]> wr=
ote:
> Emmanuele Bassi wrote:
>
> This sounds great to me, though I do hope we can make sure there's an
> obvious approach to cross-compiling it before including in glib proper.
> =A0- and that includes good support for building the typelibs when
> cross-compiling. I recall early on we had a pretty good story here, but
> I'm not sure what the current state is.

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.

-- =

Johan Dahlin