MinGW build.blog

カテゴリ: Library

時間がかかるので、必要な部分のみ。toolsはstaticでビルド。

cat gettext-tools/woe32dll/gettextlib-exports.c | grep -v rpl_opt > gettext-tools/woe32dll/gettextlib-exports.c.new
mv gettext-tools/woe32dll/gettextlib-exports.c.new gettext-tools/woe32dll/gettextlib-exports.c

gettext-runtime

cd gettext-runtime
./configure --prefix=/mingw --enable-threads=win32 --enable-relocatable
make && make install

gettext-tools

cd gettext-tools
./configure --prefix=/mingw --enable-threads=win32 --enable-relocatable --disable-shared
make
install src/msgfmt.exe /mingw/bin
install src/msgmerge.exe /mingw/bin
install src/xgettext.exe /mingw/bin
2012.08.25 gettext-0.18.1.1

./configure --prefix=/mingw

2012.08.24 libiconv-1.14

sed 's/-O3/-O3 -mms-bitfields -mthreads/' win32/Makefile.gcc >Makefile.gcc
touch *.h
make IMPLIB='libz.dll.a' -f Makefile.gcc
make install -f Makefile.gcc SHARED_MODE=1 BINARY_PATH=/ex-lib/bin INCLUDE_PATH=/ex-lib/include $ LIBRARY_PATH=/ex-lib/lib

2012.8.24 zlib-1.2.7

このページのトップヘ