cURL / Mailing Lists / curl-library / Single Mail


Re: Compiling cURL for SFTP (libssh2) on Windows?

From: Guenter Knauf <>
Date: Wed, 28 Jan 2009 03:11:23 +0100

Am Dienstag, 27. Januar 2009 23:56:39 schrieb
> Any directions you could provide would be appreciated. I haven't tried
> MinGW.
there are at least 3 different ways which can go:
1) native Win32 compile using MingW32 compiler only and static Makefile.m32
(see main Makefile for different targets available); see also the INSTALL
file for more details
2) native Win32 compile using MingW32 compiler + MSYS Shell + configure
3) Linux cross compile using MingW32 cross compiler + configure

the above is what we have with libcurl; libssh2 has also a static MingW32
makefile, but not sure if its uptodate; also not sure if configure
cross-compile on Linux actually works.

Just try, and report back what's broken.... - we can also fix things with
libssh2 if needed.

Received on 2009-01-28