> export PATH="$HOME/bin:$PATH"
We use this script to call `./configure` and `make` with the right environment
-variables. You can also run the export commands from the `mingw` script by
+variables, but only when the `./configure` script doesn't support cross-compilation itself.
+You can also run the export commands from the `mingw` script by
hand instead of calling the mingw script for every `./configure` or `make`
command, or execute `$HOME/bin/mingw $SHELL` to get a shell with these
environment variables set, but in this howto we will call it explicitly every
Cross-compiling LZO is easy:
-> cd $HOME/lzo2-2.03
-> mingw ./configure --host=mingw32
-> mingw make
-> DESTDIR=$HOME/mingw mingw make install
+> cd $HOME/mingw/lzo2-2.03
+> ./configure --host=i586-mingw32msvc
+> make
+> DESTDIR=$HOME/mingw make install
### Compiling Zlib
> cd $HOME/mingw/tinc
> autoreconf -fsi
-> mingw ./configure --host=mingw32 --with-openssl=$HOME/mingw/usr/local
-> mingw make
+> ./configure --host=i586-mingw32msvc --with-openssl=$HOME/mingw/usr/local
+> make
### Testing tinc