From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25017 invoked by alias); 28 Oct 2017 00:17:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 25003 invoked by uid 89); 28 Oct 2017 00:17:51 -0000 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 Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 28 Oct 2017 00:17:49 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id 8EoseX6iJDJTW8EoteQjbI; Fri, 27 Oct 2017 18:17:47 -0600 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.Inglis@SystematicSw.ab.ca Subject: Re: Statically linking libcygwin.a To: cygwin@cygwin.com References: <1509134073918.38060@mentor.com> From: Brian Inglis Message-ID: Date: Sat, 28 Oct 2017 00:17:00 -0000 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 X-SW-Source: 2017-10/txt/msg00357.txt.bz2 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