Date: Thu, 25 Apr 1996 12:05:42 +0200 (IST) From: Eli Zaretskii To: Demmer AT LStM DOT Ruhr-Uni-Bochum DOT De Cc: djgpp-workers AT delorie DOT com Subject: Re: cannot open linker script file djgpp.lnk In-Reply-To: <240802523A5@brain1.lstm.ruhr-uni-bochum.de> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 25 Apr 1996, Tom Demmer wrote: > OK, you're partly right. I _had_ to look into gcc.c. The stat'ing > stuff is in the function is_dir(). gcc stats for > c:/djgpp/lib\. > which works for local but not for network drives. I always omitted > the dot, so I could not find any difference between network and local > drives. Here is the output of stat.exe for several paths: > > j:/djgpp/lib\.: lossage : No such file or directory (ENOENT) > j:/djgpp/lib\: 9 65536 30755 1 42 416 826819214 Thu Mar 14 17:00:14 1996 > j:/djgpp/lib: 9 65536 30755 1 42 416 826819214 Thu Mar 14 17:00:14 1996 > d:/djgpp/lib\.: 3 121 30755 1 42 416 827405028 Thu Mar 21 11:43:48 1996 > d:/djgpp/lib\: 3 121 30755 1 42 416 827405028 Thu Mar 21 11:43:48 1996 > d:/djgpp/lib: 3 121 30755 1 42 416 827405028 Thu Mar 21 11:43:48 1996 > > I hope this sheds a little light on the problem... Thank you so much!! After hearing so many network-related problem reports without any details, now thanks to you I begin at the long last to understand what happens. Can you please step with a debugger into `stat' and see where does it fail? Is it the `findfirst' call (that's what I suspect) or any other place? I could then devise a solution to this mess. Thanks.