Re: Fwd: [PATCH] Use UTF-8 active code page for Windows host.

2023-03-18 Thread Paul Smith
On Sat, 2023-03-18 at 16:57 +, Costas Argyris wrote: > I just realized that there is a Windows-specific mailing list, so > forwarding here. The bug-make list is the right place to post and discuss patches, even patches related to Windows. Thanks!

GNU Make 4.4.1 released!

2023-02-26 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: https://www.gnu.org/software/make/ --

GNU Make 4.4.0.91 release candidate available

2023-02-19 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: https://www.gnu.org/software/make/ --

Re: Re: Prerelease GNU Make 4.4.0.90 on Windows using tcc compiler

2023-02-19 Thread Paul Smith
On Mon, 2023-01-16 at 07:08 +0100, Christian Jullien wrote: > No issue then with tcc, except this warning: > In file included from src/w32/subproc/w32err.c:19: > ./src/makeint.h:393: warning: WIN32_LEAN_AND_MEAN redefined > > To fix it, you may want to add: > # ifndef WIN32_LEAN_AND_MEAN > #  defi

Re: Prerelease GNU Make 4.4.0.90 on Windows using tcc compiler

2023-01-15 Thread Paul Smith
On Sun, 2023-01-15 at 16:39 +0200, Eli Zaretskii wrote: > I'm guessing that Christian asked Savannah to produce a snapshot of > the Git repository (it has such abilities for every project), and > that gives a tarball where some files you generate when tarring a > release aren't present. I see. Th

Re: Prerelease GNU Make 4.4.0.90 on Windows using tcc compiler

2023-01-15 Thread Paul Smith
On Sun, 2023-01-15 at 08:40 +0100, Christian Jullien wrote: > Trying the current snapshot I get this error. I've got this error > each time I've tested a snapshot. I'm afraid I don't know what you mean by a "snapshot". The GNU Make project doesn't publish "daily snapshots" like the ones published

Re: GNU Make 4.4.0.90 release candidate available

2023-01-14 Thread Paul Smith
On Sat, 2023-01-14 at 17:10 -0500, Paul Smith wrote:    > >     GNU make is a tool which controls the generation of executables and >     other non-source files of a program from the program's source files. > &g

GNU Make 4.4.0.90 release candidate available

2023-01-14 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: https://www.gnu.org/software/make/ --

Re: build issue with bootstrap.bat

2023-01-08 Thread Paul Smith
On Fri, 2022-10-28 at 12:22 +0400, charlie wrote: > After making sure I had curl and sed, I ran bootstrap.bat: > > > M:\github\make>bootstrap.bat > > -- Downloading Gnulib modules > > -- Configuring the workspace > > - Creating Basic.mk > > - Creating src\mkconfig.h > > - Creating src\gmk-default.

Re: GNUmake v4.4 port on Windows with tcc

2022-11-05 Thread Paul Smith
On Thu, 2022-11-03 at 15:29 +0100, Christian Jullien wrote: > As side note, compiling GNUmake with cl x64 gives the following > warnings I believe I've examined these warnings in the past and they are not a problem: related to the ifdef spaghetti in parts of the code or else due to differences in

Re: GNUmake v4.4 port on Windows with tcc

2022-11-05 Thread Paul Smith
On Thu, 2022-11-03 at 16:45 +0200, Eli Zaretskii wrote: > > Of course it does. > > Thanks.  Paul, should I install this? Yes please thanks!

Re: GNUmake v4.4 port on Windows with tcc

2022-11-02 Thread Paul Smith
On Wed, 2022-11-02 at 16:40 +0100, Christian Jullien wrote: > It appears that tcc on Windows lacks strtoll and strtoull (something > that > needs to be fixed on tcc side of course). > Meanwhile, it can easily be patched in build_w32.bat by adding > -Dstrtoull=_strtoui64 -Dstrtoll=_strtoi64 at line

GNU Make 4.4 released!

2022-10-31 Thread Paul Smith
Kevin Buettner (1): [SV 58232] Disable inheritance of jobserver FDs for recursive make Mike Frysinger (1): * doc/make.texi (Automatic Variables): Relocate the $? example Noah Goldstein (2): hash: Remove unnecessary isupper() check before tolower() Replace strcmp() with memcmp()

Re: build issue with bootstrap.bat

2022-10-28 Thread Paul Smith
On Fri, 2022-10-28 at 10:34 -0400, Paul Smith wrote: > Or you can just go get the latest RC build which has already been > processed, from here (this is the current latest): > >  https://ftp.gnu.org/gnu/make/make-4.3.92.tar.gz Ugh sent too soon. This is a prerelease so it should

Re: build issue with bootstrap.bat

2022-10-28 Thread Paul Smith
On Fri, 2022-10-28 at 12:22 +0400, charlie wrote: > > My build environment is MSVC 2019. So following README.W32 > > directions > > to build. > > > > Running build_w32.bat the first time, and I get an error  > > > > > > .\WinRel/src\config.h(18): fatal error C1083: Cannot open > > > > include > >

GNU Make 4.3.92 release candidate available

2022-10-24 Thread Paul Smith
I expect this to be the final release candidate before GNU Make 4.4. I will probably allow for testing for about a week. GNU make is a tool which controls the generation of executables and other non-source files of a

GNU make 4.3.91 release candidate available

2022-10-18 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: https://www.gnu.org/software/make/ --

GNU make 4.3.90 release candidate available

2022-09-20 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: https://www.gnu.org/software/make/ --

Re: How to choose the shell?

2021-09-05 Thread Paul Smith
On Sun, 2021-09-05 at 22:29 +0300, Eli Zaretskii wrote: > > We don't provide -c at all: we provide the options in the > > .SHELLFLAGS variable. > > But there's a default if it is not provided, right? Sure, but if the default is wrong (just like with SHELL) the user has to change it. Consider som

Re: How to choose the shell?

2021-09-05 Thread Paul Smith
On Sun, 2021-09-05 at 22:08 +0300, Eli Zaretskii wrote: > First, how do you invoke the shell? On Unix we do "$SHELL -c", > right? What to do on Windows? Most Windows shells don't support "- > c". > > Next, what are the characters special to the shell, and how to escape > them? We currently use

Re: How to choose the shell?

2021-09-05 Thread Paul Smith
On Sun, 2021-09-05 at 20:15 +0300, Eli Zaretskii wrote: > But the way we build the batch file assumes cmd.exe, because we have > no idea how to write scripts for other programs that can be used as > "shells". Also, we have no idea about the quoting used by other > shells, so the tests that decide

Re: How to choose the shell?

2021-09-05 Thread Paul Smith
On Sun, 2021-09-05 at 19:50 +0300, Eli Zaretskii wrote: > > If you change the default shell, then make will never use any > > shortcuts since, obviously, it can't know what the syntax is of > > some other random shell. > > I don't think Make on Windows does this bit. Are you sure? If not, that's

Re: How to choose the shell?

2021-09-05 Thread Paul Smith
On Sun, 2021-09-05 at 10:48 -0500, John Freeman wrote: > Because `ls` is a built-in in PowerShell. GNU make does not use PowerShell. The details depend on how you build GNU make but generally on Windows, GNU make uses cmd.exe (the traditional Windows shell) to run commands. If you write a recipe

Re: [Tinycc-devel] I want to port make on Windows using tcc compiler

2020-01-26 Thread Paul Smith
On Sun, 2020-01-26 at 17:57 +0100, Christian Jullien wrote: > I try to keep my dev. Machine a lite as possible so I'll decline to > install more tools (sorry). If you install Perl and Git for Windows you'll have everything you need to get most of the tests running... in the instances where I have

Re: [Tinycc-devel] I want to port make on Windows using tcc compiler

2020-01-24 Thread Paul Smith
On Fri, 2020-01-24 at 09:25 +0200, Eli Zaretskii wrote: > Paul, any comments? The changes look reasonable to me, FWIW. They seem good to me! Thanks for spearheading this effort Eli. And thanks for your contribution Christian!

GNU make 4.3 released!

2020-01-19 Thread Paul Smith
racle Studio 12.6 Pacify Oracle Studio 12.6 in init_switches Remove useless code in eval Port grouped_targets test to Solaris 10 Pacify Oracle Studio c99 Port functions/shell test to Solaris 10 Paul Smith (172): * Update to pre-release version 4.2.90.

GNU make 4.2.93 release candidate available

2020-01-02 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: https://www.gnu.org/software/make/ --

GNU make 4.2.92 release candidate available

2019-10-08 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: https://www.gnu.org/software/make/ --

GNU make 4.2.91 release candidate available

2019-09-16 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: https://www.gnu.org/software/make/ --

GNU make 4.2.90 release candidate available

2019-08-26 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: https://www.gnu.org/software/make/ --

New GPG key for GNU make distribution

2016-12-11 Thread Paul Smith
I have generated a new 4096-bit RSA GPG key and am switching to it from my old key. All future signatures for GNU make releases and announcements will be created using the new key.  The old key was not compromised and can continue to be used safely but future correspondence should be encrypted usi

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Paul Smith
On Wed, 2016-06-22 at 20:36 +, Adrian Muresan wrote: > Does batch_mode_shell = 1 mean that it always uses the sh.exe instead > of Windows.cmd? No.  It's clear that make is not using Windows command.com, because the script you're running is a POSIX shell script, not a command.com batch script.

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Paul Smith
On Wed, 2016-06-22 at 19:47 +, Adrian Muresan wrote: > In config.h, I uncommented the line > /* #define BATCH_MODE_ONLY_SHELL 1 */ > > this affects job.c > >   static const char *sh_cmds_sh[] = >     { "cd", "eval", "exec", "exit", "login", "logout", "set", > "umask", "wait", >       "while",

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Paul Smith
On Wed, 2016-06-22 at 18:48 +, Adrian Muresan wrote: > I ran using GNU make 3.81 from two different sources: > > once using the binary form sourceforge  > And  > once using the binary from QNX.  > > QNX gave no error and SourceForge gave an error (the same error as > 4.2, 4.2.1 I built and th

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Paul Smith
On Wed, 2016-06-22 at 17:57 +, Adrian Muresan wrote: > Should I submit a bug report to the GNU make site? As Eli's tests, and even your output, show, GNU make is invoking the command with the complete command line, so there's no issue with GNU make.  It's the command we're invoking which is so

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Paul Smith
Hi Adrian; we try to avoid top-posting on mailing lists: instead of including the entire email you're replying to and then writing your response at the top, please try to include only the parts of the message that are relevant for your reply and intersperse your response appropriately. The complet

GNU make 4.2.1 released

2016-06-11 Thread Paul Smith
mps on MS-Windows Jeremy Devenport (1):   * main.c (main): [SV 48009] Reset stack limit for make re-exec. Luke Allardyce (1):   [SV 48037] Fix MinGW build with Posix configury tools Paul Smith (5):   * w32/pathstuff.c: [SV 47996] Use ISBLANK() not isblank().   * DELETE_ON_ERRO

GNU Make 4.2 released!

2016-05-22 Thread Paul Smith
rg (6):   Set up for running tests on VMS.   [SV 42447]: VMS simulate exporting symbols   [SV 41758]: Fix archive support for VMS.   Update README.VMS and move news to the NEWS file   Fix VMS implicit rules and UNIX paths.   Fix bs-nl handling, exit and Environment for

GNU make release candidate 4.1.90 available for download

2016-04-23 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: http://www.gnu.org/software/make/ ---

Re: [PATCH] Windows jobserver updates for GNU make 4.1

2016-03-08 Thread Paul Smith
On Tue, 2016-03-08 at 18:04 +0200, Eli Zaretskii wrote: > > I know, but when I look at the content of that batch file I don't see > > the difference in the commands invoked between the build_w32.bat GCC and > > dosbuild.bat. They both seem to invoke GCC, with more or less the same > > command line

Re: [PATCH] Windows jobserver updates for GNU make 4.1

2016-03-07 Thread Paul Smith
On Tue, 2016-03-08 at 05:30 +0200, Eli Zaretskii wrote: > > I'm not sure what to do about the plethora of other ways we can build > > for Windows. Do we still have any use for dosbuild.bat for example? > > It seems to invoke gcc... does that mean it's superseded by the > > build_w32.bat support

Re: [PATCH] Windows jobserver updates for GNU make 4.1

2016-03-07 Thread Paul Smith
On Tue, 2016-03-01 at 18:55 +0200, Eli Zaretskii wrote: > > From: Troy Runkel > > CC: "make-w32@gnu.org" > > Date: Tue, 1 Mar 2016 12:21:38 + > > > > The changes for this patch were created by another developer where > I work. I've forwarded your questions to him and included his > answers

Re: [PATCH] Windows jobserver updates for GNU make 4.1

2016-02-24 Thread Paul Smith
On Wed, 2016-02-24 at 17:27 +, Troy Runkel wrote: > This patch expands the maximum number of simultaneous jobs on Windows > from 63 (limit dictated by Windows MAXIMUM_WAIT_OBJECTS) to 4095. > > It also fixes a situation where GNU make on Windows could deadlock > and/or suffer memory corruptio

Re: GNU make CPU utilization in cloud environments

2016-02-17 Thread Paul Smith
On Wed, 2016-02-17 at 14:51 +0100, Tamás Fülöp wrote: > This command utilizes at least 80% of the CPU on a local machine, but > not in the cloud environment. Wait, I think we were not clear what you meant by "cloud environment". GNU make supports _parallel_ jobs: that is, running multiple recipe

Re: GNU make CPU utilization in cloud environments

2016-02-17 Thread Paul Smith
On Wed, 2016-02-17 at 10:35 +0100, Tamás Fülöp wrote: > I am experiencing problems with the GNU make 3.81 in Amazon-like cloud > environment. The "make.exe" does not utilizes the virtual CPUs, the > utilization sits around 1% and that makes the building process really > slow. You haven't given us

GNU make 4.1 is now available

2014-10-05 Thread Paul Smith
Grant (1): Fix defalt_makefiles[] for MS-Windows. Paul Smith (43): Set up for the next release. Convert to auto-generated ChangeLog files. Add support for updating the GNU make web pages. [SV 40139] Modify "missing separator" for better translation * GN

Re: Gnu Make operating conditions

2014-06-06 Thread Paul Smith
On Fri, 2014-06-06 at 21:11 +0530, chandrababu nallani wrote: > Hi Eli and Paul, Please always send all your questions to the mailing list, not to individual developers specifically. > 1. Assume a system has low disk space. How GNU Make behaves if I run > in this situation? GNU make itself does

Re: Gnu Make operating conditions

2014-06-05 Thread Paul Smith
On Thu, 2014-06-05 at 18:45 +0530, chandrababu nallani wrote: It's important to understand that GNU make is a utility which exists to run other tools, such as compilers, linkers, or whatever other programs your makefile tells it to. As such we can answer the following questions for the GNU make t

Re: strange behavior with makefile

2014-01-20 Thread Paul Smith
On Mon, 2014-01-20 at 07:06 -0800, Uwe wrote: > I found a quite simple solution: > > call make with the -R Option which suppresses all built-in stuff ... That can't be a valid solution, given the makefile you provided before. If you suppress the built-in rules then there will be no rules that k

Re: strange behavior with makefile

2014-01-20 Thread Paul Smith
On Mon, 2014-01-20 at 00:45 -0800, Uwe wrote: > I am just before getting mad with that makefile. I already shortened my > large makefile to just a few lines: > SRC_DIR = ..\src > OUT_DIR = ..\out > TMP_DIR = ..\tmp > # Compiler > CC = ..\..\tools\compiler\cx6808 > CFLAGS = -pp -vl +nowiden

Re: Building Make from git without guile fail.

2013-10-24 Thread Paul Smith
On Wed, 2013-10-23 at 19:35 +0300, Eli Zaretskii wrote: > Right. Paul changed the arrangements with compiling guile.c, but > build_w32.bat didn't get the corresponding update. Yeah, that was a particularly lame change on my part. I needed more sleep or something. Thanks for the pick-up Eli.

GNU Make 4.0 released

2013-10-08 Thread Paul Smith
GNU Make 4.0 has been released and is available now for download: http://ftp.gnu.org/gnu/make/make-4.0.tar.gz b5e558f981326d9ca1bfdb841640721a http://ftp.gnu.org/gnu/make/make-4.0.tar.bz2 571d470a7647b455e3af3f92d79f1c18 Or one of the mirrors listed in http://www.gnu.org/order/ftp.html Get red

Re: Windows patches for the next release

2013-10-06 Thread Paul Smith
On Sun, 2013-10-06 at 05:52 +0300, Eli Zaretskii wrote: > > From: Paul Smith > > Cc: Denis Excoffier , > > bug-...@denis-excoffier.org, pavel_fe...@mail.ru, make-w32@gnu.org > > Date: Sat, 05 Oct 2013 20:05:03 -0400 > > > > > > However, outp

Re: Windows patches for the next release

2013-10-05 Thread Paul Smith
On Wed, 2013-10-02 at 19:17 +0300, Eli Zaretskii wrote: > > Date: Wed, 02 Oct 2013 09:34:06 +0200 > > From: Denis Excoffier > > Cc: , , , > > > > > > The abspath error is gone. > > Thanks for testing, I will commit the changes soon. > > > However, output-sync, recursion, MAKE remain. Include

Re: Windows patches for the next release

2013-10-01 Thread Paul Smith
On Tue, 2013-10-01 at 19:52 +0300, Eli Zaretskii wrote: > Btw, Paul: I see that the sources don't consistently use STOP_SET > where characters are tested for being directory separators; sometimes > they actually test for both slashes and backslashes. Should we fix > that throughout the sources? S

Re: make check under Cygwin (3.99.93)

2013-10-01 Thread Paul Smith
On Tue, 2013-10-01 at 11:04 +0200, Denis Excoffier wrote: > Hello, > > Thank you for this new RC. > > I have tested make-3.99.93 under cygwin 32 bits with --disable-load > (and without the spawn-patch). > > Several items that i had reported in > http://lists.gnu.org/archive/html/bug-make/2013-09

Re: Windows patches for the next release

2013-09-30 Thread Paul Smith
On Mon, 2013-09-30 at 18:15 +0300, Eli Zaretskii wrote: > I suggest another RC, I think the changes since the last one are > non-trivial. OK, I created a new RC, available now on make-alpha. I don't personally plan to make any more changes, so as soon as you feel you're happy with the Windows sup

GNU make 3.99.93 release candidate is available

2013-09-30 Thread Paul Smith
Hi all. The fourth release candidate, 3.99.93, for the next version of GNU make is now available on alpha: ftp://alpha.gnu.org/gnu/make/make-3.99.93.tar.bz2 81e1f8693c50bf485382c31f0e827d91 ftp://alpha.gnu.org/gnu/make/make-3.99.93.tar.gz fc854c46fb60d8ffb1066dc46026aa4c There are a number

Windows patches for the next release

2013-09-30 Thread Paul Smith
Hi all; There are some decisions to be made on outstanding Windows patches. Other than these I believe the next release is ready to go... not everything is fixed but at some point you have to pull the trigger. I'm willing to apply the ones that are appropriate, but need some guidance from Eli. A

Re: Make 3.99.91/92 - Output-Synchronization fails with UAC or Non-Admins (under Windows)

2013-09-23 Thread Paul Smith
On Mon, 2013-09-23 at 23:04 +0300, Eli Zaretskii wrote: > > IMHO, I think, this type of temporary files should be created like > other > > needed temporary (batch-) files in the TMP/TEMP-folder (using the > > associated environment variable). > > I agree. Can you please test with the following pa

GNU make 3.99.91 release candidate is available

2013-09-15 Thread Paul Smith
Hi all. The second release candidate, 3.99.91, for the next version of GNU make, is now available on alpha: ftp://alpha.gnu.org/gnu/make/make-3.99.91.tar.bz2 f560e25dc1b389f0467bfcc1070fa372 ftp://alpha.gnu.org/gnu/make/make-3.99.91.tar.gz 531fc31c44b50925f0266dde61f539a2 There are many bug

Re: .ONESEHLL not working as expected in 3.82

2013-04-27 Thread Paul Smith
On Sat, 2013-04-27 at 20:55 +0300, Eli Zaretskii wrote: > Note: there's one more major feature in current git repo that needs to > be made available on Windows: dynamic loading of extensions. That is > my highest priority for Make todo list. Yes. I wonder if there are features of gnulib which ma

Re: How to get gnumake3.8.2 Run in Unix mode on windows platform

2013-04-09 Thread Paul Smith
On Tue, 2013-04-09 at 03:08 +, mojg...@sympatico.ca wrote: > Currently I am using gnumake3.8.0 with --unix option to Run in UNIX > mode You mean GNU make 3.80 and 3.82. There's no version 3.8.0. or 3.8.2. > I just download gnumake3.8.2 and tried to compile but it seems --unix > option is re

Re: configure error for last cvs sources

2012-09-21 Thread Paul Smith
On Sat, 2012-09-22 at 00:14 +0400, niXman wrote: > If I remove this lines from configure - everything is ok. > > # See if the user wants to add (or not) GNU Guile support > PKG_PROG_PKG_CONFIG > > # Check whether --with-guile was given. > if test "${with_guile+set}" = set; then : > withval=$wit

Re: configure error for last cvs sources

2012-09-21 Thread Paul Smith
On Fri, 2012-09-21 at 22:33 +0400, niXman wrote: > 2012/9/21 Eli Zaretskii: > > > That it's probably a bug, but if you use build_w32.bat, you'll be able > > to build a MinGW Make nonetheless. > > I understand your proposition to use build_w32.bat but I need to build > gnu make for MinGW-builds pr

Re: Parallel build

2012-02-28 Thread Paul Smith
On Tue, 2012-02-28 at 21:54 +0400, niXman wrote: > 2012/2/28 Paul Smith : > > This makefile, for example, works correctly for me on GNU/Linux (with > > -j2 I get two jobs at a time running): > > > >all: 1.p 2.p 3.p 4.p 5.p 6.p > >.PHONY:

Re: Parallel build

2012-02-28 Thread Paul Smith
On Tue, 2012-02-28 at 17:57 +0400, niXman wrote: > Hello, > > I built make from CVS. I'am confused that option "-jN" didn't work properly. > When I set N to count (doesn't matter how much I set) It will build > using 1 thread. > If I'm use this option without setting count It'll build with a lot o

Re: Updated patch for port of jobserver to Windows

2012-01-18 Thread Paul Smith
On Wed, 2012-01-18 at 10:56 -0500, Bill Hoffman wrote: > >> On 18 July 2011 15:30, Troy Runkel wrote: > >>> Attached is an update for the port of jobserver to Windows that I > >>> originally submitted in October of 2010. > > > Has any progress been made on the copyright assignment? The windows job

Re: Cleanup of makefiles 'n stuff

2012-01-16 Thread Paul Smith
On Mon, 2012-01-16 at 06:59 -0500, Eli Zaretskii wrote: > > From: Paul Smith > > 1. Standard configure/Makefile.am > > 2. build.sh > > 3. Makefile.DOS > > 4. NMakefile > > 5. SMakefile > > 6. build_w32.bat > > 7.

Cleanup of makefiles 'n stuff

2012-01-15 Thread Paul Smith
Hi all. Going through the content of GNU make sources recently it occurs to me we have a LOT of ways to build GNU make. Maybe at one time or another all these different ways were necessary but I wonder if they still are. Can't we reduce them somewhat? For ways to build GNU make we have: 1.

Re: (Hopefully final) Updated patch for port of jobserver to Windows

2011-11-13 Thread Paul Smith
On Wed, 2011-10-12 at 17:41 +, Troy Runkel wrote: > Attached is an update for the port of jobserver to Windows that I > previously submitted in July of 2011. This patch is essentially the > same as the previous one. The only difference is that this patch is > based on the latest GNU make sour

RE: suggestion: new make function

2011-10-12 Thread Paul Smith
On Tue, 2011-10-11 at 11:03 -0700, Lawrence Ibarria wrote: > > -Original Message- > > From: bug-make-bounces+libarria=nvidia@gnu.org [mailto:bug-make- > > bounces+libarria=nvidia@gnu.org] On Behalf Of David Boyce > > Sent: Sunday, September 25, 2011 2:17 PM > > To: Tim Murphy > > Cc

Re: Updated patch for port of jobserver to Windows

2011-09-20 Thread Paul Smith
On Tue, 2011-09-20 at 17:06 -0400, Chris Sutcliffe wrote: > On 18 July 2011 15:30, Troy Runkel wrote: > > Attached is an update for the port of jobserver to Windows that I > > originally submitted in October of 2010. > > Was this patch ever included? I'd love to see an actual working > jobserver

Re: make 3.82 for Win32 differs from documentation ?

2011-05-26 Thread Paul Smith
On Thu, 2011-05-26 at 10:45 +0200, pasman pasmański wrote: > 1. .NOSHELL not work. Makefile: Correct: ONESHELL is not ported to Windows. As Eli said, anyone who can help with this is welcome. > 2. private not work. Makefile: > > test1: private a=1 > test1: test2 > echo -$$a- > test2: >

RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS

2010-10-11 Thread Paul Smith
Hi Partha; please keep email conversations on the mailing lists. Thanks! On Mon, 2010-10-11 at 18:01 +, Partha None wrote: > Under what condition I am supposed to use $(MAKEFLAGS) while invoking > the Sub MAKEFILE? Never. > If never, then what is the real purpose of $(MAKEFLAGS)? It is use

RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS

2010-10-11 Thread Paul Smith
On Mon, 2010-10-11 at 14:18 +, Partha None wrote: > I am confused about not passing $(MAKEFLAGS) to the invoked > sub-makefile. > I need to pass that because I wanted to pass all the parameters of the > COMMAND LINE to the invoked sub-makefile which I am calling from the > root MAKEFILE. > So,

RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS

2010-10-10 Thread Paul Smith
On Sun, 2010-10-10 at 00:15 +, Partha None wrote: > Even if I use double quote character " , I get the same behaviour. > Please help. Did you follow my advice and remove $(MAKEFLAGS) from the line? That has to go, as the very first step. > I can send you the whole folder in ZIP format in cas

Re: Patch for port of jobserver to Windows

2010-10-08 Thread Paul Smith
On Fri, 2010-10-08 at 09:35 +0200, Eli Zaretskii wrote: > Paul, it looks like the patch is large enough to require legal papers > from Troy, is that right? Yes, I'd definitely agree. I see a couple of other assignments from people who work for Mathworks Inc. so hopefully there's some precedent o

Re: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS

2010-10-07 Thread Paul Smith
Hi Parha; please choose just one mailing list. If you think the problem is mostly generic make, help-make is better. If the problem is clearly Windows specific, use make-w32. On Fri, 2010-10-08 at 02:04 +, Partha None wrote: > ===

Re: Minor patch to correct buffer overrun

2010-08-28 Thread Paul Smith
On Fri, 2010-08-27 at 09:41 +0300, Eli Zaretskii wrote: > > Date: Thu, 26 Aug 2010 21:53:11 -0400 > > From: Chris Sutcliffe > > CC: psm...@gnu.org, make-w32@gnu.org > > > Fine with me. If Paul doesn't object, I will commit this upstream. > > Thanks. The patch is OK if the Windows folks like it

Re: Minor patch to correct buffer overrun

2010-08-19 Thread Paul Smith
On Thu, 2010-08-19 at 11:24 -0400, Chris Sutcliffe wrote: > I'm rebuilding again with the sed command included and I'll upload a > third 3.82 build to mingw.org and drop the original ill-advised patch. I'm not at all convinced that there's not still a bug here. The fact that we can force a core d

Re: Minor patch to correct buffer overrun

2010-08-18 Thread Paul Smith
On Wed, 2010-08-18 at 20:19 +0300, Eli Zaretskii wrote: > Can you explain what exactly was the problem with the original code? Well, if the size of tem was MAXPATHLEN, but the size of name was PATH_MAX or similar, and PATH_MAX is 1024 and MAXPATHLEN is 269 (or whatever it was), and your filename i

Re: Minor patch to correct buffer overrun

2010-08-16 Thread Paul Smith
On Mon, 2010-08-16 at 11:13 -0400, Chris Sutcliffe wrote: > No, I didn't explain things well. MAX_PATH on windows should be 259. Hm. I think the entire MAXPATHLEN thing is something that needs to be cleaned up. I think a better idea would be to use the POSIX standard value of PATH_MAX, everywhe

Re: Minor patch to correct buffer overrun

2010-08-16 Thread Paul Smith
On Mon, 2010-08-16 at 09:17 -0400, Chris Sutcliffe wrote: > As reported on the MinGW-Users mailing list, there is an issue with > buffer overrun regarding 'MAXPATHLEN'. MinGW's sys/param.h defines > 'MAXPATHLEN' as follows: > > #define MAXPATHLEN PATH_MAX > > where 'PATH_MAX' is 259. The issue

GNU make 3.82 is now available

2010-07-27 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: http://www.gnu.org/software/make/ ---

Re: Source file list

2010-03-24 Thread Paul Smith
On Wed, 2010-03-24 at 05:04 -0700, nature wrote: > Hi , > > I have a list of src files along with the path in a file. Is it possible to > include this file ( like SRC = listfiles.txt )instead of listing them as SRC > = file1.c file2.c ? If the file (listfiles.txt) has a syntax like "SRC = fil

RE: why does command echo \\\foobar print \\foobar

2010-02-07 Thread Paul Smith
On Sun, 2010-02-07 at 06:02 -0800, Mark Galeck (CW) wrote: > That's the whole point, you said before, it _should_ be \foobar, that > is what you had "expected", obviously based on some knowledge about > GNU make's behavior. No, not "obviously". Please don't leap to conclusions. I said that based

RE: why does command echo \\\foobar print \\foobar

2010-02-07 Thread Paul Smith
On Sat, 2010-02-06 at 20:56 -0800, Mark Galeck (CW) wrote: > But Paul, one more thing, where does it say in the manual, that it > should be \foobar (one slash). It doesn't say anywhere in the manual, because this has nothing to do with GNU make. Make does not actually RUN the commands that you wr

Re: GNU Make under Windows 7

2010-02-05 Thread Paul Smith
On Fri, 2010-02-05 at 11:32 +0100, Terry Wilson wrote: > I’m looking for some help getting GNU Make to work under Windows 7 > Home Premium 32-bit. > > I know that the makefile and my version of make (3.77) work from the > Windows command line under XP but with Windows 7 only 1 task from the > ma

Re: trouble with ( in path or target name with CVS gmake on cygwin

2010-01-08 Thread Paul Smith
On Fri, 2010-01-08 at 10:52 +0200, Eli Zaretskii wrote: > > Date: Thu, 07 Jan 2010 16:41:58 -0500 > > From: Bill Hoffman > > Cc: "make-w32@gnu.org" > > > > This also seems to be broken on linux. > > make --version > > GNU Make 3.81 > > ../make/make --version > > GNU Make 3.81.90 > > > > $ ../ma

Re: FWD: HAVE_CASE_INSENSITIVE_FS

2009-12-31 Thread Paul Smith
On Thu, 2009-12-31 at 21:12 +0200, Eli Zaretskii wrote: > > From: Paul Smith > > Date: Thu, 31 Dec 2009 00:21:15 -0500 > > Cc: make-w32@gnu.org > > > > Hartmut: I'm forwarding this to the make-w32 list, which is where most > > of the folks who would know

FWD: HAVE_CASE_INSENSITIVE_FS

2009-12-30 Thread Paul Smith
Hartmut: I'm forwarding this to the make-w32 list, which is where most of the folks who would know something about this are reading (I hope). I'm happy to comment on the feasibility (or not) of various solutions but I don't use this flag, or the systems that it's needed for, so I'm not sure what th

Check a bug...?

2009-10-04 Thread Paul Smith
Hi all. Can someone take a look at bug #17381 in Savannah and see if it's still a problem in the latest CVS code? There have been some cleanups since it was filed: https://savannah.gnu.org/bugs/?17381 Let me know and I can close this (or Eli can do it). Thanks! -- ---

Re: Help on analyzing the gnu make error

2009-09-30 Thread Paul Smith
On Tue, 2009-09-29 at 22:14 -0700, gbj wrote: > Hi > > Can you please help me on analyzing the below error on windows? > > [make] make: *** [dac800/objs/hsdev.o] Error 5 This message means that the command make invoked to build the target dac800/objs/hsdev.o failed with an exit code of 5, in

Re: sinclude/-incldue issue

2008-12-09 Thread Paul Smith
On Tue, 2008-12-09 at 09:58 -0800, ssaradhi wrote: > we are using make file systems to build our source code. > We use some options like -include or sinclude to skip,if the file > thats > included is not existing. > > Yet for some reason,the make system fails at this very line > complaining that t

Re: make 3.81 and MS-DOS paths (e.g. C: or drive letter paths)

2008-07-03 Thread Paul Smith
On Thu, 2008-07-03 at 11:26 -0400, Bill Hoffman wrote: > I think this is a known limitation, that the job server is not > implemented on certain platforms. I googled a bit, and it seemed > like it has something to do with having or not having named pipes. > Perhaps some of the gnu make folks c

Re: make-trouble from a newb: To hell with shell

2008-07-03 Thread Paul Smith
On Thu, 2008-07-03 at 08:05 -0700, Uffze wrote: > I don't have a clue why on some lines make starts the tools directly > (so they work), while on other lines the tools are started via the gnu > shell (which uses different paths than window and results in the fact > that they can't be found). I can

Re: make 3.81 and MS-DOS paths (e.g. C: or drive letter paths)

2008-07-02 Thread Paul Smith
On Tue, 2008-07-01 at 09:56 -0400, Bill Hoffman wrote: > Along those lines, does anyone have an ETA on the next release of GNU > Make? Just curious if it is 1 month, 3 months, 6 months or 1 year > away. There is no ETA. However, it definitely seems like we should start pushing for some kind of

Re: make 3.81 and MS-DOS paths (e.g. C: or drive letter paths)

2008-06-30 Thread Paul Smith
On Mon, 2008-06-30 at 18:08 -0700, Kelly O'Hair wrote: > I assume cygwin will not be fixing this, in 3.82 or ever, is that > the conclusion I am seeing? No; I'm pretty sure it's already been fixed in CVS actually. I just think that, in general, it's not guaranteed by make (or any other cygwin too

Re: what happens to my --jobs?

2008-02-29 Thread Paul Smith
On Fri, 2008-02-29 at 10:12 +0100, Krzysztof Nosek wrote: > shouldn't --jobs (-j) flag and its value appear in MAKEFLAGS? No; there's no need for it to be there. The submakes get information about whether they can run a job or not from the jobserver (a pipe). They don't need to know, nor would it

  1   2   >