Re: Using $(eval) to get information at the time a target is invoked

2011-01-11 Thread Eli Zaretskii
From: Paul Smith psm...@gnu.org CC: shihchieh@pw.utc.com, bug-make@gnu.org Date: Mon, 10 Jan 2011 17:22:33 -0500 On Sat, 2011-01-08 at 11:35 +0200, Eli Zaretskii wrote: But I wonder if this is really Windows-specific. Could this be the example you asked for in Savannah bug#443 and

Re: Using $(eval) to get information at the time a target is invoked

2011-01-11 Thread Paul Smith
On Tue, 2011-01-11 at 21:05 +0200, Eli Zaretskii wrote: Okay. Any hints for where to put breakpoints to see when the Make reads the directory for the offending file (the one that gets deleted by the rule)? I'd like to compare the behavior on GNU/Linux and on Windows, so that I could decide

RE: Using $(eval) to get information at the time a target is invoked

2011-01-10 Thread Hsu, Shihchieh IAS
My friend tried the makefile file on Linux (make 3.81) with me watching, and it works. -Original Message- From: Eli Zaretskii [mailto:e...@gnu.org] Sent: Saturday, January 08, 2011 4:35 AM To: psm...@gnu.org Cc: Hsu, Shihchieh IAS; bug-make@gnu.org Subject: Re: Using $(eval) to get

Re: Using $(eval) to get information at the time a target is invoked

2011-01-10 Thread Eli Zaretskii
Date: Mon, 10 Jan 2011 08:03:31 -0500 From: Hsu, ShihchiehIAS shihchieh@pw.utc.com Cc: bug-make@gnu.org My friend tried the makefile file on Linux (make 3.81) with me watching, and it works. Thanks. I tried on GNU/Linux as well, when I first saw your report, and it worked

Re: Using $(eval) to get information at the time a target is invoked

2011-01-10 Thread Paul Smith
On Sat, 2011-01-08 at 11:35 +0200, Eli Zaretskii wrote: But I wonder if this is really Windows-specific. Could this be the example you asked for in Savannah bug#443 and #14617 (which was hoped to be solved in bug#21231)? Can you tell me what causes Make to renew the cache used by $(wildcard)

Re: Using $(eval) to get information at the time a target is invoked

2011-01-08 Thread Eli Zaretskii
From: Paul Smith psm...@gnu.org Date: Fri, 07 Jan 2011 21:58:53 -0500 Cc: bug-make@gnu.org I realize that maybe this doesn't matter on Windows where the filesystem is not case-sensitive, but of course on Linux if you delete hello.c that won't have any impact on Hello.c which is why Hello.c

RE: Using $(eval) to get information at the time a target is invoked

2011-01-08 Thread Hsu, Shihchieh IAS
Thanks for your extremely quick and informative responses. 1) I don't handy access to a Linux system but will work with my friends Monday and see if we can come up with an answer on your $(wildcard) question 2) The Savannah bug#443 and #14617 were not reported by me but if they don't work on

Re: Using $(eval) to get information at the time a target is invoked

2011-01-08 Thread Eli Zaretskii
Date: Sat, 8 Jan 2011 11:40:23 -0500 From: Hsu, ShihchiehIAS shihchieh@pw.utc.com Cc: bug-make@gnu.org Identical results are obtained as before. So the issue is probably not when GNU/Linux renews the cache $(eval), but when Windows/Make refresh/update the cache. Maybe I

RE: Using $(eval) to get information at the time a target is invoked

2011-01-08 Thread Hsu, Shihchieh IAS
I am new to $(eval) and can only present my wishful thinking: When all is invoked, it will go through $(eval) , $(wildcard), etc and save the information, but apparently, the information is also saved when makefile was scanned (???) Any suggestion to dump cache information on Linux? I vaguely

Using $(eval) to get information at the time a target is invoked

2011-01-07 Thread Hsu, Shihchieh IAS
Summary: Using $(eval) to get information at the time a target is invoked, but instead information gotten is when make is invoked. Problem occurs for make3.81 and make 3.82 on Windows XP However if makefile is modified to look for information in a

Re: Using $(eval) to get information at the time a target is invoked

2011-01-07 Thread Paul Smith
On Fri, 2011-01-07 at 20:46 -0500, Hsu, Shihchieh IAS wrote: Summary: Using $(eval) to get information at the time a target is invoked, but instead information gotten is when “make” is invoked. Problem occurs for make3.81 and make 3.82 on Windows XP It works fine for me on Linux, after I