Re: Building a custom cygwin1.dll library

2010-08-21 Thread Christopher Faylor
On Sat, Aug 21, 2010 at 09:32:47PM -0400, Gregg Levine wrote: >Is it possible to build a custom cygwin1.dll library? I'm in the >process of setting up a Win2K8 or Win2K3 server, and I would like to >install a personalized install of Cygwin there. No, it's completely impossible. This is software.

Re: Path conversion issue

2010-08-21 Thread Andrey Repin
Greetings, All! Ok, for those interested, solution for my specific case was found. macro:post print("view: Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.htm

Re: Building a custom cygwin1.dll library

2010-08-21 Thread Gregg Levine
On Sat, Aug 21, 2010 at 9:56 PM, Daniel Colascione wrote: > On 8/21/10 6:32 PM, Gregg Levine wrote: >> Is it possible to build a custom cygwin1.dll library? I'm in the >> process of setting up a Win2K8 or Win2K3 server, and I would like to >> install a personalized install of Cygwin there. > > It'

Re: Building a custom cygwin1.dll library

2010-08-21 Thread Daniel Colascione
On 8/21/10 6:32 PM, Gregg Levine wrote: > Is it possible to build a custom cygwin1.dll library? I'm in the > process of setting up a Win2K8 or Win2K3 server, and I would like to > install a personalized install of Cygwin there. It's very simple, and addressed in the FAQ: http://www.cygwin.com/faq

Building a custom cygwin1.dll library

2010-08-21 Thread Gregg Levine
Hello! Is it possible to build a custom cygwin1.dll library? I'm in the process of setting up a Win2K8 or Win2K3 server, and I would like to install a personalized install of Cygwin there. - Gregg C Levine gregg.drw...@gmail.com "This signature fought the Time Wars, time and again." -- Problem

Re: kernel32.dll breakage (was Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1)

2010-08-21 Thread Chris Sutcliffe
On 21/08/2010 3:47 PM, Chris Sutcliffe wrote: On 21/08/2010 3:35 PM, Corinna Vinschen wrote: Chris [Sutcliffe], can we please revert this change for now? It breaks building Win32 apps, if the link order prefers kernel32.a over advapi32.a. Done. Thanks. Are you sure that only CreateProcess

It's a setup issue => Re: 1.7.6-1: mount -p and mount --show-cygdrive-prefix broken in latest release

2010-08-21 Thread Brian Kelly
Ok - so I did a re-install and mount -p is back. But a setup "bug" (probably not setup.exe's fault) was discovered in the process. I first tried a re-install and once again was told cygwin1.dll could not be replaced because of a running process (thought I had killed everything). Rather than qu

Re: 1.7.6-1: mount -p and mount --show-cygdrive-prefix broken in latest release

2010-08-21 Thread Brian Kelly
Funny - setup.exe shows I have 1.7.6. I'm re-installing now. I think I know what happened. I had XWin running while doing the previous install, and the prompt occurred telling I couldn't overwrite certain files that were part of running processes. It told me I'd have to reboot - which was fine

Re: 1.7.6-1: mount -p and mount --show-cygdrive-prefix broken in latest release

2010-08-21 Thread Brian Kelly
kb06...@chg211134 ~ Here's the latest test - notice it reports correctly when just "mount" is invoked. $ which mount /usr/bin/mount kb06...@chg211134 ~ $ mount C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type ntfs (binary,aut

Re: kernel32.dll breakage (was Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1)

2010-08-21 Thread Corinna Vinschen
On Aug 21 15:47, Chris Sutcliffe wrote: > On 21/08/2010 3:35 PM, Corinna Vinschen wrote: > >>>Chris [Sutcliffe], can we please revert this change for now? It breaks > >>>building Win32 apps, if the link order prefers kernel32.a over advapi32.a. > >>Done. > >Thanks. Are you sure that only CreateP

Re: kernel32.dll breakage (was Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1)

2010-08-21 Thread Chris Sutcliffe
On 21/08/2010 3:35 PM, Corinna Vinschen wrote: Chris [Sutcliffe], can we please revert this change for now? It breaks building Win32 apps, if the link order prefers kernel32.a over advapi32.a. Done. Thanks. Are you sure that only CreateProcessAsUserW is affected? In a word, no. I'll have

Re: kernel32.dll breakage (was Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1)

2010-08-21 Thread Corinna Vinschen
On Aug 21 15:23, Chris Sutcliffe wrote: > On 21/08/2010 2:58 PM, Corinna Vinschen wrote: > >Not anymore. I could reproduce the problem on XP, but not on W7. This > >reminded me of a checkin to w32api from yesterday. The kernel32.def > >file, which is used to create the kernel32.a inport library f

Re: 1.7.6-1: mount -p and mount --show-cygdrive-prefix broken in latest release

2010-08-21 Thread Corinna Vinschen
On Aug 21 15:17, Brian Kelly wrote: > I have a script that relies on these mount options to discover how the prefix > is set. I did an upgrade a couple days ago, and the script broke. Looking in > the log, I discovered the following error: > > $ mount -p > mount: invalid option - '' > > You get

Re: kernel32.dll breakage (was Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1)

2010-08-21 Thread Chris Sutcliffe
On 21/08/2010 2:58 PM, Corinna Vinschen wrote: Not anymore. I could reproduce the problem on XP, but not on W7. This reminded me of a checkin to w32api from yesterday. The kernel32.def file, which is used to create the kernel32.a inport library for linking against kernel32.dll has been regenera

kernel32.dll breakage (was Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1)

2010-08-21 Thread Corinna Vinschen
On Aug 21 18:04, Angelo Graziosi wrote: > wget http://cygwin.com/snapshots/cygwin1-20100820.dll.bz2 > bunzip2 cygwin1-20100820.dll.bz2 > chmod +x cygwin1-20100820.dll > [...] > With 20100820 snapshot Cygwin.bat does not start and Windows says > (literally): > [...] > "Can not find entry point Creat

Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1

2010-08-21 Thread Angelo Graziosi
Corinna Vinschen wrote: Btw., after downloading cygwin1-20100820.dll.bz2 and bunzipping it, did you make sure the executable bits are set (chmod +x cygwin1-20100820.dll)? Obviously, it is the first thing I thought and checked. To summarize, I did the following: wget http://cygwin.com/snapsho

Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1

2010-08-21 Thread Corinna Vinschen
On Aug 21 15:48, Corinna Vinschen wrote: > On Aug 21 14:18, Angelo Graziosi wrote: > > Larry Hall wrote: > > >>Corinna Vinschen wrote: > > >>>- Improve performance of stat and a few other functions. ls(1) should > > >>> be up to 30% faster > > >> > > >>I have a directory (500MB, 30 files) which c

Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1

2010-08-21 Thread Corinna Vinschen
On Aug 21 14:18, Angelo Graziosi wrote: > Larry Hall wrote: > >>Corinna Vinschen wrote: > >>>- Improve performance of stat and a few other functions. ls(1) should > >>> be up to 30% faster > >> > >>I have a directory (500MB, 30 files) which contains mainly 'exe' (setups > >>for TB, FF, OO etc.).

Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1

2010-08-21 Thread Angelo Graziosi
Larry Hall wrote: Corinna Vinschen wrote: - Improve performance of stat and a few other functions. ls(1) should be up to 30% faster I have a directory (500MB, 30 files) which contains mainly 'exe' (setups for TB, FF, OO etc.). If I try 'ls -l' in this directory, the first time it take abo

Build S-Lang Fail

2010-08-21 Thread Steven Woody
Hi, I got following error when I was compiling s-lang for cygwin: cd /home/narke/src/slang-2.2.2/src/elfobjs; gcc -c -g -O2 -DBUILD_DLL=1 -Dunix -DSLANG -DMISC_TERMINFO_DIRS='"/usr/share/terminfo"' /home/narke/src/slang-2.2.2/src/sltermin.c /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe: error while

Re: Bug in fork() while in a thread

2010-08-21 Thread Corinna Vinschen
On Aug 21 08:50, Jason Curl wrote: > Open Group Posix.1c-2004 mentions only a "signal stack" doesn't need to be > copied for XSI. > > Linux & FreeBSD 7.0 work OK. QNX641 returns ENOSYS if it even sniffs a thread > call. I haven't tested Solaris Sparc. > > Which standard is Cygwin "closest" to,

Re: [ANNOUNCEMENT] NEW: {libtirpc/libtirpc1/libtirpc-devel}-0.2.1-1

2010-08-21 Thread Corinna Vinschen
On Aug 21 10:54, Corinna Vinschen wrote: > On Aug 20 21:07, Charles Wilson wrote: > > #if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) > > This is not the right solution. > [...] > On Linux, bindresvport and bindresvport6 are available by default, > [...] Well, the declaration of bindresvport6 is

Re: Bug in fork() while in a thread

2010-08-21 Thread Jason Curl
Corinna Vinschen cygwin.com> writes: > On Aug 15 14:53, Christopher Faylor wrote: > > On Sun, Aug 15, 2010 at 07:42:01PM +0200, Jason Curl wrote: > > >Is it allowed to issue the fork() system call while not in the main > > >thread? When I read the OpenGroup specifications I don't seem to find >

Re: [ANNOUNCEMENT] NEW: {libtirpc/libtirpc1/libtirpc-devel}-0.2.1-1

2010-08-21 Thread Corinna Vinschen
On Aug 20 21:07, Charles Wilson wrote: > On 8/20/2010 8:35 PM, Eric Blake wrote: > > In file included from ././remote/qemu_protocol.h:9, > > from remote/qemu_protocol.c:7: > > /usr/include/tirpc/rpc/rpc.h:84: warning: redundant redeclaration of > > 'bindresvport' [-Wredundant-decls