I would like to cross-compile some open source libraries (libiconv, gettext, glib2) for Windows using mingw on Mac OS X. I installed mingw on a Mac with MacPorts. But now I'm not sure what to give configure script to make it work. The cross-compilation tutorials I've seen all talk about makefiles, but no one mentions what to do with autoconf-based projects.
I am setting up the following:
./configure --prefix=/opt/local/i386-mingw32 --host=i586-mingw32msvc
but it does not seem to be so. As long as the configuration passes, running make will result in this error:
i686-apple-darwin9-gcc-4.0.1: no input files
I thought that the β-hostβ argument for configuration should have told him to use the mingw compiler? I'm not sure what is going on here.