[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building from source for different arch



On Wed, Sep 11, 2013 at 09:03:47PM +0200, Slavko wrote:
> Hi,
> 
> Dňa Wed, 11 Sep 2013 23:00:03 +0400 recoverym4n@gmail.com napísal:
> 
> > Unless you intend to do something very strange (i.e. amd64.deb which
> > contains i386 binaries), you'll probably better build package for i386
> > in a pure i386 chroot (easily made by deboostrap).
> 
> Or in chroot created by the pbuilder, which is intented for packaging.

This will work for 32-bit builds on a 64-bit system for several
architectures.  With sbuild/schroot, it's also now possible to
debootstrap a completely foreign architecture and use qemu to
directly run emulated native builds in the chroot using the
kernel binfmt-misc support.  Maybe pbuilder has also picked up
this as well.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


Reply to: