X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:content-type:content-transfer-encoding :date:subject:to:message-id:mime-version; q=dns; s=default; b=f2 5d4gv755TDMGLoO97hFJbX7peKlnWG9jsmwnsYUW70m38OxYn69zJG1mHSjIO6Vv 3wBxkYXoiS1JhkfLnZectsUAYuApZtu4bN4+zuUSwqEPNUsXlg6mCXp9pAXgjx1Y n+6Yi1bg05WNpd/bjToJn8Jj7icluB5Vt0U4Llszo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:content-type:content-transfer-encoding :date:subject:to:message-id:mime-version; s=default; bh=u6ipf/FN 5FBrytfHcJddSpvPuUY=; b=NWi3fil7zW85QWjI6TKbfFeTDUUIcEIcpyybx0i3 EytinB5lY7LmVqTLCxGsVWwlUZCMFIYv76NiXBa8VRChkqX0vGRXPBsf0Wx3e/Rc lD4lkYaQMXn0d4yAV8GKsYctiHHbB/oy72gDN6sipLNROI3mc9J6iUWhESnREQbe G/g= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: smtp5-g21.free.fr From: Denis Excoffier Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 28 Feb 2015 01:06:35 +0100 Subject: bad interaction with /usr/bin/make To: The Cygwin Mailing List Message-Id: <6BC3C400-70D8-4A1D-9218-897B457B50D8@Denis-Excoffier.org> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Hi, This is a standard makefile, except that hello.c is taken from a special directory: % cat Makefile all : hello hello : hello.o gcc -o $@ $+ hello.o : /usr/mydata/hello.c gcc -o $@ -c $< clean : -rm -f hello hello.exe hello.o % The file hello.c contains exactly what you expect that it should contain and the ./hello runs OK. Now, suppose that you mount (through /etc/fstab) some drive under some subfolder of /usr/mydata, eg R:/svnRepository /usr/mydata/svn ntfs cygexec,noacl You can try the Makefile, it still works (as expected). Now you come home and the R: drive does not exist any more. Believe it or not (but you can try), the Makefile does not work any more and produces: make: *** INTERNAL: readdir: No such file or directory. Stop. You can observe that the /usr/mydata/hello.c still exists, unchanged, and that the mount has nothing to do with /usr/mydata, only with /usr/mydata/svn, which is unknown in the Makefile. Do you think that Cygwin has something to do with this or is it exclusively /usr/bin/make's business? Regards, Denis Excoffier. -- 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