[PD-dev] Compile i386 externals on Linux amd64

IOhannes m zmoelnig zmoelnig at iem.at
Tue Apr 30 09:39:15 CEST 2019


On 29.04.19 13:44, Roman Haefeli wrote:
> Hey all
> 
> Is there an easy way to use the pd-lib-builder Makefile to compile
> externals for Linux i386 on Linux amd64? Currently, I'm using a Debian
> Stretch i386 KVM VM specifically for this purpose. But since I am
> successfully cross-compiling for  Windows 32bit and 64bit targets with
> mingw compiler, I was wondering if it was as easy to cross-compile for
> Linux as easily.

- read the pd-lib-builder documentation on cross-compiling (you already
have done that :-))
- install a cross-compiler for the i686-linux-gnu architecture.

this boils down to:

# apt-get install gcc-multilib-i686-linux-gnu
$ make CC=i686-linux-gnu-gcc

(you might also have to enable multiarch:i386 on your target system; i
have this enabled on virtually all desktop machines, so i couldn't tell
the difference)

fgmasdr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20190430/69ca81ef/attachment.sig>


More information about the Pd-dev mailing list