Re: patch to allow cross-compilation of glib



Hi,

Raja R Harinath <harinath cs umn edu> writes:

>     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.

thanks for the tip. The question is, will it work even though glib
doesn't use BUILT_SOURCES? I will ask our build team to give it a 
try tomorrow.

> I think it is somewhat ugly.  There's should be no need for this
> option on a tarball generated with 'make dist'.  If you change
> marshal.list, you can easily rebuild a target independent gmarshal.c
> with a parallel native build.  On the whole, I don't see this as being
> very useful.

I agree that it should only be added if the problem can't be solved
otherwise.


Salut, Sven




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]