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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=mZINTDJdFFYx+feLo6QOtRp3ytA0np0OmisitiG2hBz FwFnyeWTSZFxKeny1BoanJUrbZmrNojLNqqF76H5uparrE2lbpdCuC8tupvaURhs HDD4OK8PKrzPn3RpI2asydqEs/pHYG40uIbsWv2bRTTOeHjehDJkNlMWbuAQ/WtI = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=DZC0nibxvJ1S43zfMIvDqPJeKNA=; b=yhS11mV8q1yEckOVR 8532AIWqo49MxZ7mVoGYZwDp+kfU3sb7Z20EudL79iUJ50RM4eZSSTt4nJUzmJiw 7SwvkMGiQdkGX1oTEb8qYyT39Otyf7r89Cffd+rvHD55s4/uilvTt4le+ohl1I0j vc4wLRGRdyP48nGH9yqH5/giPQ= 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=-0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f178.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=8FFOKHEt3ysAZ6/8g0FQKf4nv+m6otiZeaNzzT4/59E=; b=XJk5UzLflYcnFYc+SUMJYe6+2p1aDlo5u77HuygrcsRL5uMzHqtAvMAKLiWdsqdw8E IIGXKuyFlCscHIGiM8WdQQfAiYJhu7PRU9vs13zTYwQfWiZ8m+BdpDJ4rVguiyQhXemU objI9hHunzs3GMqSdD9xdfGh332V9kmM0czdkrJYNAIZQFMC3h+GNReMW2RYN0Ad7h4j zIIPt2sOAONyIZJ83+T2wrN8hD3VthI3peP5ILhCkmneMbMyI8zHIBWKs6wfIOWkHWhz 9n187Pf9ulMcN/dSyRnAXMlMN+BBlxVLEcx0h12U18mLgVq0Zk2JY7mjZkCotCkNKx2B TNgw== X-Gm-Message-State: ALoCoQlaNJp1k6zPOeLrhEXkEr3Rtk0etBJRUoo/ViuTlnGRoY97pngkMF35mGdRnYjmK01varye X-Received: by 10.68.68.235 with SMTP id z11mr20747820pbt.60.1421869593944; Wed, 21 Jan 2015 11:46:33 -0800 (PST) Message-ID: <54C00217.8040000@delphix.com> Date: Wed, 21 Jan 2015 11:46:31 -0800 From: Manoj Joseph User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Linking to cygwin1.dll References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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