Re: wstring support in GCC 4.1.2 in Cygwin 1.5.25-11

2008-05-22 Thread jadooo
Ya I am trying MinGW now. But since it is like building on the windows platform, we need to get round with concepts which differ on the posix and the windows system. Currently I am dealing with the Signals, one such problem. In in my linux based code we have used the sigaction() concept which

Re: makefile for matlab-engine in cygwin

2008-05-22 Thread Reini Urban
2008/5/21 <[EMAIL PROTECTED]>: > Hi evereybody > I am working with a client/server system and I am trying to extend it with an > input client which uses matlab engine to get data from matlab. > I would like to compile it with cygwin in windows XP. > Just typing 'mex.bat A.c B.c' (where 'A.c' and '

RE: _pinfo::dup_proc_pipe: DuplicateHandle failed

2008-05-22 Thread Hugh Sasse
On Wed, 21 May 2008, Relson, David wrote: > Hi Hugh, > > I'm not an expert (else I'd solve this myself), but it seems not to be a when it comes to windows, neither am I, but since nobody else is coming in on this thread I'll see if I can get you any further forward. > problem with make, but a g

RE: _pinfo::dup_proc_pipe: DuplicateHandle failed

2008-05-22 Thread Dave Korn
Hugh Sasse wrote on 22 May 2008 12:08: >> relsondt1--> ./hello.sh >> + Bcc +BccDos.cfg -c -Ic:/BC45/INCLUDE -D -oHELLO.OBJ HELLO.CPP >> 7 [main] bash 5564! _pinfo::dup_proc_pipe: DuplicateHandle failed, \ >> pid 5564, hProcess 0x6DD, wr_proc_pipe 0x750, Win32 error 6 > > That Win32 error

Re: setfacl on Cygwin

2008-05-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 5/21/2008 5:05 PM: | Hi Eric, | | I'm looking at ACL support for gnulib. Can you reproduce this with a | recent Cygwin? With a two-year-old Cygwin I got this: I reproduced the same symptoms with cygwin 1.5.25-11. | | $ t

Re: setfacl on Cygwin

2008-05-22 Thread Corinna Vinschen
On May 22 05:47, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Bruno Haible on 5/21/2008 5:05 PM: > | Hi Eric, > | > | I'm looking at ACL support for gnulib. Can you reproduce this with a > | recent Cygwin? With a two-year-old Cygwin I got this: > > I reproduc

Re: setfacl on Cygwin

2008-05-22 Thread Corinna Vinschen
On May 22 14:34, Corinna Vinschen wrote: > On May 22 05:47, Eric Blake wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > According to Bruno Haible on 5/21/2008 5:05 PM: > > | Hi Eric, > > | > > | I'm looking at ACL support for gnulib. Can you reproduce this with a > > | recent Cy

/dev/console

2008-05-22 Thread Jaspreet Singh
i am getting some kinda error with init, its not executing scripts in runlevels. syslogd logs May 22 18:07:37 node1 init: PID 1832: `init' service stopped, exit status: 0 May 22 18:07:37 node1 init: open(/dev/console): Permission denied May 22 18:07:43 node1 init: can't open /dev/console May 22 1

Re: /dev/console

2008-05-22 Thread Corinna Vinschen
On May 22 18:35, Jaspreet Singh wrote: > i am getting some kinda error with init, its not executing scripts in > runlevels. syslogd logs > > May 22 18:07:37 node1 init: PID 1832: `init' service stopped, exit status: 0 > May 22 18:07:37 node1 init: open(/dev/console): Permission denied > May 22 18

Re: wstring support in GCC 4.1.2 in Cygwin 1.5.25-11

2008-05-22 Thread jadooo
I just come across one article in google about UTF-8 Cygwin http://www.okisoft.co.jp/esc/utf8-cygwin/ Just wanted to check about this. As per the documentation here it says that the Cygwin it is providing will suport Unicode. Is it worth to go back and try this out. Brian Dessent wrote: >

Re: wstring support in GCC 4.1.2 in Cygwin 1.5.25-11

2008-05-22 Thread Larry Hall (Cygwin)
jadooo wrote: I just come across one article in google about UTF-8 Cygwin http://www.okisoft.co.jp/esc/utf8-cygwin/ Just wanted to check about this. As per the documentation here it says that the Cygwin it is providing will suport Unicode. Is it worth to go back and try this out. You can t

fate/resolution/location of things like "sys/sockio.h"

2008-05-22 Thread Mike Marchywka
Hi, I'm trying to build nmap from scratch to track down some security issues. It seems to be choking on this, configure:4180: result: no configure:4208: checking for sys/ioccom.h configure:4216: result: no configure:4104: checking sys/sockio.h usability configure:4121: gcc -c -g -O2 conftest.c>&5

RE: fate/resolution/location of things like "sys/sockio.h"

2008-05-22 Thread Dave Korn
Mike Marchywka wrote on 22 May 2008 16:03: > but I can't figure out exactly what the status of "sys/sockio.h" is from > the results here: > > http://www.google.com/search?hl=en&q=site%3Acygwin.com++%22sockio.h%22 Wrong place to look, surely? http://cygwin.com/cgi-bin2/package-grep.cgi?grep=s

Re: setfacl on Cygwin

2008-05-22 Thread Bruno Haible
Corinna Vinschen wrote: > > What error code do you want? EINVAL? EINVAL sounds right, yes. The Solaris manual page [1] also mentions it: "EINVAL ... the cmd argument is SETACL or ACE_SETACL and the ACL specified in aclbufp is not valid." > I applied a patch to CVS so this situation wi

Re: setfacl on Cygwin

2008-05-22 Thread Mark J. Reed
On Thu, May 22, 2008 at 12:36 PM, Bruno Haible <[EMAIL PROTECTED]> wrote: > Corinna Vinschen wrote: >> > What error code do you want? EINVAL? > > EINVAL sounds right, yes. The Solaris manual page [1] also mentions it: > > "EINVAL >... the cmd argument is SETACL or ACE_SETACL and the ACL speci

Re: setfacl on Cygwin

2008-05-22 Thread Corinna Vinschen
On May 22 18:36, Bruno Haible wrote: > Corinna Vinschen wrote: > > > What error code do you want? EINVAL? > > EINVAL sounds right, yes. The Solaris manual page [1] also mentions it: > > "EINVAL > ... the cmd argument is SETACL or ACE_SETACL and the ACL specified in > aclbufp is not val

Re: wstring support in GCC 4.1.2 (OS independent)

2008-05-22 Thread Linda Walsh
Brian Dessent wrote: jadooo wrote: Please let me know if I am doing anything wrong. Yes, you are misunderstanding the nature of the problem. In order to support the wstring class, gcc relies on the platform's libc supporting wide character C99 functions. --- Even though the "kernel"

Re: wstring support in GCC 4.1.2 in Cygwin 1.5.25-11

2008-05-22 Thread Linda Walsh
jadooo wrote: Thanks a lot for the valuable information. I am trying to port my application developed in linux to windows, now as it is quiet clear that I could not use cygwin, due to lack of Unicode support, is there any other alternative to try out my porting activity. --- Linux doesn

RE: fate/resolution/location of things like "sys/sockio.h"

2008-05-22 Thread Mike Marchywka
> From: [EMAIL PROTECTED] > Date: Thu, 22 May 2008 16:15:16 +0100 Thanks. If you are interested, let me try to give a chronology of follow on events as best as I can reconstruct: 1::: > Wrong place to look, surely? > > http://cygwin.com/cgi-bin2/package-g

Re: fate/resolution/location of things like "sys/sockio.h"

2008-05-22 Thread Christopher Faylor
On Thu, May 22, 2008 at 05:48:14PM -0400, Mike Marchywka wrote: >> From: [EMAIL PROTECTED] >> Date: Thu, 22 May 2008 16:15:16 +0100 > >Thanks. If you are interested, let me try to give a chronology of follow on >events as best as I can >reconstruct: > >1:::

Re: cscope on cygwin

2008-05-22 Thread Dave & Diane
Hi Eva, Sorry for the delay in replying - I just checked my cscope mail. You can do what you want, but you are falling in to the trap of .cmd file extensions. When you set the EDITOR variable to a .cmd file, it will be run as a windows script, not a bash script. Your use of "&" only works

Re: wstring support in GCC 4.1.2 in Cygwin 1.5.25-11

2008-05-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Linda Walsh on 5/22/2008 1:14 PM: | Linux doesn't support double-wide characters in its | system calls -- it's all in 'glibc'. | | Cygwin doesn't need to support unicode anymore than | the linux kernel does. It's whoever built th

Re: wstring support in GCC 4.1.2 (OS independent)

2008-05-22 Thread Brian Dessent
Linda Walsh wrote: > So maybe the problem is > not that cygwin doesn't support unicode, but that the gcc > libs & compile utils don't support the standard linux > equivalents? I can't parse this. > Whether or not cygwin (or the linux kernel) supports > "wchar" is not entirely relevant to