Re: make3.81-beta4 mingw not failing on error?

2006-03-10 Thread Eli Zaretskii
> Date: Mon, 27 Feb 2006 13:16:45 -0500 > From: "Paul D. Smith" <[EMAIL PROTECTED]> > Cc: GNU Make help , make-w32@gnu.org > > %% Matt England <[EMAIL PROTECTED]> writes: > > me> Preliminary results in complex (but not all) conditions show that > me> make3.81-beta4 compiled under mingw does n

Re: make3.81-beta4 mingw not failing on error?

2006-03-10 Thread Paul D. Smith
%% Matt England <[EMAIL PROTECTED]> writes: me> Preliminary results in complex (but not all) conditions show that me> make3.81-beta4 compiled under mingw does not always stop when me> experiencing an error while executing commands in a rule. me> I can provide more details tomorrow (after

Re: make3.81-beta4 mingw not failing on error?

2006-03-10 Thread Matt England
Greg, Your testing feedback is fantastic, it's just what I seek. Thank you very much. Here's my summary interpretation of at least one data point that I feel is pertinent: Running from msys's own bash.exe/sh.exe... $/c/msys/1.0/bin/make main.exe ...produces the result I want, while... $.

Re: make3.81-beta4 mingw not failing on error?

2006-03-10 Thread J. Grant
Hi! [...] I *want* the build to choke on the 'g++ -M' line, and yes, I know the headers aren't there. The point is that the build currently does **not stop** when it __should stop__ because the headers are not there (and which means I have something wrong with the build). At first look it

Re: make3.81-beta4 mingw not failing on error?

2006-03-10 Thread Greg Chicares
On 2006-3-8 3:31 UTC, Matt England wrote: > > Thanks for helping helping out with this, this was just the sort of > testing I'm seeking. > > At 3/7/2006 09:14 PM, Greg Chicares wrote: > [...] >> /c/tmp/me_make-test[2]$../make-3.81beta4/make >> g++ -c main.cpp -o main.o >> main.cpp:1:21: sys/msg

Re: make3.81-beta4 mingw not failing on error?

2006-03-10 Thread Matt England
At 3/7/2006 08:46 PM, Greg Chicares wrote: On 2006-3-7 20:42 UTC, Matt England wrote: > > For what it's worth, you'll get feedback much more quickly if you just > take the files and run them yourself. (Can I make a .tar.gz attachment > to these emails to make it easier? I'll try with this note.

Re: make3.81-beta4 mingw not failing on error?

2006-03-10 Thread Eli Zaretskii
> Date: Tue, 07 Mar 2006 14:42:56 -0600 > From: Matt England <[EMAIL PROTECTED]> > Cc: Eli Zaretskii <[EMAIL PROTECTED]>,"Matthew England" <[EMAIL PROTECTED]>, > help-make@gnu.org,make-w32@gnu.org > > At 3/7/2006 01:44 PM, Paul D. Smith wrote: > >The "set -e", in a POSIX shell, turns on "exit on

Re: make3.81-beta4 mingw not failing on error?

2006-03-07 Thread Greg Chicares
On 2006-3-8 2:51 UTC, Matt England wrote: > At 3/7/2006 08:46 PM, Greg Chicares wrote: [oops] > > I *want* the build to choke on the 'g++ -M' line, and yes, I know the > headers aren't there. > > Greg, can you provide the output from your msys make run *without* the > changes? /c/tmp/me_make-tes

Re: make3.81-beta4 mingw not failing on error?

2006-03-07 Thread Greg Chicares
On 2006-3-7 20:42 UTC, Matt England wrote: > > For what it's worth, you'll get feedback much more quickly if you just > take the files and run them yourself. (Can I make a .tar.gz attachment > to these emails to make it easier? I'll try with this note.) But I'm > happy to make these edits and g

Re: make3.81-beta4 mingw not failing on error?

2006-03-07 Thread Matt England
At 3/7/2006 09:30 PM, Earnie Boyd wrote: I suspect that you are running into issues of using more than one runtime MSYS and MSVCRT. MSYS provides its own versions of make so that it can control the processes. You've used the MSYS toolset to build a new version of make for a target that uses t

Re: make3.81-beta4 mingw not failing on error?

2006-03-07 Thread Matt England
Greg, Thanks for helping helping out with this, this was just the sort of testing I'm seeking. At 3/7/2006 09:14 PM, Greg Chicares wrote: /c/tmp/me_make-test[0]$make clean rm -f main.o alt1.o main.d alt1.d main.exe alt1.exe /c/tmp/me_make-test[0]$/c/msys/1.0/bin/make g++ -c main.cpp -o main

Re: make3.81-beta4 mingw not failing on error?

2006-03-07 Thread Earnie Boyd
Quoting Matt England <[EMAIL PROTECTED]>: So, on UNIX, this command would exit immediately if the $(CXX) program exits with a non-zero code, as Matt expects. Is this this not the way it's supposed to work on mingw/msys? I suspect that you are running into issues of using more than one ru

Re: make3.81-beta4 mingw not failing on error?

2006-03-07 Thread Matt England
At 3/7/2006 01:44 PM, Paul D. Smith wrote: The "set -e", in a POSIX shell, turns on "exit on error" mode; in this mode the shell will exit immediately when any command line exits with a non-0 code. Yes. So, on UNIX, this command would exit immediately if the $(CXX) program exits with a non-ze

Re: make3.81-beta4 mingw not failing on error?

2006-03-07 Thread Paul D. Smith
%% Matt England <[EMAIL PROTECTED]> writes: me> Is this this not the way it's supposed to work on mingw/msys? You have to tell us: none of us (Eli or me, anyway) have a mingw/msys system. Personally I don't have a system that runs Windows. me> For what it's worth, you'll get feedback much m

Re: make3.81-beta4 mingw not failing on error?

2006-03-07 Thread Paul D. Smith
%% Eli Zaretskii <[EMAIL PROTECTED]> writes: >> $(DDD_FILES): >> @echo -- generating makefile: $@ >> @set -e; rm -f $@; \ >> echo "$(DFILE_HDR)" > $@; \ >> $(CXX) -M $(CXXFLAGS) $< > [EMAIL PROTECTED](PID);

Re: make3.81-beta4 mingw not failing on error?

2006-03-07 Thread Eli Zaretskii
> Date: Mon, 06 Mar 2006 23:56:59 -0600 > From: Matt England <[EMAIL PROTECTED]> > Cc: "Paul D. Smith" <[EMAIL PROTECTED]>,[EMAIL PROTECTED], > help-make@gnu.org,make-w32@gnu.org > > Ok, so I built make-3.81rc1 and still experience make not stopping upon > errors. I think this is expected behav

Re: make3.81-beta4 mingw not failing on error?

2006-03-07 Thread Matt England
At 3/4/2006 03:41 PM, Eli Zaretskii wrote: Yes, please try the latest code, and if that doesn't fix the problem, please post the shortest Makefile that can be used to reproduce it. Ok, so I built make-3.81rc1 and still experience make not stopping upon errors. Details are below. The main exce