#150 make's configure cross compiling on Ubuntu


I was waiting to cross compile make on Ubuntu and was having a problem that WINDOWS32 wasn't defined.
It turned out to be because the configure file is slightly wrong for the naming of mingw on Ubuntu.

On Ubuntu mingw is mingw32msvc so the configure file doesn't create the correct config.h because:

case "$host" in

doesn't match mingw32msvc. Simply adding a wildcard on the end of mingw32 makes it match, and thus create the correct config.h, thus build.
The fix is replace the above with the below.

case "$host" in


  • Earnie Boyd

    Earnie Boyd - 2012-05-04
    • labels: 380073 -->
    • milestone: 258437 -->
    • status: open --> closed
  • Earnie Boyd

    Earnie Boyd - 2012-05-04

    This is a user error in specifying the host for which the package is to be residing for. You should specify --host=mingw32 to resolve this issue. There is no such system as mingw32msvc.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks