projects
/
wiki
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the cross-compiling examples.
[wiki]
/
examples
/
cross-compiling-windows-binary.mdwn
diff --git
a/examples/cross-compiling-windows-binary.mdwn
b/examples/cross-compiling-windows-binary.mdwn
index
3e3bd16
..
3fc4ae8
100644
(file)
--- 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:
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
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
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
#!/bin/sh
PREFIX=i686-w64-mingw32
export CC=$PREFIX-gcc