Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Tue, 13 Jun 2000 19:25:49 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: [ANNOUNCEMENT] Updated: make 3.79 Message-ID: <20000613192549.G17964@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2i In-Reply-To: ; from jorg.schaible@db.com on Tue, Jun 13, 2000 at 11:51:03PM +0000 On Tue, Jun 13, 2000 at 11:51:03PM +0000, jorg DOT schaible AT db DOT com wrote: >It's not the echoed line I expect, but the gcc line ! Ah. I completely missed this. You're right. It doesn't get printed on linux either so I assume that this is a generic make-3.79 problem. cgf >Correct output should be: > >============== >Variable MAKE should be set to "/usr/bin/make" automatically! >echo Compiling test >Compiling test >gcc test > /dev/null 2>&1 >make: [test] Error 1 (ignored) >echo Echoed line >Echoed line >============== > >but I get > >============== >Variable MAKE should be set to " " automatically! >Compiling test >make: [test] Error 1 (ignored) >echo Echoed line >Echoed line >============== > > >BTW: I solved my MAKE bug. It was caused by a function defined in my .bashrc: >declare -fx MAKE () >{ > make -r -f `basename "$PWD"`.mak $* >} > >So my MAKE is now "make" also, leaving over the @ problem ... > > >---------------------------------------- Message History ---------------------------------------- > > >From: haynes AT pwrh DOT com on 13/06/2000 20:27 > >To: Jorg Schaible/DMGIB/DMG UK/DeuBa AT DMG UK; cygwin AT sourceware DOT cygnus DOT com >cc: >Subject: RE: [ANNOUNCEMENT] Updated: make 3.79 > > > >FWIW I'm using an older b20.1 snapshot cygwin1.dll and I can't reproduce >this with make V3.79. The $(MAKE) macro expands to 'make' and the second >echo command is echoed by make before execution, as expected. > >Regards, > > Dan Haynes > >> -----Original Message----- >> From: cygwin-owner AT sourceware DOT cygnus DOT com >> [mailto:cygwin-owner AT sourceware DOT cygnus DOT com]On Behalf Of >> jorg DOT schaible AT db DOT com >> Sent: Tuesday, June 13, 2000 2:46 PM >> To: cygwin AT sourceware DOT cygnus DOT com >> Subject: Re: [ANNOUNCEMENT] Updated: make 3.79 >> >> >> >> >> Hello, >> >> after some days using the new make 3.79 I found following problems: >> >> a) The archive make3-79.tar.gz in latest omits the make.info* >> files for version 3.79 provided by the FSF >> b) The variable MAKE should be automatically set to the file name >> used to invoke make. In 3.79 it seems to be a single space >> prohibiting the execution of recursive make commands following >> the advice given by the make manual. >> c) Using @ to hide the line echo within a define will treat all >> following lines as the @ was given too and the line echo is >> wrongly suppressed. This makes debugging of makefiles really painful. >> >> Bugs demonstrated with following makefile. Call >> make MAKE=`which make` SHOW= >> to see correct behaviour. >> >> Unfortunately I have no Linux system running to determine wether >> these are general make 3.79 bugs or bugs caused by the Cygwin port. >> >> Greetings >> Jörg >> >> ========= makefile ========== >> >> SHOW:=@ >> >> define compile >> $(SHOW)echo Compiling $@ >> -gcc $@ > /dev/null 2>&1 >> endef >> >> test: >> @echo -e Variable MAKE should be set to \"$(MAKE)\" automatically! >> $(compile) >> echo Echoed line -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com