bugmake - Bugs: bug #36397, cross compiling make for Windows...


bug #36397: cross compiling make for Windows on Linux with mingw, small configure bug

Submitted by:  Joe Burmeister <jabjoe>
Submitted on:  Fri 04 May 2012 04:02:40 PM UTC  
Severity: 3 - NormalItem Group: Build/Install
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.82Operating System: MS Windows
Fixed Release: 4.0Triage Status: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 06 Apr 2013 03:00:39 PM UTC, comment #1:

The config.guess script is part of autoconf, not GNU make. However, checking with the latest version of autoconf this problem seems to be resolved:

If this is sufficient then it will be resolved in the next version of GNU make. In the meantime you can re-run autoconf for GNU make on your system if you like.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Fri 04 May 2012 04:02:40 PM UTC, original submission:

I was cross compile make on Ubuntu for Windows 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 creates the correct config.h, thus build.
The fix is to replace the above with the below.

case "$host" in

Earlier on configure it already does a host check for mingw, but it does "--mingw" instead of "-*-mingw32" which works. The two probably should be consistent (and obviously work ;-) ).

Joe Burmeister <jabjoe>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by jabjoe (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 06 Apr 2013 03:00:39 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Fixed ReleaseNone=>4.0

    Back to the top

    Powered by Savane 3.1-cleanup1