From: Goodman Leung <gbcbooksmj@gmail.com>
To: cygwin@cygwin.com
Subject: Re: compile python executable file on cygwin for windows
Date: Tue, 20 Dec 2016 16:52:00 -0000 [thread overview]
Message-ID: <b81176cd-8234-4f53-0c85-7224bc71de25@gmail.com> (raw)
In-Reply-To: <CAOTD34aZ0NJPnrFYM=MnYh9u_OKBNKi2NcfHKijZb89yKkC_CA@mail.gmail.com>
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@gmail.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
next prev parent reply other threads:[~2016-12-20 16:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-19 15:07 Goodman Leung
2016-12-19 15:13 ` Marco Atzeri
2016-12-19 16:31 ` Goodman Leung
2016-12-19 16:45 ` Erik Bray
2016-12-20 16:52 ` Goodman Leung [this message]
2016-12-21 14:19 ` Erik Bray
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b81176cd-8234-4f53-0c85-7224bc71de25@gmail.com \
--to=gbcbooksmj@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).