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
[email protected]
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make