[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #36397] cross compiling make for Windows on Linux with mingw, small
From: |
Joe Burmeister |
Subject: |
[bug #36397] cross compiling make for Windows on Linux with mingw, small configure bug |
Date: |
Fri, 04 May 2012 16:02:40 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0 |
URL:
<http://savannah.gnu.org/bugs/?36397>
Summary: cross compiling make for Windows on Linux with
mingw, small configure bug
Project: make
Submitted by: jabjoe
Submitted on: Fri 04 May 2012 16:02:40 GMT
Severity: 3 - Normal
Item Group: Build/Install
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.82
Operating System: MS Windows
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
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
*-*-mingw32)
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
*-*-mingw32*)
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 ;-) ).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36397>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #36397] cross compiling make for Windows on Linux with mingw, small configure bug,
Joe Burmeister <=