This is the mail archive of the
mailing list for the Cygwin project.
RE: Compiled programs fail to run from Cygwin Terminal, but work from windows cmd
- From: "Soegtrop, Michael" <michael dot soegtrop at intel dot com>
- To: Wouter van Doorn <wouter at vandoorn dot tv>, "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 27 Jun 2017 08:14:27 +0000
- Subject: RE: Compiled programs fail to run from Cygwin Terminal, but work from windows cmd
- Authentication-results: sourceware.org; auth=none
- Dlp-product: dlpe-windows
- Dlp-reaction: no-action
- Dlp-version: 10.0.102.7
- References: <CANZ2p_ckjzWEp0uPoJ8MAXh=0B6ZhWQVt9v_NmsFP-fpoX-sEg@mail.gmail.com> <CANZ2p_ecq4LXNtWtShednD3n8efLkKOPujeiR9VtvboOsLOimA@mail.gmail.com> <CANZ2p_cgEkm9KSb-3YLbo=gvk8O+NB0dAsFn5TSw-zuY0tP5SQ@mail.gmail.com>
> One day on, and it's all reverted. Everything failing again in exactly the same way
> as before. It was too good to be true...
You might want to disassemble the good and bad binaries and compare the disassemblies. This should reveal what is going on. You can send me the binaries via private mail (as zip encrypted). Please note that the PATH has not only an influence at build time, but also at run time.
> I'll have to give up on cygwin, still appreciate the attempts at helping me.
You shouldn't. Of cause there is bogus SW which just isn't worth it, but Cygwin definitely doesn't fall into this category.
One more advice: if computers behave erratically and don't have ECC memory, it is worthwhile to run a memory test (use memtest86, burn a boot CD and run it for 1 hour - don't trust in BIOS memory tests). I see broken memory about once or twice a year.
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple