[Top][All Lists]

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

make 3.81rc1 / MSYS

From: David Ergo
Subject: make 3.81rc1 / MSYS
Date: Tue, 28 Feb 2006 13:08:10 +0100


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 */
  #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
  /* #undef HAVE_REALPATH */

Could you please integrate these changes into the next release candidate
of make 3.81 ?


David Ergo

Attachment: config_msys.patch
Description: Text document

Attachment: sources_msys.patch
Description: Text document

reply via email to

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