1) get source & tools 2) apply patches from bug 134113: (as of 03/15/2003) mingw-gfx2.patch mingw-mingw-rc.patch mingw-nss-4.patch mingw-java.patch mingw-nasty-winhooks.patch 3) run dos2unix on header files in moztools/include 4) set mozconfig to: CC=gcc CXX=g++ AS=as LD=ld CPP=cpp ac_add_options --disable-accessibility ac_add_options --disable-activex 5) build