Mail Archives: cygwin/2001/05/10/10:05:29
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
- Raw text -