delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/12/20/11:52:43

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=YzQovbpwjKKqUKxz
sXmEfHZ0cJe8pPydbWU/kryxFFk+HlSq/qcE+rtmtYSLPxtkUE5sO5ivRfOBn7VA
25okBFyIpQDBYExKQncdlEJcgZo352WJLn6IiHpe0K2b6EtPIyWmUOC5nKZZEKaO
7iTxDM9IyHtt2FOFc2LPMzjg8wQ=
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=bLLQnGd8kmv1ZASsu5T+Jx
Lfj0Y=; b=lsrb7+QH/5KfumeeEYRxxwMC0BdyhXAosYsMcxlh6hXhIAn2k/eo3H
0t1w0WH+fxU1ZCoyBrCX1TWgDQZyot9j04GTZXXaNj6qhzHcoYH1nxtD8oc+kdCN
DfwRYILzknuS70ZjBYbT8dzNA5/Xyx5/MXHIy1L3VtB9V7igACPsk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.0 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=unsubscribe-simple, unsubscribesimple, bray, UD:problems.html
X-HELO: mail-pg0-f51.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=VWdAAogaFwJ9/3BRzM29JFF8H+ZPtZDKj0bzsy2bPWY=; b=F6FvD1kdLbaLtlK7YvSgStSMKKnc2rQDS99IepgXSyBT5UaONGt7v4PsZ4Jvn0e743 b7mY3zBRBIliG7XkAcLAWy6fuJBfajMkGqc6oUojMGW7QjnFLhBrSxQlGmXtjd49UdGM kefTumcXTu4pofq/OdVFe0NVqlKq2MhGmCybrC5ggOwWHd9fyeqDA7wWN/bPI2Sqyg5N P94Knkx61jBdtlralqfjEG/wRBz5WaWMpD3rjJU1JMDnhWYkqY8cDSXqa56NYuGsVBj7 H69u1IJ6ANFjkzn8do4X753GcjTUM7dmtWf7iZ6e4oZKGO4jvtXaCGlPIOJQZ4bVnqba 3nLg==
X-Gm-Message-State: AIkVDXJw238HjjpEVlbA3o720BRHNnZAczmLiLZgBMJnAdp8QmBfAG512n5CIlWNjNaJFg==
X-Received: by 10.84.197.129 with SMTP id n1mr496163pld.30.1482252738177; Tue, 20 Dec 2016 08:52:18 -0800 (PST)
Subject: Re: compile python executable file on cygwin for windows
To: cygwin AT cygwin DOT com
References: <eacbe085-fe64-b701-cbe8-a301b9daeb3a AT gmail DOT com> <CAOTD34aZ0NJPnrFYM=MnYh9u_OKBNKi2NcfHKijZb89yKkC_CA AT mail DOT gmail DOT com>
From: Goodman Leung <gbcbooksmj AT gmail DOT com>
Message-ID: <b81176cd-8234-4f53-0c85-7224bc71de25@gmail.com>
Date: Wed, 21 Dec 2016 00:52:13 +0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version: 1.0
In-Reply-To: <CAOTD34aZ0NJPnrFYM=MnYh9u_OKBNKi2NcfHKijZb89yKkC_CA@mail.gmail.com>
X-IsSubscribed: yes

i tried cygcheck , there was no error report from it .
and i check my program again, the error info is  , program can not find 
cygwin1.dll,

i check that fell,it is under c:\cygwin\bin\cygwin1.dll
cygcheck can also find it .

On 2016/12/20 0:45, Erik Bray wrote:
> On Mon, Dec 19, 2016 at 4:07 PM, Goodman Leung <gbcbooksmj AT gmail DOT com> wrote:
>> hi all
>>
>> i install python and pyinstaller on cygwin , and i can run pyinstaller
>> successfully to compile a exe file on the  cygwin environment .
>>
>> but when i launch this executable file on window with double click , it
>> occur a error and tell me the program can not find "cygwin.dll" (i can not
>> remember what it exactly is ).
>>
>> can cygwin compile a windows python executable program .or we should treat
>> cygwin like a pure linux OS that all things we have done on it just
>> compatible with linux only
> I don't think pyinstaller knows anything about Cygwin explicitly.
> Instead, you need to list all DLLs used by your program (namely
> cygwin1.dll, possibly others) in the spec file for your installer, so
> that it copies them into the package too.
>
> You can use the cygcheck program to check exactly which DLLs are
> required by the executables in your program.  For example you will
> also likely need Cygwin's libpythonXY.dll, and possibly others.
>
> --
> 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
>


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019