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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=fI QnJ88RfLsPbVd4mm43vM8HtryY3lmhZFkpaaQMKspfbi9/CYrThTr1A3g2ZV0Ji6 SeJcy6Yn/mfZQHqx5Mwem5zZ3mWqzB32B0YIbzCMxixoFzTYUh8jOg1KcGK90dv6 V7J33DPczvtvYCTj7O/MW3Fgu1dUV1DwXQSKsMkMo= 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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=w5S8mRMy sOwSOlykguxkB/JstMQ=; b=ZeKVACOHJ6PdPFFhk/QoVF2EKTdXExLaajt4LBzV E/T9udTGkSbhzsJEVkxTAUIv6Ce+MP24nyQ+7NR3dCeDdQ0kzhN4mIyCqeUBs8/K 7LBXbhEDt2W0tl1YvxK+qrA1njFq+mqCZ0f/Imcol+o3riJ6NH6t1ZKQyKHm2uea Hsk= 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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-we0-f175.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Htwv3RoK96tm8SWzOLvV0SIItS621lFYZkOKT7IfI70=; b=XUd+5cAfjiV0Hb6TJ6+2G3eJJVUod8OY7pczhjq/3889JaFoG3fK7Sal1ZoarQv5gm NJSd7suVXj6AN/2etGJOUHY5/qYEd9RTHFQhWvuLIMcluf8TVl8O1mg3AugPrS84i0GZ OvM8GCdVsKGaeftLsF1FAOqSnbHdUi8zG6+EzLoZdzQNlgu7sejIvWdmwJRihdkU7E+d VHWSXEVdwBDotuAL4FXEWpmhDtBNXt/UPvsvil9X11/KNuFZAZf0KeGZE7v/OcMuHdVg XSl54YEV4IB7fN5TaoftjZa2XqaPnHqJz6ObTJdaQTXBiR/BCBT+/vGdEnzUTaR06ptR Nfwg== X-Gm-Message-State: ALoCoQm7IvrBR7g8hdYNWFK5QEiAfwDku+HLjpTPWyVFTuaBqm6ogvH1KC3vm28tPAKNXwTnCgx9 MIME-Version: 1.0 X-Received: by 10.180.73.143 with SMTP id l15mr59692044wiv.24.1421871206017; Wed, 21 Jan 2015 12:13:26 -0800 (PST) In-Reply-To: <54C00217.8040000@delphix.com> References: <54C00217 DOT 8040000 AT delphix DOT com> Date: Wed, 21 Jan 2015 12:13:25 -0800 Message-ID: Subject: Re: Linking to cygwin1.dll From: Manoj Joseph To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Never mind. My bad. Looks like the directory from which the application loaded is indeed a location where Windows looks. https://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx#standard_search_order_for_desktop_applications Apologies for the noise! Regards, Manoj On 1/21/15 11:46 AM, Manoj Joseph wrote: > Hi, > > As I understand, Windows looks for DLLs in $PATH. Is there any way to > specify, perhaps at compile time, that cygwin1.DLL is to be located in > the same directory as the binary? > > Doing this would mean I don't have to modify environment variables or > copy cygwin1.DLL to one of the system directories. > > Regards, > Manoj -- 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