delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/04/23:45:19

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:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; q=dns; s=default; b=SpDn
FcFvUk1ZPprhfNdRFSlGRWJSXPWVnGuyMwSKDGt6i50QBH8rPxzN8PXpPr2hMjLj
VXqKNQ/pyHJu3iTVpNnpG7YrK93gQCnEvvO13B8jM0Dyw3LZBI21SWrIBIWDmVFI
QdwaZFDhto1APvNHqM7TWuj2e3JpbZM6BM/nqMw=
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:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; s=default; bh=eLIMgTkjsf
gjszQ9ToTo6JK79X4=; b=D/EXhOH4gguJHWV5ARgfrJ+7LMCvNAMt/FGTglufPX
7Nxv+src1QHD0DzeGdLgXHYI4IKX+7tYKozr8EgYxY5NuDZtUnCOcI4Ok71JvQCl
XwSexx1nq2+OwDVK/Cj5MuX3XLYwOTVM6fKYtdn7HOsiV2yH31DQNQ8++nZJ7Nv3
s=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.4 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: pooka.fabcat.org
Date: Tue, 5 Nov 2013 15:44:35 +1100
From: cygwin AT raf DOT org
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin exe magic does not understand .com extension? [or .exe sometimes]
Message-ID: <20131105044434.GA23590@raf.org>
References: <3310368726 DOT 20131105025244 AT mtu-net DOT ru> <20131105035821 DOT GB3059 AT ednor DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
In-Reply-To: <20131105035821.GB3059@ednor.casa.cgf.cx>
X-IsSubscribed: yes

Christopher Faylor wrote:

> On Tue, Nov 05, 2013 at 02:52:44AM +0400, Andrey Repin wrote:
> >Greetings, All!
> >
> >$ mode<Tab>
> >mode.com     modemui.dll  modex.dll
> 
> That would be /bin/sh exe magic from the looks of it.  It is probably
> just trying to find anything with an executable bit set, just like on
> Linux.
> 
> >$ mode
> >bash: mode: command not found
> >
> >Now, I see two issues.
> >First, it is that it see .dll files as executables. Which is true in essence,
> >but rather suspicious, as .dll files are normally not directly executable.
> >Would really like an explanation for this behavior.
> >
> >Second, is that it actually see mode.com, but unable to execute it.
> 
> It's likely that "mode.com" would execute it.

this sounds like the problem i posted about the other day that trying to
execute gcc doesn't work but gcc.exe does. it's a pity. i wish someone had
an explanation why it happens with some programs like gcc (and mode) but not
others. a solution would be even better. but i've given up trying to compile
python modules so i can live with the failure.


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019