Started a small tips&tricks page

with handy commands to achieve specific goals
This commit is contained in:
IOhannes m zmölnig 2016-10-03 15:49:36 +02:00 committed by IOhannes m zmölnig
parent f1b0e3c7b6
commit 0493d4a1e8

14
tips-tricks.md Normal file
View file

@ -0,0 +1,14 @@
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++`)