Changes between Version 27 and Version 28 of BuildingOnWindows
- Timestamp:
- 11/11/10 10:06:24 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnWindows
v27 v28 37 37 == OpenSSL == 38 38 39 Sources for the [http://www.openssl.org/ OpenSSL] library are required to build OpenVPN. 39 Sources for the [http://www.openssl.org/ OpenSSL] library are required to build OpenVPN. Both 0.9.8 and 1.0.0 series should work. 40 40 41 41 = Installing optional Git support = … … 61 61 = Building OpenSSL = 62 62 63 First download the latest (0.9.8) release from [http://www.openssl.org/source here] and extract it somewhere. Using the latest one ensures there are no (known) security holes in OpenSSL. For the most part you can then follow the instructions in ''INSTALL.W32'' and ''INSTALL.W64'' files. Before you start, though, launch the ''Visual Studio 2008 x64 Cross ToolsCommand Prompt'', which can be found from the ''Start menu''. Unlike the standard command prompt it has all the paths to VC binaries set correctly.63 First download OpenSSL from [http://www.openssl.org/source here] and extract it somewhere. Using the latest one ensures there are no (known) security holes in OpenSSL. For the most part you can then follow the instructions in ''INSTALL.W32'' and ''INSTALL.W64'' files. Before you start, though, launch the ''Visual Studio 2008 Command Prompt'', which can be found from the ''Start menu''. Unlike the standard command prompt it has all the paths to VC binaries set correctly. 64 64 65 65 From within this command prompt you'll first configure OpenSSL using the provided Perl script: … … 70 70 }}} 71 71 72 Some of the crypto routines are written in assembler to increase performance, so you need to/should use an assembler (e.g. MASM) in the next step: 72 Some of the crypto routines are written in assembler to increase performance, so you need to/should use an assembler in the next step. If you're building OpenSSL 0.9.8x you can choose between [http://en.wikipedia.org/wiki/Microsoft_Macro_Assembler Microsoft Macro Assembler] and [http://www.nasm.us/ NASM assembler]. On OpenSSL-1.0.0 you need to use NASM as MASM is not supported anymore. Note that you need to add ''nasm.exe'' to the PATH. There are good generic instructions [http://vlaurie.com/computers2/Articles/environment.htm here]. 73 74 If you're using MASM, run 73 75 74 76 {{{ 75 77 ms\do_masm 78 }}} 79 80 Or if you're using NASM, run 81 82 {{{ 83 ms\do_nasm 76 84 }}} 77 85