setup-x86.exe exits before installation is complete

2014-03-06 Thread Jon Beniston
Hi, It seems recent versions of setup-x86.exe exit before the installation is complete. Without the --no-admin option, the main installation is run as a child process, and the parent doesn't wait for the child to complete. This can cause a bit of a problem for other installers that install Cygwin

RE: setup-x86.exe exits before installation is complete

2014-03-07 Thread Jon Beniston
>> It seems recent versions of setup-x86.exe exit before the installation is >> complete. Without the --no-admin option, the main installation is run as a >> child process, and the parent doesn't wait for the child to complete. This >> can cause a bit of a problem for other installers that install

cygpath and spaces in filenames when reading from a file

2009-12-29 Thread Jon Beniston
Hi, cygpath can read a list of paths to convert from a file, when started with -file. However, how do you specify paths with spaces in them in this mode? It seems quoting the path or using \ doesn't seem to work. E.g: $cygpath --windows --file - "/usr/local/my dir/" "\usr\local\my dir\" $ cygpat

Using WinPcap in a cygwin application

2010-01-18 Thread Jon Beniston
Hi, I'm trying to use WinPcap 4.1.1 in a program that links with cygwin1.dll 1.7.1-1. The program I have built runs successfully on Vista and Windows 7, but fails with a SIGSEGV seemingly before it calls WinMainCRTStartup on Windows XP SP3. The stack trace from insight is: ntdll!LdrCreateOutofP

bash pwd returning windows style paths

2010-05-20 Thread Jon Beniston
Hi, I'm trying to get the linuxtools Eclipse autoconf plugin to work on Cygwin. One problem I'm having is that a configure script (from newlib) is calling pwd which is returning a Windows style path (e.g. c:/something), which causes it to fail. This appears to be because Eclipse is setting the env

RE: bash pwd returning windows style paths

2010-05-20 Thread Jon Beniston
> POSIX states that a shell is under no obligation to trust a PWD > inherited from the parent process, and that there are unspecified > results if you try to manually change PWD outside of the use of 'cd' > within the shell. Bash, in particular, merely checks whether the > current value of the inh

Binary distribution and DLLs

2009-10-31 Thread Jon Beniston
Hi, I want to distribute a binary build of some software that I have written, part of which includes some programs that are linked with cygwin1.dll and other Cygwin dlls such as cygexpat-1.dll, cyggmp-3.dll, cygintl-8.dll and so on. Due to some of the other Windows specific components of the sof

RE: Binary distribution and DLLs

2009-11-02 Thread Jon Beniston
> Binary distribution? You are aware that linking an > application against the Cygwin DLL requires to put your > application under a compatible Open Source license, aren't > you? See http://cygwin.com/license.html Yes, it already is GPLed and the source will be included. However, most users d

GCC make check -jN fails with broken pipe

2015-12-13 Thread Jon Beniston
Hi, I'm trying to run the GCC testsuite in parallel (i.e. -j4) on Cygwin, but it fails with " parent: sync byte write: broken pipe": make check-gcc -j4 .. Running /home/me/gcc/testsuite/gcc.c-torture/compile/compile.exp ... Running /home/me/gcc/testsuite/gcc.c-torture/compile/compile.exp ... Run

RE: Windows XP Support

2016-01-11 Thread Jon Beniston
Windows XP still accounts for about 10% of desktop users... Similar to the total number of Mac users. Maybe some browser OS stats from cygwin.com would be illuminating. Jon -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

expect - broken pipe

2016-01-20 Thread Jon Beniston
Hi, I'm trying to run the GCC DejaGNU testsuite on 32-bit Cygwin. It randomly fails with the message: "parent: sync byte write: broken pipe" This occurs frequently if the testsuite is run in parallel (i.e. make -j4), but occasionally when not in parallel too. It seems this error message is gene

SIGINT lost while program calls PeekMessage

2020-07-02 Thread Jon Beniston
Hi, I have a Cygwin program that: - registers a SIGINT handler, via signal(SIGINT,h) - creates a window, using Win32 CreateWindow - and is then calling PeekMessage for that window in a loop It appears that while PeekMessage is being called, any SIGINTs sent to the program are lost. Is this to be

RE: SIGINT lost while program calls PeekMessage

2020-07-06 Thread Jon Beniston
Hi Corinna, >Since your example code is running very tightly most of its time inside >some Windows system DLL function, there's next to no chance to interrupt >the thread to inject the signal handler call. Cygwin tries this 100 >times per signal. If that fails, the signal gets lost. > >One way t

Parallel make hangs on 64-bit Cygwin

2023-03-22 Thread Jon Beniston via Cygwin
Hi, When trying to build gcc using make with -j N, I'm finding that make will hang on 64-bit Cygwin. I don't see this problem with 32-bit Cygwin on the same PC. When it hangs, there are N make processes reported in task manager that are using 0% CPU, that appear to be waiting for N sh.exe progr

RE: Parallel make hangs on 64-bit Cygwin

2023-03-23 Thread Jon Beniston via Cygwin
Hi Marco, >There was a discussion on the matter on the packager mailing list in February >https://cygwin.com/pipermail/cygwin-apps/2023-February/042624.html Thanks. I did search, but it seems Google's index doesn't include that thread: https://www.google.com/search?q=%22Heads+up%3A+Problems+wit