delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/13/19:29:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
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: <OF4B968C01 DOT CA29E8F6-ON002568FD DOT 00821EE8 AT srv DOT uk DOT deuba DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2i
In-Reply-To: <OF4B968C01.CA29E8F6-ON002568FD.00821EE8@srv.uk.deuba.com>; 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019