Re: patch to allow cross-compilation of glib
- From: Tim Janik <timj gtk org>
- To: Raja R Harinath <harinath cs umn edu>
- Cc: Sven Neumann <sven gimp org>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: patch to allow cross-compilation of glib
- Date: Wed, 1 Aug 2001 00:46:27 +0200 (CEST)
On Tue, 31 Jul 2001, Raja R Harinath wrote:
> Sven Neumann <sven gimp org> writes:
> > at the moment, glib can not be cross-compiled, since it executes
> > the glib-genmarshal binary created for the target platform during
> > the build.
> Maybe it shouldn't. Isn't the output of 'glib-genmarshal' target
> independent. I think the best option is to create 'gmarshal.c' on a
> native build, and cross-compile that.
> cd path/to/glib
> mkdir -p build/native build/cross
> cd build/native && do native configure && make
> cd ../cross && do cross configure --disable-rebuilds && make
> should do the trick.
good idea. i spoke to mitch on irc about this and allowing for
an externally callbale glib-genmarshal was the obvious thing that
came to mind for me.
however if this can be avoided and the above way works, i'd rather
not allow overriding glib-genmarshal from configure.in (have some
performance hacks pending which really require glib<->llib-genmarshal
sven, can you make sure this works for you? if so, please
commit just the cosmetic cleanups to configure.in ;)
> - Hari
] [Thread Prev