+++ Dechesne, Nicolas [2010-07-26 14:39 +0200]:
> On 07/25/2010 02:48 PM, Wookey wrote:
> > +++ Dechesne, Nicolas [2010-07-23 14:46 +0200]:
> >    
> >>      
> > You can use -X to exclude all the dependencies which are in fact
> > arch-independent so:
> > dpkg-cross -a armel -X pkg-config -i foo-dev_armel.deb
> > will perhaps do the trick for you.
> >    
> it is now working fine with the -X option. is it an acceptable solution 
> to cross install pkg-config package? I guess it would in turn install 
> pkg-config-armel-cross, right?

It is acceptable, but pointless. pkg-config does not contain any files
which should be cross-installed so after dpkg-cross has processed it
from pkg-config_0.25-1_armel.deb to
pkg-config-armel-cross_0.25-1_all.deb 
you get a null package, containing nothing but a README file. This is
a dependency which should be supplied by the native pkg-config package.

> i will look into xdev, as recommended in this mailing list as well. 
> thanks a lot for your help.

No problem. I am in the process of writing up an overview of the
current state of cross-building in Debian and Ubuntu because there are
a number of tools with different pros and cons and it's hard to
understand what you should/shouldn't be doing if you come to it fresh.

I hope that'll appear later this week, or maybe during Debconf.

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to