Hi,
I don’t know I am in right channel to ask this question, if not then please guide me.
Currently, I am following https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/UsingXdeb for cross compiling using xdeb. I am using “raring” as a Ubuntu distribution.
So using above link, up to the section “Kick a build of grep and build-deps”, everything goes perfectly.
But, this shows how to build any single package like grep, libpng, etc..
If I want to build (cross-compile) all the “raring” Ubuntu Distribution package as one shot, how can I do??
Is there any tools available for cross compiling all packages ?? How can I setup auto builder machine??
Please guide me as I am stuck in doing single package one by one.
Regards,
Gaurang Shastri
+++ Gaurang Shastri [2013-08-06 19:09 +0530]:
[ I have now (as back from hols/debconf) talked to Gaurang and mailed him offline. But just a couple of things that a wider audience might find useful]
I don�t know I am in right channel to ask this question, if not then please guide me.
This is a pretty-good place to ask. debian-embedded@lists.debian.org is also sensible, and we are just in the process of creating debian-cross@lists.debian.org as a place for general cross-build related dsicussion for Debian and derivatives. That's currently waiting for an admin to actually do it.
Currently, I am following [1]https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/UsingXdeb for cross compiling using xdeb. I am using �raring� as a Ubuntu distribution.
In raring, you are likely to have more success using multiarch cross-building, than using xdeb. xdeb uses the older dpkg-cross -based cross-building method, which has been superceded by direct cross build-dep and building support in apt and dpkg. Raring is the first release where this works well enough to be recommended as the default method.
I hope that https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossbuildingQuick... makes this sufficiently clear. Please tell me if not.
�So using above link, up to the section �Kick a build of grep and build-deps�, everything goes perfectly.
But, this shows how to build any single package like grep, libpng, etc..
�If I want to build (cross-compile) all the �raring� Ubuntu Distribution package as one shot, how can I do??
Is there any tools available for cross compiling all packages ??
The short answer to this right now is 'no'.
Although for a released distro something like: for package in `read packagelist` do sbuild --host=armhf -c chroot -d distro $package done should work reasonably well if you can generate a list of the packages you need,
How can I setup auto builder machine??
This is something that we have made unreasonably difficult for many years. Solutions are coming (debile and pybit are current contenders), but sadly it's not easy, and nor is it documented. I really hope this will finally get fixed soon - some progress was made at debconf and I hope to try it (and document it if it works) soonish.
Wookey