X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4EE7B669.8030707@etr-usa.com> Date: Tue, 13 Dec 2011 13:32:41 -0700 From: Warren Young User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Cygwin-L Subject: Re: cyg*.dll, linking References: <4EE7987B DOT 8030208 AT cs DOT utoronto DOT ca> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 12/13/2011 12:18 PM, Brian Craft wrote: > On Tue, Dec 13, 2011 at 11:16 AM, Csaba Raduly wrote: >> On Tue, Dec 13, 2011 at 7:45 PM, Brian Craft wrote: >> >>> And why don't I see cyg*.dll files, for example, in /usr/lib? >> >> They are all hiding under /usr/bin :) > > Ah! I see. So the install is working fine, I was just adding the wrong > directory to PATH, having no idea that libraries would be installed > under ${prefix}/bin. :) ...and that is on purpose, because of Windows' DLL search path rules: http://msdn.microsoft.com/en-us/library/7d83bc18.aspx If autotools generated Makefiles that installed DLLs in /usr/lib, you'd have to add c:\cygwin\lib (or whatever) to the PATH, and then risk being sent to DLL Hell by having another DLLs with the same name elsewhere in the PATH. -- 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