钢制散热器技术参数:OpenSSL 0.9.7d on Linux and Windows

来源:百度文库 编辑:九乡新闻网 时间:2024/04/27 21:21:41

OpenSSL

These instructions are suitable for building OpenSSL version 0.9.7d.

  • OpenSSL 0.9.7d on Linux
  • OpenSSL 0.9.7d on Windows

Building OpenSSL 0.9.7d on Linux for X886

Use the following commands to build OpenSSL natively on Linux:

./configmake

To build single threaded, use the "--no-threads" option. If you wish to also build OpenSSL as shared libraries, use:

make build-shared

After you have built OpenSSL you must reference the OpenSSL installation directory in your Appweb configuration. You can set this via the configure command. You may need to define the base directory which can optionally be provided as a switch to the --with-openssl switch.

./configure --with-openssl=../../openssl-0.9.7d

You may need to edit the build/packages/openssl configuration file to further modify the compiler and linker flags and search paths to match your configuration.

Building OpenSSL 0.9.7d on Windows for X886

The Windows OpenSSL build system uses Perl and nmake. The following commands will build the required shared libraries (DLLs) for Appweb to use OpenSSL.

perl Configure VC-WIN32cmd /c ms\\do_masmrm -f libcrypto.lib libeay32.dll libssl.lib ssleay32.dllrm -f out32dll/*.exe out32dll/*.dll out32dll/*.librm -f tmp32dll/*perl Configure VC-WIN32cmd /c ms\\do_masm.batnmake -f ms/ntdll.makmv out32dll/libeay32.lib libcrypto.libmv out32dll/ssleay32.lib libssl.libmv out32dll/*.dll .cp -r inc32/openssl include

After you have built OpenSSL you must reference the OpenSSL installation directory in your Appweb configuration. You can set this via the configure command. You may need to define the base directory which can optionally be provided as a switch to the --with-openssl switch.

./configure --with-openssl=../../openssl-0.9.7d

You may need to edit the build/packages/openssl configuration file to further modify the compiler and linker flags and search paths to match your configuration.