X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=examples%2Fcross-compiling-windows-binary.mdwn;h=3fc4ae8bfe2598e8d95cf8d90c2153224d855f97;hb=5ceefb161518b0649dd386a1d3c406a55bd424da;hp=3e3bd16c775b5c432caaabc405b75ba5c8065eb0;hpb=7e9013f3810b5d012a3419c84732f605f051a1af;p=wiki diff --git a/examples/cross-compiling-windows-binary.mdwn b/examples/cross-compiling-windows-binary.mdwn index 3e3bd16..3fc4ae8 100644 --- a/examples/cross-compiling-windows-binary.mdwn +++ b/examples/cross-compiling-windows-binary.mdwn @@ -24,7 +24,7 @@ The idea is simple: 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 @@ -52,7 +52,7 @@ up the necessary environment variables so configure scripts and Makefiles will 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