There are only a few packages that need to be installed as root to get started:
- sudo apt-get install mingw-w64 git-core wget
+ sudo apt-get install mingw-w64 git-core wget quilt
sudo apt-get build-dep tinc
Other Linux distributions may also have 64-bit MinGW packages, use their respective
use the 64-bit MinGW version of GCC and binutils:
mkdir $HOME/bin
- cat >$HOME/bin/mingw64 << EOF
+ cat >$HOME/bin/mingw64 << 'EOF'
#!/bin/sh
PREFIX=x86_64-w64-mingw32
export CC=$PREFIX-gcc
cd $HOME/mingw64/tinc
autoreconf -fsi
- ./configure --host=x86_64-w64-mingw32 --with-openssl=$HOME/mingw64/usr/local
+ ./configure --host=x86_64-w64-mingw32 --with-zlib=$HOME/mingw64/usr/local
make
There are only a few packages that need to be installed as root to get started:
- sudo apt-get install mingw-w64 wine git-core
+ sudo apt-get install mingw-w64 wine git-core quilt
sudo apt-get build-dep tinc
Other Linux distributions may also have MinGW packages, use their respective
use the MinGW version of GCC and binutils:
mkdir $HOME/bin
- cat >$HOME/bin/mingw << EOF
+ cat >$HOME/bin/mingw << 'EOF'
#!/bin/sh
PREFIX=i686-w64-mingw32
export CC=$PREFIX-gcc