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 sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 10 May 2001 17:02:58 +0400 From: egor duda X-Mailer: The Bat! (v1.45) Personal Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <190852746.20010510170258@logos-m.ru> To: Olivier Fambon CC: cygwin AT cygwin DOT com Subject: Re: 'make aux' hangs ? In-reply-To: <3AFA8D72.1862893@inrialpes.fr> References: <3AF979D6 DOT CFFFE8CE AT inrialpes DOT fr> <5016127229 DOT 20010509212620 AT logos-m DOT ru> <3AFA7D2A DOT 83852811 AT inrialpes DOT fr> <12883601112 DOT 20010510161054 AT logos-m DOT ru> <3AFA8874 DOT 85299606 AT inrialpes DOT fr> <12584843087 DOT 20010510163136 AT logos-m DOT ru> <3AFA8D72 DOT 1862893 AT inrialpes DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Thursday, 10 May, 2001 Olivier Fambon Olivier DOT Fambon AT inrialpes DOT fr wrote: >> of course it does. strace is not a magic wand supposed to cure >> problems. it's an analysis tool. you should really take a look at >> make.strace.log file for occurrences of 'aux' OF> Did that. And yesterday, I tried gdb too, which behaved much the same. I OF> just did not expect these to use a cmd window (although I know that it OF> is the simplest way to fork processes in windows). OF> You were right though, strace reports that make (or the shell parsing OF> the cmd line ?) tries to open *file* aux. it's not the shell parsing. its 'make': OF> 159 387936 [main] make 1424 fhandler_base::open: 0 = ^^^^ this shows us who's misbehaving OF> fhandler_base::open (E:\home\fambon\Makefile, 0x110000) OF> 162 388098 [main] make 1424 fhandler_disk_file::open: 0 = OF> fhandler_disk_file::open (E:\home\fambon\Makefile, 0x110000) OF> 161 388259 [main] make 1424 stat_worker: -1 = stat (Makefile, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ and this shows why. apparently make cannot find Makefile in current directory, so it has no reasons to treat 'aux' as phony. so, it checks if there exists such file. OF> 0x242F474) OF> 18734 406993 [main] make 1424 stat_worker: stat (aux, 0x242F384) OF> 181 407174 [main] make 1424 mount_info::conv_to_win32_path: OF> conv_to_win32_path (aux) Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple