X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Message-id: <4F96D98A.4030801@cygwin.com> Date: Tue, 24 Apr 2012 12:49:14 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Why /usr/bin/*.dll must be executable? References: <4F95F18A DOT 6010909 AT etr-usa DOT com> In-reply-to: <4F95F18A.6010909@etr-usa.com> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit 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 On 4/23/2012 8:19 PM, Warren Young wrote: > On 4/23/2012 6:12 PM, Richard Troy wrote: >> >> what on earth would --login have to do with where >> the dlls are found? > > Without that, you don't run the profile files[*], so you get the Windows > PATH[**] which is clearly insufficient in your situation. > > Somewhere in one of these files is a line of code that adds the directory > containing the problem DLL to your PATH. And the path needed to find DLLs that are provided by the distribution is added in '/etc/profile'. The template for this file can be found in '/etc/defaults/etc'. This file is sourced by default for a login shell. I can't explain why you might see a difference on W7 with this though, unless your non-W7 machines added Cygwin paths in the Windows environment (via cygwin.bat, the control panel that Warren pointed out, or other scripting files that are part of the your process Richard). -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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