Subject: Re: mingw32 cross

Re: mingw32 cross

From: salsa lover <>
Date: Tue, 12 Jan 2010 18:29:04 -0800

I'm using a custom built mingw32 environment under my homedir, (not from
I've already copied those files from libssh2 binary build into lib and
include. So as for cross compiling
libssh2 i've given up. I'm trying to integrate the cross compiler with
codeblocks now.

On Tue, Jan 12, 2010 at 5:53 PM, Peter Stuge <> wrote:

> salsa lover wrote:
> > Since i dont wanna a create issues by just copying over the
> > precompiled libssh2 win32 binaries over my existing deps since i
> > already have those nicely compiled, is there a quick fix here?
> Find libssh2.a (it should be in src/.libs/) and copy it to your mingw
> lib directory. Copy libssh2.h libssh2_sftp.h and libssh2_publickey.h
> to the include directory.
> For my mingw32 cross toolchain built with Gentoo crossdev that means
> /usr/i686-mingw32/usr/lib/ and /usr/i686-mingw32/usr/include/ but I
> don't know which paths debian uses.
> > the libs are built ok but not the examples.
> Please show us the error messages that you get.
> //Peter
> _______________________________________________
> libssh2-devel

Received on 2010-01-13