[PATCH 0/5] libssh2: Enable cross-compilation from Linux to Windows using MinGW

Richard W.M. Jones rjones at redhat.com
Mon Nov 10 15:12:40 UTC 2008

These five patches enable libssh2 to be cross-compiled from a Fedora
Linux system to Windows using Fedora's new MinGW cross-compiler:


After applying these patches, you can cross-compile from a Fedora
system using:

  mingw32-configure --enable-shared

and you will end up with libssh2-1.dll and assorted Windows
executables in the example/simple directory, which you can test using
Wine or Windows.

I tested the example programs using Wine and an OpenSSH sshd and they
appeared to work fine.


Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)

More information about the mingw mailing list