[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8457: Finally, valid tor.exe directions from scratch with mingw. (tor/trunk/doc)
Author: phobos
Date: 2006-09-22 11:08:05 -0400 (Fri, 22 Sep 2006)
New Revision: 8457
Modified:
tor/trunk/doc/tor-win32-mingw-creation.txt
Log:
Finally, valid tor.exe directions from scratch with mingw.
Modified: tor/trunk/doc/tor-win32-mingw-creation.txt
===================================================================
--- tor/trunk/doc/tor-win32-mingw-creation.txt 2006-09-22 01:23:28 UTC (rev 8456)
+++ tor/trunk/doc/tor-win32-mingw-creation.txt 2006-09-22 15:08:05 UTC (rev 8457)
@@ -33,10 +33,11 @@
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,17 +89,8 @@
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
+patch -p0 < ../tor-alpha/Win32Build/mingw/libevent-1.1b-mingw.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
-
Run "aclocal && autoheader && automake && autoconf".
There may be WARNING messages. There will be no output if all runs successfuly.
@@ -115,5 +107,6 @@
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.