forked from ashkulz/NppFTP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILDING
20 lines (16 loc) · 902 Bytes
/
BUILDING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
All binaries were built with the Mingw-builds [1] toolchain, specifically
i686-4.9.2-win32-sjlj-rt_v3-rev1. Just run `mingw32-make` in the root
folder to produce the DLL.
Library versions used:
* zlib 1.2.8
* OpenSSL 1.0.1l
* libssh 0.6.4
All the above libraries were cross-compiled on Ubuntu 14.04.1 using
the MinGW-w64 package present on it. For compiling libssh, the
mingw-w64-cross-compile.cmake was used for cross-compiling setup and
libssh-0.6.4.patch was applied on top of a bug fix for Windows [2].
The following commands were used to perform the build:
cmake -DCMAKE_TOOLCHAIN_FILE=~/mingw-w64-cross-compile.cmake -DWITH_STATIC_LIB=ON -DCMAKE_INSTALL_PREFIX=/home/build/mingw-w64-cross-win32 <libssh-src-dir>
make && make install
[1] http://mingw-w64.sourceforge.net/download.php#mingw-builds
[2] http://git.libssh.org/projects/libssh.git/commit/?id=e051135