| 1 |
OpenSSL |
| 2 |
------- |
| 3 |
|
| 4 |
HOST=i686-w64-mingw32 |
| 5 |
./Configure --cross-compile-prefix=$HOST- --prefix=/usr/local/$HOST mingw |
| 6 |
|
| 7 |
HOST=x86_64-w64-mingw32 |
| 8 |
./Configure --cross-compile-prefix=$HOST- --prefix=/usr/local/$HOST mingw64 |
| 9 |
|
| 10 |
GMP |
| 11 |
--- |
| 12 |
|
| 13 |
HOST=i686-w64-mingw32 |
| 14 |
./configure \ |
| 15 |
--disable-shared \ |
| 16 |
--enable-static \ |
| 17 |
--prefix=/usr/local/$HOST \ |
| 18 |
--host=$HOST \ |
| 19 |
--disable-cxx \ |
| 20 |
--enable-fat \ |
| 21 |
CFLAGS="-mtune=generic -O2 -g0" |
| 22 |
|
| 23 |
HOST=x86_64-w64-mingw32 |
| 24 |
The configure command-line is the same as i686 version. |
| 25 |
|
| 26 |
Sqlite |
| 27 |
------ |
| 28 |
|
| 29 |
HOST=i686-w64-mingw32 |
| 30 |
./configure \ |
| 31 |
--disable-shared \ |
| 32 |
--enable-static \ |
| 33 |
--prefix=/usr/local/$HOST \ |
| 34 |
--host=$HOST \ |
| 35 |
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` |
| 36 |
|
| 37 |
HOST=x86_64-w64-mingw32 |
| 38 |
The configure command-line is the same as i686 version. |
| 39 |
|
| 40 |
C-Ares |
| 41 |
------ |
| 42 |
|
| 43 |
HOST=i686-w64-mingw32 |
| 44 |
./configure \ |
| 45 |
--disable-shared \ |
| 46 |
--enable-static \ |
| 47 |
--without-random \ |
| 48 |
--prefix=/usr/local/$HOST \ |
| 49 |
--host=$HOST \ |
| 50 |
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \ |
| 51 |
LIBS="-lws2_32" |
| 52 |
|
| 53 |
HOST=x86_64-w64-mingw32 |
| 54 |
The configure command-line is the same as i686 version. |
| 55 |
|
| 56 |
libssh2 |
| 57 |
------- |
| 58 |
|
| 59 |
HOST=i686-w64-mingw32 |
| 60 |
./configure \ |
| 61 |
--disable-shared \ |
| 62 |
--enable-static \ |
| 63 |
--prefix=/usr/local/$HOST \ |
| 64 |
--host=$HOST \ |
| 65 |
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \ |
| 66 |
--with-crypto=wincng \ |
| 67 |
LIBS="-lws2_32" |
| 68 |
|
| 69 |
HOST=x86_64-w64-mingw32 |
| 70 |
The configure command-line is the same as i686 version. |
| 71 |
|
| 72 |
Zlib |
| 73 |
---- |
| 74 |
|
| 75 |
HOST=i686-w64-mingw32 |
| 76 |
|
| 77 |
CC=$HOST-gcc \ |
| 78 |
AR=$HOST-ar \ |
| 79 |
LD=$HOST-ld \ |
| 80 |
RANLIB=$HOST-ranlib \ |
| 81 |
STRIP=$HOST-strip \ |
| 82 |
./configure \ |
| 83 |
--prefix=/usr/local/$HOST \ |
| 84 |
--libdir=/usr/local/$HOST/lib \ |
| 85 |
--includedir=/usr/local/$HOST/include \ |
| 86 |
--static |
| 87 |
|
| 88 |
HOST=x86_64-w64-mingw32 |
| 89 |
The configure command-line is the same as i686 version. |
| 90 |
|
| 91 |
Expat |
| 92 |
----- |
| 93 |
|
| 94 |
HOST=i686-w64-mingw32 |
| 95 |
./configure \ |
| 96 |
--disable-shared \ |
| 97 |
--enable-static \ |
| 98 |
--prefix=/usr/local/$HOST \ |
| 99 |
--host=$HOST \ |
| 100 |
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` |
| 101 |
|
| 102 |
HOST=x86_64-w64-mingw32 |
| 103 |
The configure command-line is the same as i686 version. |