I wish to compile TOR into DLL, so that I can include it in C# project. I will then use pInvoke to start it.
Currently to compile I use following steps, but it builds tor.EXE
- Type "tar zxf tor- 0.3.1.9.tar.gz "
- cd tor- 0.3.1.9
- Type "./configure --disable-gcc-hardening --enable-static-libevent --enable-static-openssl --enable-static-zlib --with-libevent-dir=../libevent-2.0.21-stable/ --with-openssl-dir=../openssl-1.0.1h/ --with-zlib-dir=../zlib-1.2.8/"
- Type "make"
So can anyone guide me, how can I compile TOR into DLL ?