🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #371

questions/comments about GNU Make (vis a vis SunOS make)

#371
From: Marty
Date: Mon, 21 Aug 1989 18:26
32 lines
1571 bytes
This contains some interesting differences between SunOS 4.0.1 make and GNU
make 3.54.

GNUmake doesn't have a .KEEP_STATE feature.  I suppose it should be added
to the Missing Features.  I'm not sure how useful .KEEP_STATE is, I've
never used it.

SunOS make defines $(MAKE) in the defaults.mk file while gnumake
dynamically figures it out if it's in argv[0].  This has the surprising
side effect in the following cases:
	you specify /bin/make to run on a recursive tree of makefiles using the
system make, envoked with $(MAKE).
	gnumake is called make and is in front of /bin/make on your path.
	The first makefile will be processed by the system make, latter makefiles
will be processed by GNUmake.  Ugghhh!!
	

SunOS makes only puts the variables defined in the makefile, the command
line or inherited in the environment in the child's environment.  GNUmake
puts everything into the environment, even variables never referenced (i.e.
like:
F77=$(FC)
F77FLAGS=$(FFLAGS)
FC=f77
).  Not saying its a bug, it's just different.

marty
ARPA:	leisner.henr@xerox.com
GV:  leisner.henr
NS:  leisner:wbst139:xerox
UUCP:	hplabs!arisia!leisner
 
Technical Details
Message-ID: <890821-112651-1301@Xerox>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!XEROX.COM!Leisner.Henr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!XEROX.COM!Leisner.Henr
From: Leisner.Henr@XEROX.COM (Marty)
Newsgroups: gnu.utils.bug
Subject: questions/comments about GNU Make (vis a vis SunOS make)
Message-ID: <890821-112651-1301@Xerox>
Date: 21 Aug 89 18:26:45 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 32