delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-4.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <4F915E65.8070608@gmail.com> |
References: | <4F915E65 DOT 8070608 AT gmail DOT com> |
Date: | Fri, 20 Apr 2012 15:07:17 +0200 |
Message-ID: | <CAKw7uVjf6kt2O=u4EB4xDGgF5wCvqRmtO6v_bc51R7Qj2RFZLw@mail.gmail.com> |
Subject: | Re: Why /usr/bin/*.dll must be executable? |
From: | =?UTF-8?Q?V=C3=A1clav_Zeman?= <vhaisman AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q3KD8LhT008061 |
On 20 April 2012 15:02, De-Jian Zhao wrote: > Hi, > > When I type "cyg" and Tab, many executables starting with "cyg" are listed > (Display all 262 possibilities? (y or n) y). I find that many of them are > *.dll libraries under /usr/bin/. This is inconvenient to find the real > executable applications (*.exe). Since *.dll files are only libraries, they > are not necessary to have the attribute of "x". Thus, I run the command > "chmod a-x /usr/bin/*.dll". Unexpectedly, cygwin is corrupted. I closed the > terminal and failed to restart Cygwin. I started my  older version of Cygwin > (I did not deleted it after installing a new version), and added "x" to the > previous *.dll files. The dead Cygwin revived. > > I am confused why /usr/bin/*.dll should be executable. I thought they were > only library files. When I tried to run a dll file, bash says "cannot > execute binary file". Are there some hidden stories? DLLs are executables thus they need the +x bit. This is a Windows thing. >[...] -- VZ -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |