From 7ae0c0f23f9ea6ca03eeb5288e3ce83dbf760c22 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 17 Aug 2008 11:30:24 +0000 Subject: [PATCH] added documentation on how to build openssl for windows --- docs/building.html | 17 +++++++++++++++++ docs/building.rst | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/docs/building.html b/docs/building.html index 2a1b4aa3f..080b7bd7d 100644 --- a/docs/building.html +++ b/docs/building.html @@ -28,6 +28,7 @@
  • building with autotools
  • building with other build systems
  • build configurations
  • +
  • building openssl for windows
  • @@ -676,6 +677,22 @@ the header files and cpp files. definitely help to define NDEBUG, since it will remove the invariant checks within the library.

    +
    +

    building openssl for windows

    +

    To build openssl for windows with Visual Studio 7.1 (2003) execute the following commands +in a command shell:

    +
    +perl Configure VC-WIN32 --prefix="c:/openssl
    +call ms\do_nasm
    +call "C:\Program Files\Microsoft Visual Studio .NET 2003\vc7\bin\vcvars32.bat"
    +nmake -f ms\nt.mak
    +copy inc32\openssl "C:\Program Files\Microsoft Visual Studio .NET 2003\vc7\include\"
    +copy out32\libeay32.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\vc7\lib"
    +copy out32\ssleay32.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\vc7\lib"
    +
    +

    This will also install the headers and library files in the visual studio directories to +be picked up by libtorrent.

    +
    diff --git a/docs/building.rst b/docs/building.rst index 3db6405d4..f37dd3362 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -618,4 +618,20 @@ If you experience that libtorrent uses unreasonable amounts of cpu, it will definitely help to define ``NDEBUG``, since it will remove the invariant checks within the library. +building openssl for windows +---------------------------- + +To build openssl for windows with Visual Studio 7.1 (2003) execute the following commands +in a command shell:: + + perl Configure VC-WIN32 --prefix="c:/openssl + call ms\do_nasm + call "C:\Program Files\Microsoft Visual Studio .NET 2003\vc7\bin\vcvars32.bat" + nmake -f ms\nt.mak + copy inc32\openssl "C:\Program Files\Microsoft Visual Studio .NET 2003\vc7\include\" + copy out32\libeay32.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\vc7\lib" + copy out32\ssleay32.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\vc7\lib" + +This will also install the headers and library files in the visual studio directories to +be picked up by libtorrent.