On Wed, Mar 11, 2009 at 9:55 AM, Rob Taylor <rob.tay...@codethink.co.uk> wrote:
> 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.
>  - 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
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to