[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make doesn't bail on compile errors
From: |
Michael L Brown |
Subject: |
Re: Make doesn't bail on compile errors |
Date: |
Fri, 23 Mar 2007 16:35:38 -0500 |
"Philip Guenther" <address@hidden> wrote on 03/23/2007 04:02:42 PM:
> Michael L Brown <address@hidden> wrote:
> >What does it take to get make to report back an exit error status all
the
> >way back to the script that called make, so that the compilation
process
> >is stopped?
>
> A correct makefile. The makefile which is continuing instead of
> stopping has an incorrectly written set of commands that execute
> multiple recursive makes without checking all their exit statuses.
The makefile has to do the checking and stop? Oh how horrible. With
Sun/Solaris make the program saw the error and bail all compiling at that
point and issued an error when exiting, which the script that called the
make the caught and bailed.
Doesn't that seem like overkill to have the makefile do the checking? That
makes the makefile lots larger, when the make program itself should see
the error and back all the way out.
Now to figure out how to do that.
Thanks for the response.
MB
--
Mike Brown (address@hidden)
Lotus Bloats: Michael L Brown/MSN/MS/PHILIPS
Philips Medical, Fitchburg, WI
Desk: 608-288-6969 Fax: 608-298-2101
PMS direct: 164-6969
You design it, I'll build it!
- Make doesn't bail on compile errors, Michael L Brown, 2007/03/23
- RE: Make doesn't bail on compile errors, David L, 2007/03/23
- Re: Make doesn't bail on compile errors, Philip Guenther, 2007/03/23
- Re: Make doesn't bail on compile errors, Philip Guenther, 2007/03/23
- Re: Make doesn't bail on compile errors, Michael L Brown, 2007/03/26
- Re: Make doesn't bail on compile errors, Michael L Brown, 2007/03/26
- Re: Make doesn't bail on compile errors, Michael L Brown, 2007/03/26
- Re: Make doesn't bail on compile errors, Paul Smith, 2007/03/27
- Re: Make doesn't bail on compile errors, Michael L Brown, 2007/03/27