[gobolinux-devel] Cross dependencies
Lucas C. Villa Real
lucasvr at gobolinux.org
Fri Dec 22 16:57:38 UTC 2006
On 12/22/06, Rafael Jeffman <rafasgj at gmail.com> wrote:
> On 12/20/06, Lucas C. Villa Real <lucasvr at gobolinux.org> wrote:
> >
> > GLib looks for 'glib-genmarshall' if cross-compiling.
>
> I'm not sure, but it seems to me that 'glib-genmarshal' does not
> depend on GLib and could have it's own package. Debian often has many
> packages creatend from a single source. I'm not a fan of this
> approach, but it seems feasible *for this specific case*, which
> doesn't seem to happen unless very occasionally.
Yes, it could.. but since this is a problem tied only to cross
compilation, maybe we can just enhance our CheckDependencies parser so
that it can recognize things like this in BuildDependencies:
GCC 4.1.1 [!cross]
GLib [cross,!ppc]
This would indicate that one need to have GLib on the host if cross
compiling (except if compiling for ppc), and that GCC should be
ignored if doing a cross compilation.
That way we don't need to enlarge our recipe/package store with small utilities.
--
Lucas
powered by /dev/dsp
More information about the gobolinux-devel
mailing list