summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/gpg.vs/libgcrypt-1.4.6.vs/libgcrypt-1.4.6.vs.readme.txt
blob: f7adad073b983fc03855a2ca56a1117338373b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gpgvs
building gnupg related projects with Visual Studio
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sub-project: gpg.vs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 - libgcrypt 1.2.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Before building libgcrypt-1.2.2 you have to manually copy
\libgcrypt-1.2.2\libgcrypt\mpi\generic\mpi-asm-defs.h
in
\libgcrypt-1.2.2\libgcrypt\mpi\mpi-asm-defs.h
because some files include "..\mpi\mpi-asm-defs.h"

There are two workspaces available

- libgcrypt122lib.dsw
  that builds the static version (no dll) of the library.
  
- libgcrypt122dll.dsw
  that builds the dynamic version of the library, and you'll
  need the libgcrypt*.dll to execute programs
  
Note: be careful not to mix the two versions

In both libgcrypt workspaces I was not able to compile
(and you will find the "removed" folder) these files
- rndegd.c
- rndlinux.c
- rndunix.c
- tiger.c

apart from rndlinux/rndunix, to compile the other two files
I think I have to modify the original code.

There are the tests too:
\libgcrypt-1.2.2\test.vs\libgcrypt_1_2_2_tests.dsw
in the static and dynamic version.

There are two tests that will not build:
- testapi.c
  it seems to mee the testapi.c itself is wrong
- random.c
  too *nix oriented, should change the code

You will find all compiled obejcts in directories
\bin.vs\libgcrypt-1.2.2\debug\static
\bin.vs\libgcrypt-1.2.2\release\static
\bin.vs\libgcrypt-1.2.2\debug\dll
\bin.vs\libgcrypt-1.2.2\release\dll

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Authors:
          Francesco Picasso
          mr.s0rr0w@gmail.com
          www.s0rr0w.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~