[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vcpkg libssh 0.8.x version isn't available


Hi Franciszek,

as far as I understand vcpkg, its packages are maintained by Microsoft
and they rely on users to provide pull requests or create tickets asking
for integration. The files for libssh are here:
https://github.com/Microsoft/vcpkg/tree/master/ports/libssh

Since you are already building on Linux, you could cross-compile your
desired version of libssh for Windows using MingW GCC. I use these cmake
options to enable cross-compilation:

(32 bit)
> "-DCMAKE_C_FLAGS:STRING=-m32 -march=i686 -mtune=generic" -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc

(64 bit)
> "-DCMAKE_C_FLAGS:STRING=-m64 -march=x86-64 -mtune=generic" -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc

Regards,
Tilo Eckert

Am 27.02.2019 um 21:55 schrieb Franciszek Juras:
> Hi,
> I have code working on linux that uses libssh 0.8.x api. Now that I want
> to port my application to windows, I wanted to build libssh using vcpkg.
> However, there is only 0.7.6 version of libssh available in vcpkg. What
> is the reason of such situation? Can I expect the 0.8.x version to be
> available soon?
> 
> Regards,
> FJ


Follow-Ups:
Re: vcpkg libssh 0.8.x version isn't availableAndreas Schneider <asn@xxxxxxxxxxxxxx>
Re: vcpkg libssh 0.8.x version isn't availableg4-lisz@xxxxxxxxxxxx
References:
vcpkg libssh 0.8.x version isn't availableFranciszek Juras <franciszekjuras@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org