 |
How to compile plugins in Linux for Windows. |
|
 |
|
- Install MinGW (Minimalist GNU for Windows)
In Gentoo Linux, you can type the commands:
emerge dev-util/xmingw-runtime
emerge dev-util/xmingw-binutils
emerge xmingw-gcc
|
After installing you need these variables, set somewhere:
export PATH=$PATH:/opt/xmingw/bin
export CPPFLAGS="-I /opt/xmingw/i386-mingw32msvc/include"
|
In Debian linux, you can run the following command to install the
MinGW32 package:
-
|