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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pd-dev mailing list
[email protected]
https://lists.puredata.info/listinfo/pd-dev

Reply via email to