author | Pat Downey <patd@symbian.org> |
Tue, 13 Jul 2010 21:36:05 +0100 | |
branch | RCL_3 |
changeset 81 | 6530d02204e8 |
parent 31 | 5b5ca9f4f7b4 |
permissions | -rw-r--r-- |
31
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
1 |
Two version of openssl libraries : |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
2 |
|
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
3 |
1) Windows(VC++) |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
4 |
|
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
5 |
Linking : Statically linked library |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
6 |
Extension : .lib |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
7 |
|
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
8 |
2) Windows(MinGW) |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
9 |
|
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
10 |
Linking : Statically linked library |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
11 |
Extension : .a |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
12 |
|
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
13 |
How to build openssl library for MinGW ? |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
14 |
|
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
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) |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
16 |
|
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
17 |
2) untar it using tar -zxvf openssl-0.9.7b.tar.gz |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
18 |
|
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
19 |
3) release version : |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
20 |
run ms/mingw32.bat in cygwin : It will generate libcrypto.a in /out directory, which is a static version (Release) of openssl. |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
21 |
|
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
22 |
4) debug version : |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
23 |
|
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
24 |
a) replace line " perl util/mk1mf.pl gaswin Mingw32 >ms/mingw32a.mak " with "perl util/mk1mf.pl gaswin debug Mingw32 >ms/mingw32a.mak" |
5b5ca9f4f7b4
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
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. |