Re: Improving cross compilation
- From: Allin Cottrell <cottrell wfu edu>
- To: Owen Taylor <otaylor redhat com>
- Cc: Michael Taht <mtaht mvista com>, gtk-list gnome org, gtk-app-devel-list gnome org, gtk-devel-list gnome org
- Subject: Re: Improving cross compilation
- Date: Tue, 17 Dec 2002 22:48:55 -0500 (EST)
On Tue, 17 Dec 2002, Owen Taylor wrote:
> Michael Taht <mtaht mvista com> writes:
>
> > Is there room on the schedule for the next release to improve cross
> > compilation for all the gtk related libraries, notably pkg-config?
>
> If you mean, by next release, the GTK+-2.4 release, sure, if
> someone wants to do the work and submits patches.
>
> I think for pkg-config, the main thing would simply be figuring
> out how it should work. A fairly obvious possibility would
> to:
>
> A) make pkg-config support --target in it's configure to
> install prefixed by $(host_alias)
>
> B) Make PKG_CHECK_MODULES look for the $(host_alias) prefixed
> pkg-config.
I'm not sure that work is necessary, given the ability to set
PKG_CONFIG_PATH. One can have just one installation of pkg-config
that serves all targets. E.g. I use plain /usr/bin/pkg-config in
setting up makefiles on Linux for cross-compiling GTK-based programs
for win32; I just ask it to look in /opt/mingw32/lib/pkgconfig for the
package info.
Allin Cottrell.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]