aboutsummaryrefslogtreecommitdiff
path: root/doc/tor-win32-mingw-creation.txt
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2006-09-22 15:08:05 +0000
committerAndrew Lewman <andrew@torproject.org>2006-09-22 15:08:05 +0000
commit66092df5c3ccabf0b4d79ed8fdba0861092a3713 (patch)
treed22566dcf38004571c8e05c4d5d721072c21cb7c /doc/tor-win32-mingw-creation.txt
parente621c97d6eae5b050e571ff9033460f0cf3208e4 (diff)
downloadtor-66092df5c3ccabf0b4d79ed8fdba0861092a3713.tar
tor-66092df5c3ccabf0b4d79ed8fdba0861092a3713.tar.gz
Finally, valid tor.exe directions from scratch with mingw.
svn:r8457
Diffstat (limited to 'doc/tor-win32-mingw-creation.txt')
-rw-r--r--doc/tor-win32-mingw-creation.txt19
1 files changed, 6 insertions, 13 deletions
diff --git a/doc/tor-win32-mingw-creation.txt b/doc/tor-win32-mingw-creation.txt
index 0b6f8c446..b8291292b 100644
--- a/doc/tor-win32-mingw-creation.txt
+++ b/doc/tor-win32-mingw-creation.txt
@@ -33,10 +33,11 @@ Make openssl.dll:
cd tor-mingw/openssl-0.9.8c/
cd crypto/
find ./ -name "*.h" -exec cp {} ../include/openssl/ \;
-find ./crypto/ -type f -name "*.c" -exec cp {} test/ \
+find ./ -type f -name "*.c" -exec cp {} ../test/ \;
cd ../ssl/
find ./ -name "*.h" -exec cp {} ../include/openssl/ \;
-cp *.h ./include/openssl/
+cd ..
+cp *.h include/openssl/
cp ssl/ssltest.c test/
./Configure mingw
make
@@ -88,16 +89,7 @@ Extract libevent: tar zxf libevent-1.1b.tar.gz
Extract tor: tar zxf tor-alpha.tar.gz
Copy the libevent-1.1b diff into libevent-1.1b:
-cp /c/tor-mingw/tor/Win32Build/mingw/libevent-1.1b-mingw-custom.diff /c/tor-mingw/libevent-1.1b/
-patch -i libevent-1.1b-mingw-custom.diff
-
---This is a complete hack right now:
-remove from event.c and log.c:
-#ifdef __GNUC__
-#include "WIN32-Code/misc.h"
-#else
-#include "misc.h"
-#endif
+patch -p0 < ../tor-alpha/Win32Build/mingw/libevent-1.1b-mingw.diff
Run "aclocal && autoheader && automake && autoconf".
There may be WARNING messages. There will be no output if all runs successfuly.
@@ -115,5 +107,6 @@ tar zxf latest-tor-alpha.tar.gz
cd tor-alpha
./autogen.sh
./configure
+make
-(less magic happens here and a complete tor-alpha.exe is created)
+You now have a tor.exe in src/or/. This is Tor.