Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#150 make's configure cross compiling on Ubuntu

closed
nobody
None
5
2012-05-04
2012-05-04
Joe Burmeister
No

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
*-*-mingw32)

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
*-*-mingw32*)

Discussion

  • 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.