bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue with building make with mingw32 compilers.


From: Steve Ellcey
Subject: Issue with building make with mingw32 compilers.
Date: Fri, 22 Nov 2013 16:28:13 -0800
User-agent: Heirloom mailx 12.5 6/20/10

I was just trying to build a make that would run on Windows using the 
mingw32 compilers on my Ubuntu linux system.  On this system the
mingw32 compilers have a prefix of i586-mingw32msvc (not i586-mingw32)
and that means that I need to use --host=i586-mingw32msvc when building
make.

This causes the build of make to fail because in configure.ac the mingw
check is:

AS_CASE([$host],
  [*-*-mingw32],
   [AM_CONDITIONAL([WINDOWSENV], [true])
    w32_target_env=yes
    AC_DEFINE([WINDOWS32], [1], [Use platform specific coding])
    AC_DEFINE([HAVE_DOS_PATHS], [1], [Use platform specific coding])
  ])

Which looks for a host of '*-*-mingw32' but not '*-*-mingw32msvc'.
I was wondering if the configure.ac file could be changed to check
for '*-*-mingw32*' instead of just '*-*-mingw32'.  I tried this
locally and got a good build of make after the change.

Steve Ellcey
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]