| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=1.2 required=5.0 tests=AWL,BAYES_50,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Oleksandr Gavenko <gavenko AT bifit DOT com DOT ua> |
| Subject: | Re: modification time disorder: touch-related? |
| Date: | Fri, 29 Oct 2010 10:24:45 +0300 |
| Lines: | 45 |
| Message-ID: | <iadsrk$62e$1@dough.gmane.org> |
| References: | <4CC9AE85 DOT 6090302 AT purdue DOT edu> |
| Mime-Version: | 1.0 |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
| In-Reply-To: | <4CC9AE85.6090302@purdue.edu> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 28.10.2010 20:10, Robert McDougall wrote: > In running Make, I find targets being remade that shouldn't have to be > remade; being considered younger than the prerequisites from which > they've just been made. It seems to happen especially with > prerequisites created by `touch`: e.g.: > > $ cat Makefile > all : bar baz > > bar baz : foo > cp $< $@ > > foo : > touch $@ > > $ rm foo bar baz > $ make > touch foo > cp foo bar > cp foo baz > $ make > cp foo bar > cp foo baz > $ make > cp foo bar > cp foo baz > $ make > cp foo bar > cp foo baz > $ make > cp foo bar > cp foo baz > $ make > cp foo bar > $ make > make: Nothing to be done for `all'. > > Sleeping helps, but you have to sleep for quite a while; even 2 seconds > may not be enough: > do you build on FAT fs? It knows by lesser time precision (exactly 2 sec). Try example on NTFS. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |