Re: GMAKE 3.81 vs GMAKE 4.2

Paul Smith <[email protected]>
Newsgroups gmane.comp.gnu.make.general
Organization GNU's Not UNIX!
Message-ID <[email protected]>
On Fri, 2022-05-06 at 00:14 +0530, nikhil jain wrote:
> My question is how do I print the exit status in the make itself
> before exiting make. May be at the last of main.c (main function) ?
> but how ? Which variable stores the exit code just before make exits
> ?

All exit paths of make go through the die() function, found in
src/main.c.  if you wanted to edit the code to do something non-
standard, that's the place to put it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.