[Gta04-owner] Cross-compiling qtmoko-armhf (was: Re: qtmoko-navit: Gui blocks in town search in binfile maps.)
Hermann Schwärzler
hermann.schwaerzler at chello.at
Tue Mar 5 11:20:54 CET 2013
Hello
On 03/05/2013 09:32 AM, Stefan Wildemann wrote:
> Am 05.03.2013 08:49, schrieb Radek Polak:
[...]
>> 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/
@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"?
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
More information about the Gta04-owner
mailing list