[RFC] Use glib-2.0 exclusively

Paul Bender pebender at san.rr.com
Wed Aug 25 19:05:23 PDT 2010


On 8/24/2010 5:46 PM, Enrico Weigelt wrote:
> * Tollef Fog Heen<tfheen at err.no>  schrieb:
>> ]] Dan Nicholson
>>
>> | Not a big deal to me. Let's see if anyone else feels strongly about it.
>>
>> Nobody seems to have screamed about the idea of dropping the bundled
>> glib.
>
> Aehm, wait a minute!
> If you drop the bundled glib and then move to glib2, pkg-config will
> be _NOT_ crosscompilable anymore (since its dependencies aren't).

With some pain, I believe one can cross compile glib2. I cross compile 
it when building MiniMyth. While I must go though some slight gyrations 
to cross compile both glib2 (due to some of its configure rules) and its 
dependency pcre (due to a need for some native bins being used during 
build), it can be done.

When cross compiling, I expect pain. I do want it and I curse it when it 
occurs. However, after some pain, I have developed a few techniques that 
get me around the pain. I suspect that this is true for other that cross 
compile as well.

I would love not to have this pain. However, I am not sure that I would 
continue to bundle an old and obsolete package in a package that I 
maintained because it could save someone this pain. After all, so many 
packages I need to cross compile cause me this pain. Therefore, working 
around it feels almost natural.


More information about the pkg-config mailing list