I'd like to cross-compile some open-source libraries (libiconv, gettext, glib2) for windows using mingw on Mac OS X. I've installed mingw on Mac with MacPorts. But now I'm not sure what to give to the configure script so that it will work. The cross-compilation tutorials I've seen all talk about makefiles, but no one mentions what to give autoconf-based projects.
I'm configuring like this:
./configure --prefix=/opt/local/i386-mingw32 --host=i586-mingw32msvc
but it doesn't seem to take. While the configure will pass, running "make" will give this error:
i686-apple-darwin9-gcc-4.0.1: no input files
I thought the "--host" argument to configure was supposed to tell it to use the mingw compiler? I'm not sure what's going on here.