Fix the cross-compiling examples.
[wiki] / examples / cross-compiling-windows-binary.mdwn
index 3e3bd16..3fc4ae8 100644 (file)
@@ -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