This tutorial is now part of the mingw_cross_env website:
http://www.profv.de/mingw_cross_env/#tutorial