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

https://fedoraproject.org/wiki/MinGW

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

  autoreconf
  mingw32-configure --enable-shared
  make

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.

Rich.

-- 
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#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to