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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=JieRsNcFb+AnHc9b ocBF3L2Foujo6oXP9ZUQp8IVNbnuVpdhAqxTGTizi4RUUswjrnSKVi5JT+Ak5HUx ZU/11Gwp6MciOq1u0JrhVs8sF8C0l5ZpYQNxMY27XPhxwqJwQWIIx3rP2P37cBp5 wXxpKqM/hsAFO99W0in9xsbJKFs= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=g0rp0Ct0qu9qxqNlVSsxWf fCPgU=; b=O4IDyBE4GwJBMQsDDlkv4hpiU3czeJlDBvH9/akV3Tk21Ks8AEIc6Z xlphj0HLAEzuHdxKxp6O9R5O4fcoCzRzljEOWKredovg2Z3ANzB3DLxQlTEb9BU/ DJQxRfvaLG9C6SM/qDVKdnQM/WRAj9lR8gyZzMUxR/tebZZLkHV6E= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:ip*192.168.0.6, cyg, H*MI:sk:9b87291, H*i:sk:9b87291 X-HELO: mail-it0-f41.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=vqZnjkXYUyIz2H8g9dN3cwX+jzBokDwa7ZWLBS7+UlM=; b=XwH9n8Cw3kKsATDFIya+LrVHDuVyIRTAEGr4ZvDEKPeq9QDbAkpVmPdBZV92zypk5r MSNRPoveOzUsDthBJcxYfUUu7lZNtNqGyOfHZ/lmlZUzrcpNlEFidd8K/8BH65J8WzAA 74QJ6PsNfL1Eiwmi7XkMueviTRjTybb2lGYr2RgyuaVqB2kFcG+YhfzD6XGjAimPCzOz mPV/oLDt01F57pNIiqV1BpMoT7zfNMG3dSvIckhMr3DzK24an/8TdMaQr98Jj7umRZrz QmXbuv5Bbz3oPLnFRlcVQYuC9U6I6JRakbO5Iq+NN1/jPF4bqvZq8B2U0+rgT9ydpAL+ VUDQ== X-Gm-Message-State: AMke39ka7BaPVRwtaGpObBJgQDPOJXBN+i5QWwjjTXzYHv4NeRCTwashnnQlr8DS7VoRoA== X-Received: by 10.36.47.213 with SMTP id j204mr20056620itj.7.1488895084911; Tue, 07 Mar 2017 05:58:04 -0800 (PST) Subject: Re: Strange errors running gcc tests on Cygwin To: cygwin AT cygwin DOT com References: <8fa02a72-e684-2ead-eacb-a5347d7594ae AT pobox DOT com> <82b31abc-7b7f-8f13-fc22-521c9ef84abf AT pobox DOT com> <8bda181f-f0bc-b0dc-2d2d-1bb17031ccee AT gmail DOT com> <583230d9-f45c-aaa0-ed77-5c50863406f5 AT gmail DOT com> <9b872914-d9cf-378e-6eec-96c175a61ffe AT pobox DOT com> From: cyg Simple Message-ID: Date: Tue, 7 Mar 2017 08:58:17 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <9b872914-d9cf-378e-6eec-96c175a61ffe@pobox.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 3/6/2017 9:03 PM, Daniel Santos wrote: > On 03/05/2017 05:08 AM, David Billinghurst wrote: >> No. >> >> LD_LIBRARY_PATH is used by dlopen (). >> >> PATH is one of the locations searched by Windows when starting >> applications, see https://msdn.microsoft.com/en-us/library/7d83bc18.aspx > > Thank you for this clarification. So load-time dlls are resolved (in > ntdll.exe or some such) using PATH and run-time dlls loaded with > dlopen() are resolved with LD_LIBRARY_PATH? I'm obviously not intimate > with Cygwin's architecture, but I'm guessing that explicitly using > LoadLibrary is still going to use PATH. You're obviously not intimate with Windows either. The search algorithm in Windows is more involved than PATH. You need to study more. -- cyg Simple -- 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