-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for compiling under Win32 (thanks David Allsopp).
- Loading branch information
Showing
6 changed files
with
113 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
OCaml-SSL - OCaml bindings for the libssl | ||
========================================= | ||
|
||
Windows Installation Instructions | ||
================================= | ||
|
||
Author: David Allsopp <david.allsopp@metastack.com> | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters