Re: Re: win32 compilation of make 4.0 source code‏

2014-01-14 Thread Eli Zaretskii
 From: Mark Brown mkbrown_...@hotmail.com
 Cc: psm...@gnu.org,
   bug-make@gnu.org
 Date: Mon, 13 Jan 2014 22:56:10 -0800
 
 I showed some of the output when this new windows/dos make is run
 from the command prompt, in the original message.

Sorry, I thought that was from the Cygwin shell, since you asked
whether this Make is supposed to work with Cygwin.

 Why not just post a step by step description of how to compile
 make  in Windows 7 64, post some output of its operation,
 and clear everything up ?

I don't know how to build it with MSVC, sorry.  I use MinGW port of
GCC.

You could try using the build_w32.bat batch file.  But I think your
build is OK, it's something else that causes the problem.

 Also, can you describe what the series of failed process_begin's indicates ?
 Are they emanating from inside the make code or from executables invoked by 
 make ?

These messages come from Make, and they tell that Make failed to
invoke some program that the Makefile instructed it to.

 ===
 process_begin: CreateProcess(NULL, uname, ...) failed.
 make:
 process_begin: CreateProcess(NULL, uname -a, ...) failed.
 make:
 process_begin: CreateProcess(NULL, cygpath C:\zzz_13.12.1_gener
 make:
 process_begin: CreateProcess(NULL, pwd, ...) failed.
 make:
 process_begin: CreateProcess(NULL, basename , ...) failed.
 make:
 process_begin: CreateProcess(NULL, pwd, ...) failed.
 make:
 process_begin: CreateProcess(NULL, basename , ...) failed.

Do you have uname.exe, cygpath.exe, pwd.exe, and basename.exe
somewhere on your PATH?  If not, that's the reason for those failures:
Make looks for these programs, but cannot find them.

If that doesn't help, please show the Makefile you are trying to use
and the full error messages by Make when you run it. 

___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make


Re: RE: win32 compilation of make 4.0 source code‏

2014-01-14 Thread Eli Zaretskii
 From: Pavel Fedin p.fe...@samsung.com
 Date: Tue, 14 Jan 2014 11:53:15 +0400
 Cc: bug-make@gnu.org
  Obviously, you are trying to execute Makefile written for UNIX systems, are 
 you ? This makefile relies on UNIX shell commands like uname, pwd, basename, 
 etc. Right ?
  In order to run this Makefile, you need Cygwin or MinGW32 environment.

Well, there are native Windows ports of these commands as well (e.g.,
on the GnuWin32 site).  But I'm not sure whether Mark wants to run
native or Cygwin tools.

Actually, if Mark wants to run Cygwin tools, I'd suggest to install
the Cygwin build of Make, it will have less issues with Cygwin
programs than the native build of Make.

___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make


Re: Re: win32 compilation of make 4.0 source code‏

2014-01-13 Thread Eli Zaretskii
 From: Mark Brown mkbrown_...@hotmail.com
 Cc: bug-make@gnu.org
 Date: Mon, 13 Jan 2014 14:06:16 -0800
 
 As mentioned I used Visual C++ 2005,
 loading the project file and building it:
 make_msvc_net2003.vcproj .
 
 This results in a make_msvc.net2003.exe   of length   892 KB
 being created in the debug directory.

Does this binary work if you invoke it from the cmd.exe prompt?  But
please make sure your Makefile invokes programs that are on Path, and
try to avoid invoking Cygwin programs as much as possible.  Also, I
would suggest to remove Cygwin's sh.exe from Path, as Make on Windows
always prefers to use a Unix shell if available.

If Make doesn't work even under these circumstances, then something is
broken.  Otherwise, you could be experiencing some incompatibility
between Cygwin and native Windows programs.

___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make