Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iAILtWm4011648 for ; Thu, 18 Nov 2004 21:55:32 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id DDF8676FC5 for ; Thu, 18 Nov 2004 21:55:35 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUuOT-0004g9-NZ for migo@homemail.com; Thu, 18 Nov 2004 17:04:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CUuO0-0004ft-9C for gnu-arch-users@gnu.org; Thu, 18 Nov 2004 17:04:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CUuNz-0004fa-NB for gnu-arch-users@gnu.org; Thu, 18 Nov 2004 17:04:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUuNz-0004fX-H7 for gnu-arch-users@gnu.org; Thu, 18 Nov 2004 17:04:15 -0500 Received: from [66.92.173.88] (helo=sanosuke.troilus.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CUuEu-00018H-ER for gnu-arch-users@gnu.org; Thu, 18 Nov 2004 16:54:52 -0500 Received: by sanosuke.troilus.org (Postfix, from userid 1000) id AD04E98004; Thu, 18 Nov 2004 16:54:48 -0500 (EST) To: Adrian Irving-Beer Subject: Re: [Gnu-arch-users] Re: darcs vs tla References: <419ABADB.5020506@arbash-meinel.com> <419B7885.9030903@arbash-meinel.com> <20041118064240.7a57bf81.erikd-tla@mega-nerd.com> <20041118103925.5b32b707.erikd-tla@mega-nerd.com> <419BEB98.3030207@arbash-meinel.com> <20041118173352.613955dc.erikd-tla@mega-nerd.com> <419CCC40.9090200@arbash-meinel.com> <419D0E01.9070904@arbash-meinel.com> <20041118214019.GH3484@wisq.net> From: Michael Poole Date: 18 Nov 2004 16:54:48 -0500 In-Reply-To: <20041118214019.GH3484@wisq.net> Message-ID: <87mzxe961j.fsf@sanosuke.troilus.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: gnu-arch-users@gnu.org, Erik de Castro Lopo X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 1569 Lines: 31 Adrian Irving-Beer writes: > On Thu, Nov 18, 2004 at 03:02:57PM -0600, John A Meinel wrote: > > > hackerlab creates a temporary executable to generate an output file > > and then deletes it. But on cygwin/windows the file ends with a > > .exe, so rm cannot find it to delete it. > > I know there is no 'gcc contract', but doesn't saying 'ld -o foo' or > 'gcc -o foo' and getting foo.exe (a) violate the expectation of using > -o, and (b) break almost every other Makefile out there? > > Not saying it's not a problem. Just confuses me why Cygwin would do > this. As I recall, all their system executables end in .exe too, > although you call them without like in Unix. Appending .exe is less bad than not appending it, since it is necessary for the program to run. The Cygwin environment has some special cases to append .exe where it may be needed. Unix-oriented Makefiles can break, but helpers like Automake know how to work around the most common problems. > Does Windows literally only run files with a .exe extension? I haven't > used Cygwin or Windows in years. Windows can run files with other extensions (.com, .cmd, .bat, etc), but there must be an extension and the extension must be registered with the OS. It uses file extensions to identify the interpreter rather than using magic signatures in the file body. Michael Poole _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/