comport/tips-tricks.md
IOhannes m zmölnig 0493d4a1e8 Started a small tips&tricks page
with handy commands to achieve specific goals
2018-02-07 16:21:01 +01:00

468 B

pd-lib-builder cheatsheet

cross-compiling W32 binaries from linux

I'm using the following to cross-compile W32 binaries on my Debian/64bit system, using mingw-w64.

Assuming you have unzipped a W32 package for Pd into ${WINPDPATH}, run:

make system=Windows pdbinpath="${WINPDPATH}/bin/" pdincludepath="${WINPDPATH}/src/" CC=i686-w64-mingw32-gcc

(if the project uses C++, you might also need to sed CXX=i686-w64-mingw32-g++)