forked from rhash/RHash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
34 lines (21 loc) · 861 Bytes
/
INSTALL
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
Linux Installation:
===================
You need GCC (or Intel Compiler) and GNU Make.
To compile and install the program just type
'make install'
To test the compiled program run 'make test'.
RPM package can be created by commands
'make rpm' or 'setarch i586 make rpm'.
For internationalization support RHash should be compiled with gettext library
make ADDCFLAGS="-DUSE_GETTEXT"
To compile with openssl support use the following flags
make ADDCFLAGS="-DUSE_OPENSSL -DOPENSSL_RUNTIME -rdynamic" ADDLDFLAGS="-ldl"
The LibRHash static/shared library can be compiled by
'make lib-static' or 'make lib-shared'
Windows Installation:
=====================
You need MinGW compiler and MSYS environment.
To compile the program run 'make'.
Optionally you can run 'make test'.
The LibRHash DLL can be created by
cd librhash && make dll test-dll