cross-compiling autoconf-based tools with mingw on Mac OS X
Posted
by paleozogt
on Stack Overflow
See other posts from Stack Overflow
or by paleozogt
Published on 2009-11-02T19:12:35Z
Indexed on
2010/04/17
1:13 UTC
Read the original article
Hit count: 479
cross-compiling
|mingw
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.
© Stack Overflow or respective owner