[arch-general] building x86_64 packages under qemu?

Thomas Bächler thomas at archlinux.org
Mon Jan 11 12:00:33 EST 2010


Am 11.01.2010 17:48, schrieb Chris Brannon:
> Is there any reason why building x86_64 packages under
> qemu-system-x86_64 would be a bad idea?  It is a little slow, but it is
> usable.  Plus, qemu has a curses interface.

It is not a little slow, but painfully slow (remember: the compiler runs
in an emulated environment, where each CPU instruction issued by the
compiler is translated into a CPU instruction that the host CPU
understands, and the result is somehow translated back). You could build
a package that consists of a handfull of source files, but any bigger
project will be impossible.

If you really want to do this, it might be better (but surely not
easier, this is rather Voodoo) to port makepkg to using a cross-compiler
toolchain.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20100111/1448dbcb/attachment.bin>


More information about the arch-general mailing list