Started a small tips&tricks page
with handy commands to achieve specific goals
This commit is contained in:
parent
f1b0e3c7b6
commit
0493d4a1e8
1 changed files with 14 additions and 0 deletions
14
tips-tricks.md
Normal file
14
tips-tricks.md
Normal 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++`)
|
||||||
Loading…
Reference in a new issue