[Gta04-owner] Cross-compiling qtmoko-armhf

Stefan Wildemann stefan.wildemann at metalstrolche.de
Tue Mar 5 11:26:34 CET 2013


Hello
Am 05.03.2013 11:20, schrieb Hermann Schwärzler:
>
> Now it should be easy to cross compile for armhf. There is now script
> in git:
>
> sudo scripts/qtmoko-chroot-armhf.sh
>
>> I've seen this, and I'll continue with bug-fixing gpsdwhereabouts that
>> way. Let's see if i can
>> cross compile navit as well. Unfortunately i've to port this to run with
>> Gentoo. (no big deal. Mostly
>> there is no cdebootstrap for gentoo, just debootstrap...)
> As I am using squeeze I was bitten by a bug in the debian-package of
> cdebootstrap (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671177).
> So I had to use debootstrap. I used this line:
>
> debootstrap --variant=minbase
> --include=build-essential,git,openssh-client,ccache,locales,procps,psmisc,libxext-dev,libasound2-dev,libdbus-1-dev,libssl-dev,libts-dev,libbluetooth-dev,libxtst-dev,libpng12-dev,libjpeg8-dev,libv4l-dev,libspeexdsp-dev,libglib2.0-dev,libsqlite3-dev,quilt,libgstreamer0.10-dev,libgstreamer-plugins-base0.10-dev,libpulse-dev,apt-utils
> wheezy ../qtmoko-chroot http://cdn.debian.net/debian/
This works. (I did this for armel before too)
>
> @radek: Why are you checking scripts/qtmoko-chroot-armhf.sh (line 69)
> for the existence of ".../arm-linux-gnueabi-gcc" before creating
> "finish_chroot_install.sh"? Shouldn't you check for
> "finish_chroot_install.sh"?
I've got a small issue with finish_chroot_install.sh afterwards. It 
tries to curl libpulse. But there is no curl.
Seems to be a difference between cdebootstrap and debootstrap.
> And another "problem" I had: For making the instructions in your README
> work I had to move the cloned git-repo to qtmoko-chroot/root/qte/qtmoko.
> Is this there right way to do it or is there a better way to this?
>
> Greetings
> Hermann
> _______________________________________________
> Gta04-owner mailing list
> Gta04-owner at goldelico.com
> http://lists.goldelico.com/mailman/listinfo/gta04-owner
Greetings Stefan


More information about the Gta04-owner mailing list