Mail Archives: cygwin/2000/06/13/19:29:04
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 -