forked from savonet/ocaml-ssl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.win32
36 lines (23 loc) · 939 Bytes
/
README.win32
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
OCaml-SSL - OCaml bindings for the libssl
=========================================
Windows Installation Instructions
=================================
Author: David Allsopp <[email protected]>
Note - these instructions are only for the MinGW port of OCaml (tested with
3.12.0 and OpenSSL 1.0.0d).
Dependencies
============
These instructions allow compilation of OpenSSL from sources using the MinGW
compiler instead of Cygwin's. You will need an installation of Cygwin with at
least the core GCC suite (with MinGW compiler), GNU Make and Perl
Extract the OpenSSL sources from the tarball and from that directory run:
perl Configure mingw shared --prefix=C:/ocamlmgw
make
make install
This will install an OCaml compiled OpenSSL library to C:\ocamlmgw
Installation
============
To compile the OCaml-SSL, run:
./configure CC='gcc -mno-cygwin' LDFLAGS=-LC:/ocamlmgw/lib CFLAGS=-IC:/ocamlmgw/include
make
make install