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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=qNzTATM5NlchLLTx CUdOntWIWSc+9LaGOLge57066DgMfR7ARZ3AuZMWS2gv5vgipbn6El5i5Glt8G5S Y73XpwNchwQfd3JQbMpWB0bzYRhcs7PYcUvPzNkikS2rhFiSyUkH1V1BxdyadaHC knSwOdijSN42X/L9KwZkvsQYxkE= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=JfM/Or6e5oytpl/dg/QtMR 35voA=; b=AwN0LFBiOpqF3NkT5QwXOX5PR0JMX/+3ONJ5bTHEcRIMJerzVqyAB+ W/MptJHBKFggwfhw3PnB09/Ecsb10UWiRgnE4uXipRpdLgUhOfHum/Zp25jUrHJQ wXGllB19DguUvQ6p42TA2C9AF8T7SfRBNF/viwI5K2PRhA+QGVWHw= 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.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-languages-length:563, umair, libcygwina, UD:libcygwin.a X-HELO: smtp-out-so.shaw.ca X-Authority-Analysis: v=2.2 cv=B4DJ6KlM c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=w_pzkKWiAAAA:8 a=AnuqCYOW0w2fV-MHENAA:9 a=pILNOxqGKmIA:10 a=yipANtDfiQYA:10 a=sRI3_1zDfAgwuvI8zelB:22 Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: Statically linking libcygwin.a To: cygwin AT cygwin DOT com References: <1509134073918 DOT 38060 AT mentor DOT com> From: Brian Inglis Message-ID: Date: Fri, 27 Oct 2017 18:17:46 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1509134073918.38060@mentor.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfA7mezQ473HzlDDyCnpMM7iZT5q6cAlnZYRVsSBbKIlcaVt6X9iTGdGuK6edrAIpNDCtABrGyMRGg1sDD1iSF8zPD+WfjYRudfCWXkfA3IxxIKTlR1cf ItjtgvvQeNwsJ3fz/AOsUHnSIh1W9PBnHJxw4y+kV4gwaCXEGYEy4KPZiaHXBNQkIlaUiPPUwn+KmA== X-IsSubscribed: yes On 2017-10-27 13:54, Sair, Umair wrote: > I have a question regarding statically linking with cygwin library. As > mentioned in https://cygwin.com/licensing.html, user can statically link > with libcygwin.a. I statically linked with libcygwin.a but the final > executable still> have dll dependency. How can I remove this dll dependency? Run cygcheck on the exe - the remaining DLLs should be in Windows/... e.g. system32 or SysWOW... and not in /bin. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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