On Thu, Feb 25, 2010 at 10:04:59PM +0100, Steffen Möller wrote:
> arne anka wrote:
> >> So actually none of these crosscompiles ;) dpkg-cross is used for
> >> this, but don't ask me how to do it - I never tried.
> > 
> > p/qemubuilder does.
> > you need to set up it for armel, and iirc the debian on freerunner wiki
> > has a description, how to do that.
> > i got it once working on an x86 box but lost that boy due a new job.
> > with amd64, qemubuilder does still nnot work.
> 
> qemubuilder (to my understanding) compiles to arm on an arm platform,
> just that this arm platform is not a real one but virtualised -> not
> cross. You can have an arm compiler running on x86 or other platforms !=
> arm -> cross compilation.
> 
> I may have missed the start of this thread, can anybody run the
> qemubuilder on amd64 by now?
> 
> Cheers,
> 
> Steffen

@arne anka:
as Steffen said qemubuilder is not a crosscompiling setup, but
native compiling on a virtual system. Cross-compiling would be
if you have an x86-compiler, which generates armel bytecode. In
qemubuilder you have an emulator and an armel-compiler generating
armel bytecode. Crosscompiling is much faster than qemubuilder,
but some packages may not build correctly (e.g. when they try to
test the application by running it)

Apart from this I have a qemubuilder setup on an amd64 box - It
exists since Mai 2008 actually :D

s...@mars ~ % cat /etc/armelrc
ARCH=armel
MEMORY_MEGS=256
KERNEL_IMAGE=/var/cache/pbuilder/armel/vmlinuz-2.6.24-1-versatile
BASEPATH=/var/cache/pbuilder/armel/base.qemu
MIRRORSITE=http://ftp.de.debian.org/debian
DISTRIBUTION=sid
s...@mars ~ % ls -lh /var/cache/pbuilder/armel/
insgesamt 802M
-rw------- 1 root root 3,1G 15. Nov 01:20 base.qemu
-rw-r--r-- 1 root root 1,4M 24. Mai 2008  vmlinuz-2.6.24-1-versatile

-- Sebastian

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to