1 PATH
=/opt
/xmingw
/bin
/:/opt
/xmingw
/i386-mingw32msvc
/bin
/:$PATH
2 PKG_CONFIG_PATH
=/mnt
/c
/MinGW
/Gtk
/lib
/pkgconfig
3 CC
=i386-mingw32msvc-gcc
4 CXX
=i386-mingw32msvc-g
++
8 CPP
=i386-mingw32msvc-cpp
9 export PATH PKG_CONFIG_PATH CC CXX AR AS LD CPP
10 .
/configure
--host=i386-mingw32msvc
11 grep -v '#define malloc' config.h|
grep -v '#define realloc' > config.h.new
12 cp config.h.new config.h
13 PKG_CONFIG
='pkg-config --define-variable=prefix=/mnt/c/MinGW/Gtk'
14 make CXXFLAGS
=-mms-bitfields CFLAGS
=-mms-bitfields LDFLAGS
=-mms-bitfields LIBS
="`$PKG_CONFIG --libs gtk+-2.0`" PKG_CONFIG
="$PKG_CONFIG"