--- Begin Message ---
Subject: |
make 3.81rc1 / MSYS |
Date: |
Tue, 28 Feb 2006 13:08:10 +0100 |
Hello,
I managed to compile a working version of make 3.81rc1 for MSYS but I
had do some modifications.
first config/config.guess and config/config.sub must be simply patched
to support MSYS build system (see config_msys.patch in attachment).
sources must be patched (bugs correction) like specified hereunder (also
in sources_msys.patch in attachment) :
file job.c, at line 2525 :
&& strchr (sh_chars_sh, p[1]) == 0)
should be :
&& strchr (sh_chars, p[1]) == 0)
file implicit.c, at line 355 :
if (!check_lastslash)
should be :
if (check_lastslash)
file make.h, at line 350 :
#if defined(HAVE_DOS_PATHS)
should be :
#if defined(HAVE_DOS_PATHS) && !defined(__MSYS__)
And after executing 'configure', I had to modify config.h manually
before executing make (easier for me than correcting the configure
script) :
to support dos-style paths, changed :
/* #undef HAVE_DOS_PATHS */
into
#define HAVE_DOS_PATHS 1
and to use the internal realpath function as a workaround to the buggy
msys realpath() function (otherwise the test 'functions/realpath' fails
at line 19 about realpath of ///), changed :
#define HAVE_REALPATH 1
into
/* #undef HAVE_REALPATH */
Could you please integrate these changes into the next release candidate
of make 3.81 ?
Thanks,
David Ergo
config_msys.patch
Description: Text document
sources_msys.patch
Description: Text document
_______________________________________________
Bug-make mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-make
--- End Message ---