summaryrefslogtreecommitdiff
path: root/mingw-build-memo
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-02 18:41:10 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-02 18:41:10 +0900
commit887ac19a342990bd00d60d10f45bb215859b4ef3 (patch)
tree9af34dc559b5766f343c42c8efbef6c54ef03340 /mingw-build-memo
parentc390cf7b51eddcfcfd8208997911e2963ddbd93c (diff)
mingw: Added build memo for mingw build
Diffstat (limited to 'mingw-build-memo')
-rw-r--r--mingw-build-memo71
1 files changed, 71 insertions, 0 deletions
diff --git a/mingw-build-memo b/mingw-build-memo
new file mode 100644
index 00000000..aba2b69f
--- /dev/null
+++ b/mingw-build-memo
@@ -0,0 +1,71 @@
+OpenSSL
+-------
+
+HOST=i686-w64-mingw32
+./Configure --cross-compile-prefix=$HOST- --prefix=/usr/local/$HOST mingw
+
+HOST=x86_64-w64-mingw32
+./Configure --cross-compile-prefix=$HOST- --prefix=/usr/local/$HOST mingw64
+
+Sqlite
+------
+
+HOST=i686-w64-mingw32
+./configure \
+ --disable-shared \
+ --enable-static \
+ --prefix=/usr/local/$HOST \
+ --host=$HOST \
+ --build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE`
+
+HOST=x86_64-w64-mingw32
+The configure command-line is the same as i686 version.
+
+C-Ares
+------
+
+HOST=i686-w64-mingw32
+./configure \
+ --disable-shared \
+ --enable-static \
+ --without-random \
+ --prefix=/usr/local/$HOST \
+ --host=$HOST \
+ --build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
+ LIBS="-lws2_32"
+
+HOST=x86_64-w64-mingw32
+The configure command-line is the same as i686 version.
+
+Zlib
+----
+
+HOST=i686-w64-mingw32
+
+CC=$HOST-gcc \
+AR=$HOST-ar \
+LD=$HOST-ld \
+RANLIB=$HOST-ranlib \
+STRIP=$HOST-strip \
+./configure \
+ --prefix=/usr/local/$HOST \
+ --libdir=/usr/local/$HOST/lib \
+ --includedir=/usr/local/$HOST/include \
+ --static
+
+HOST=x86_64-w64-mingw32
+The configure command-line is the same as i686 version.
+
+Expat
+-----
+
+HOST=i686-w64-mingw32
+./configure \
+ --disable-shared \
+ --enable-static \
+ --prefix=/usr/local/$HOST \
+ --host=$HOST \
+ --build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE`
+
+HOST=x86_64-w64-mingw32
+The configure command-line is the same as i686 version.