Re: building from source for different arch

2013-10-08 Thread Roger Leigh
On Wed, Sep 11, 2013 at 09:03:47PM +0200, Slavko wrote: > Hi, > > Dňa Wed, 11 Sep 2013 23:00:03 +0400 recovery...@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

Re: building from source for different arch

2013-09-11 Thread recoverym4n
On Wed, 11 Sep 2013 21:03:47 +0200 Slavko wrote: > Hi, > > Dňa Wed, 11 Sep 2013 23:00:03 +0400 recovery...@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

Re: building from source for different arch

2013-09-11 Thread recoverym4n
Hi. On Mon, 09 Sep 2013 23:20:34 +0200 Lucio Crusca wrote: > I'm trying to build opus package from source for both amd64 and i386, after > having applied the patch by Pino Toscano I've found here: > > $ dpkg-buildpackage -ai386 >From my limited experience in this area, invoking dpkg-build

Re: building from source for different arch

2013-09-11 Thread Slavko
Hi, Dňa Wed, 11 Sep 2013 23:00:03 +0400 recovery...@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

Re: building from source for different arch

2013-09-10 Thread ken
On Mon, Sep 09, 2013 at 11:20:34PM +0200, Lucio Crusca wrote: I'm trying to build opus package from source for both amd64 and i386, after having applied the patch by Pino Toscano I've found here: Look at the manpage for gcc (which I'm assuming you'll be using) and you'll see switches for diffe

Re: building from source for different arch

2013-09-10 Thread Chris Bannister
On Mon, Sep 09, 2013 at 06:30:41PM -0700, Gregory Nowak wrote: > On Mon, Sep 09, 2013 at 11:20:34PM +0200, Lucio Crusca wrote: > > I'm trying to build opus package from source for both amd64 and i386, after > > having applied the patch by Pino Toscano I've found here: > > You might want to have a

Re: building from source for different arch

2013-09-10 Thread Ralf Mardorf
Did you google for "debian cross compiling"? Seemingly there are pre build toolchains available. https://wiki.debian.org/BuildingCrossCompilers https://www.google.de/search?q=debian+cross+platform+compiling&ie=utf-8&oe=utf-8&rls=org.mozilla:en-US:official&client=firefox-a&channel=np&source=hp&gw

Re: building from source for different arch

2013-09-10 Thread Lucio Crusca
In data lunedì 9 settembre 2013 18:30:41, Gregory Nowak ha scritto: > On Mon, Sep 09, 2013 at 11:20:34PM +0200, Lucio Crusca wrote: > > I'm trying to build opus package from source for both amd64 and i386, > > after > > > having applied the patch by Pino Toscano I've found here: > You might want t

Re: building from source for different arch

2013-09-09 Thread Gregory Nowak
On Mon, Sep 09, 2013 at 11:20:34PM +0200, Lucio Crusca wrote: > I'm trying to build opus package from source for both amd64 and i386, after > having applied the patch by Pino Toscano I've found here: You might want to have a look at apt-src or apt-build. I seem to recall that apt-build can build

building from source for different arch

2013-09-09 Thread Lucio Crusca
Hi, I'm trying to build opus package from source for both amd64 and i386, after having applied the patch by Pino Toscano I've found here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674467 What I've done so far is: $ apt-get source opus # apt-get build-dep opus $ patch -Np1 < .../o