securityanddataprivacytools/securitytools/openssllib/readme.txt
branchRCL_1
changeset 46 de7f90723dab
equal deleted inserted replaced
27:2d7679d6a290 46:de7f90723dab
       
     1 Two version of openssl libraries :
       
     2 
       
     3 1)	Windows(VC++)
       
     4 
       
     5 	Linking		:	Statically linked library
       
     6 	Extension	:	.lib
       
     7 
       
     8 2)  Windows(MinGW)
       
     9 
       
    10 	Linking		:   Statically linked library
       
    11 	Extension	:	.a
       
    12 				
       
    13 How to build openssl library for MinGW ?
       
    14 				
       
    15 1)Download the source code for openssl 9.7b version from http://www.openssl.org/ openssl-0.9.7b.tar.gz (currently we support 9.7b)
       
    16 
       
    17 2) 	untar it using  tar -zxvf openssl-0.9.7b.tar.gz
       
    18 
       
    19 3)	release version :
       
    20 	run ms/mingw32.bat in cygwin : It will generate  libcrypto.a in /out directory, which is a static version (Release) of openssl.
       
    21 
       
    22 4)	debug version :
       
    23 
       
    24 	a)	replace  line  " perl util/mk1mf.pl gaswin  Mingw32 >ms/mingw32a.mak "  with "perl util/mk1mf.pl gaswin debug Mingw32 >ms/mingw32a.mak"
       
    25 	b)	run ms/mingw32.bat in cygwin : it will generate libcrypto.a in /out.dbg directory which is a static version (Debug) of openssl.