Re: Minimal test case for Make crash bug

2004-03-20 Thread Dan Kegel
Dan Kegel wrote: int main(int argc, char **argv) { int i; for (i=0; ; i++) { int fd = open("foo.c", O_RDONLY); printf("fd #%d is %d\n", i, fd); } } This crashes for me at the 133rd fd unless I run it under gdb ... OK, I built a debugging versi

Re: Trailing commandline arguments not allowed.

2004-03-20 Thread George Hester
I tried $cygrunsvr -I Apache Oh forget it. The problem was my servername. I cannot have $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto It has to be $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto It was the space in Apache 1.3 -- George Hester __ "I

Re: Beep or playing a sound [Attn: CGF]

2004-03-20 Thread Lev Bishop
See: http://www.cygwin.com/ml/cygwin/2003-05/msg01615.html Lev -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: Beep or playing a sound [Attn: CGF]

2004-03-20 Thread Christopher Faylor
On Sat, Mar 20, 2004 at 10:49:16PM -0500, Igor Pechtchanski wrote: >On Sat, 20 Mar 2004, Christopher Faylor wrote: > >> On Fri, Mar 19, 2004 at 09:52:12PM -0500, Igor Pechtchanski wrote: >> >On Fri, 19 Mar 2004, Edwin Goei wrote: >> >>Is there a program that will beep or make a sound in cygwin? In

Re: Minimal test case for Make crash bug

2004-03-20 Thread Christopher Faylor
On Sat, Mar 20, 2004 at 08:32:13PM -0800, Dan Kegel wrote: >It's all a bit mysterious. Where's a good place to look for clues? >I've already tried shutting down as many systray programs as I can... Build a debugging version of cygwin, use CYGWIN=error_start:..., type 'c' when gdb pops up, and the

Re: Minimal test case for Make crash bug

2004-03-20 Thread Dan Kegel
Dan Kegel wrote: Got it. I'm attaching a minimal test case. glibc's makefile requires that Make be able to handle 140 levels of include recursion, but cygwin Make crashes after about 130 -- unless you're running under gdb or strace, in which case it works fine. Turns out the smallest test case is

Re: Beep or playing a sound [Attn: CGF]

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Christopher Faylor wrote: > On Fri, Mar 19, 2004 at 09:52:12PM -0500, Igor Pechtchanski wrote: > >On Fri, 19 Mar 2004, Edwin Goei wrote: > >>Is there a program that will beep or make a sound in cygwin? In bash, > >>I've tried "echo -e \\a" and I get a control-G char but no so

Re: Trailing commandline arguments not allowed.

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, George Hester wrote: > According to the documentation of starting the Apache web server as a > service in cygwin the generic formula is: > > $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \ ^ this should be a space >

Re: Problem when compiling c++ using gcc

2004-03-20 Thread Luc Hermitte
Hello, * On Sat, Mar 20, 2004 at 03:46:34AM -0500, Feng Y <[EMAIL PROTECTED]> wrote: > I used the following command to compile the c++ file: > gcc -o ping ping.cc Use g++ and not gcc to compile C++ code. Or at least, add the arguments that tell gcc that it is compiling C++ code. > I got the f

Re: Starting a Win32 app from inside Cygwin

2004-03-20 Thread Gianni Mariani
Chris Powell wrote: I'm hoping someone can point me in the right direction here, though I'm not even sure this is possible. I currently use cygwin in WinXP to display X session from an AIX machine. This works very well. The software on the AIX box can call a word processor (Uniplex) on the AIX bo

Starting a Win32 app from inside Cygwin

2004-03-20 Thread Chris Powell
I'm hoping someone can point me in the right direction here, though I'm not even sure this is possible. I currently use cygwin in WinXP to display X session from an AIX machine. This works very well. The software on the AIX box can call a word processor (Uniplex) on the AIX box to edit text files

Re: Minimal test case for Make crash bug

2004-03-20 Thread Christopher Faylor
On Sat, Mar 20, 2004 at 12:55:20PM -0800, Dan Kegel wrote: >Dan Kegel wrote: >>Sadly, error_start didn't seem to be able to start gdb: > >Thanks to Igor for pointing out that error_start must be a >DOS path. Here's what I see once I correct that: > >$ export CYGWIN=error_start:C:\\cygwin\\bin\\gdb

Re: Beep or playing a sound [Attn: CGF]

2004-03-20 Thread Christopher Faylor
On Fri, Mar 19, 2004 at 09:52:12PM -0500, Igor Pechtchanski wrote: >On Fri, 19 Mar 2004, Edwin Goei wrote: >>Is there a program that will beep or make a sound in cygwin? In bash, >>I've tried "echo -e \\a" and I get a control-G char but no sound. Is >>there a program that will play a sound file t

Re: gcc and -lang-c89

2004-03-20 Thread Frédéric L. W. Meunier
On Sun, 21 Mar 2004 [EMAIL PROTECTED] wrote: > I have the lastest stable version of cygwin installed and when I try to compile som > programs (e.g. gnugo 3.0 (http://www.gnu.org/software/gnugo/gnugo.html)) i get the > following error: > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../engine-I../utils

gcc and -lang-c89

2004-03-20 Thread mpe501
Hello! I have the lastest stable version of cygwin installed and when I try to compile som programs (e.g. gnugo 3.0 (http://www.gnu.org/software/gnugo/gnugo.html)) i get the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../engine-I../utils -I../interface -g -O2 -Wall -W -Wpointer

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

2004-03-20 Thread Frédéric L. W. Meunier
On Sat, 20 Mar 2004, Christopher Faylor wrote: > On Sat, Mar 20, 2004 at 06:05:23PM -0300, Fr?d?ric L. W. Meunier wrote: > >On Fri, 19 Mar 2004, Christopher Faylor wrote: > > > >$ cygcheck.exe -f /usr/lib/libiberty.a > >binutils-20040312-1 > >cygwin-1.5.9-1 > > > >Since you maintain both, what's t

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

2004-03-20 Thread Christopher Faylor
On Sat, Mar 20, 2004 at 06:05:23PM -0300, Fr?d?ric L. W. Meunier wrote: >On Fri, 19 Mar 2004, Christopher Faylor wrote: > >$ cygcheck.exe -f /usr/lib/libiberty.a >binutils-20040312-1 >cygwin-1.5.9-1 > >Since you maintain both, what's the consensus ? That you have too much time on your hands? cgf

Re: How do I install these in Cygwin from this web interface?

2004-03-20 Thread George Hester
Well because I thought the page had something to do with Cygwin. Sorry. -- George Hester __ "Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED] > On Sat, 20 Mar 2004, George Hester wrote: > > > http://apache.dev.wapme.net/ > > > > Thanks. > > George Heste

Trailing commandline arguments not allowed.

2004-03-20 Thread George Hester
According to the documentation of starting the Apache web server as a service in cygwin the generic formula is: $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \ [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd] So I did this in the bash shell: $cygrunsrv

Re: How do I install these in Cygwin from this web interface?

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, George Hester wrote: > http://apache.dev.wapme.net/ > > Thanks. > George Hester Why ask us? Why not ask the author of the page? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-

How do I install these in Cygwin from this web interface?

2004-03-20 Thread George Hester
http://apache.dev.wapme.net/ Thanks. George Hester __ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin

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

2004-03-20 Thread Frédéric L. W. Meunier
On Fri, 19 Mar 2004, Christopher Faylor wrote: $ cygcheck.exe -f /usr/lib/libiberty.a binutils-20040312-1 cygwin-1.5.9-1 Since you maintain both, what's the consensus ? -- How to contact me - http://www.pervalidus.net/contact.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-sim

Re: Minimal test case for Make crash bug

2004-03-20 Thread Dan Kegel
Dan Kegel wrote: Sadly, error_start didn't seem to be able to start gdb: Thanks to Igor for pointing out that error_start must be a DOS path. Here's what I see once I correct that: $ export CYGWIN=error_start:C:\\cygwin\\bin\\gdb.exe $ make ... (gdb) bt #0 0x77f75a59 in ntdll!DbgUiConnectToDbg ()

Re: More on 'setup' fails and breaks pre-existing Cygwin installation.

2004-03-20 Thread Igor Pechtchanski
Okay, I don't recall seeing the output of "cygcheck -svr" attached to any of your messages, as requested in . Please *attach* the output rather than including it inline. You should be able to run cygcheck from a CMD prompt. Did you try a clean install by moving yo

Re: More on 'setup' fails and breaks pre-existing Cygwin installation.

2004-03-20 Thread Christopher M. Balz
The hang itself is indeed a soft hang. I can click out of it using the 'Cancel' button, and then at least sometimes, 'setup' will tell me that installation is complete. Somewhere in these last clicks is where my entire machine was taken down during two of my earlier attempts today. cd c:\c

Re: More on 'setup' fails and breaks pre-existing Cygwin installation.

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Christopher M. Balz wrote: > Answering Igor's questions . . . > > 'setup' hangs when it dies. The window its in closes without any > problem, though. So it doesn't really crash anything? And this doesn't sound like a hard hang, either -- at least the events are processed no

Re: text editor for cygwin

2004-03-20 Thread Charles D. Russell
On Sat, 20 Mar 2004, Charles D. Russell wrote: > It has always seemed strange to me that vim was not included in the > "development" package, since vi is a normal component of linux/unix. Igor Pechtchanski wrote: Again, there is no "development" package in Cygwin. There are individual packages

Re: Minimal test case for Make crash bug

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Dan Kegel wrote: Dan Kegel wrote: > Got it. I'm attaching a minimal test case. glibc's makefile > requires that Make be able to handle 140 levels of include recursion, > but cygwin Make crashes after about 130 -- unless you're running > under gdb or strace, in which case it

Re: Minimal test case for Make crash bug

2004-03-20 Thread Dan Kegel
Dan Kegel wrote: Got it. I'm attaching a minimal test case. glibc's makefile requires that Make be able to handle 140 levels of include recursion, but cygwin Make crashes after about 130 -- unless you're running under gdb or strace, in which case it works fine. To repeat the bug, just unpack the

Re: several messages

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Christopher M. Balz wrote: > On Win2K SP 4 up-to-date, I install most packages (including X and tex) > and 'setup' hangs with the folllowing message: > > Running . . . > > No package > > /etc/postinstall/post-texmf.sh > > The progress bar is almost finished at thi

Minimal test case for Make crash bug (was: Re: make segfault building cross-glibc with latest cygwin)

2004-03-20 Thread Dan Kegel
Dan Kegel wrote: Aha. Using 'make -d' shows more detail: ... so the recursion in extra-module.mk (which is expected, though I don't know how many repeats are normal) is going awry somehow. Got it. I'm attaching a minimal test case. glibc's makefile requires that Make be able to handle 140 levels

Re: make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Christopher Faylor
On Sat, Mar 20, 2004 at 12:28:47AM -0800, Dan Kegel wrote: >(long lines wrapped, sorry). >I tried sticking gdb in a crucial place in >crosstool-0.28-pre8c/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/glibc-2.1.3/Makefile >by replacing the call to $(MAKE) with a call to gdb $(MAKE): You sho

'setup' fails and breaks pre-existing Cygwin installation.

2004-03-20 Thread Christopher M. Balz
On Win2K SP 4 up-to-date, I install most packages (including X and tex) and 'setup' hangs with the folllowing message: Running . . . No package /etc/postinstall/post-texmf.sh The progress bar is almost finished at this point (above). The install has broken my Cygwin shell completely

Re: g77 (new), Windows XP Professional, CALL System(Command, Status), directory.

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Lars Steinke wrote: > Hello, > > call system('cmd.exe /c cls') > > works! Thank you Dave! > > Now I have a new problem with 'call system': > I wolud like to start a batch-file named '1.bat'. > 1.bat and my program are in the same directory (C:\test). > > call syste

g77 (new), Windows XP Professional, CALL System(Command, Status), directory.

2004-03-20 Thread Lars Steinke
Hello, call system('cmd.exe /c cls') works! Thank you Dave! Now I have a new problem with 'call system': I wolud like to start a batch-file named '1.bat'. 1.bat and my program are in the same directory (C:\test). call system('1.bat') pause end Error-message: 1.bat: not

Re: text editor for cygwin

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Charles D. Russell wrote: > It has always seemed strange to me that vim was not included in the > "development" package, since vi is a normal component of linux/unix. Again, there is no "development" package in Cygwin. There are individual packages for things like "vim", and

Re: Cygwin install problem.

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Christopher M. Balz wrote: > Hi Igor, Christopher, Please don't send personal mail with Cygwin questions. All Cygwin-related questions should be addressed to the Cygwin mailing list, both because that's the expected thing to do, and because it'll be archived and may help ot

text editor for cygwin

2004-03-20 Thread Charles D. Russell
It has always seemed strange to me that vim was not included in the "development" package, since vi is a normal component of linux/unix. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.c

RE: text editor for cygwin

2004-03-20 Thread John Morrison
Vim and emac are both available via the cygwin setup program. J. > From: Christopher Spears > > I installed cygwin with the shells package on my > computer with Windows 2000. However, I discovered > that I don't have vi or vim. Is there a way to > download one of these (or a different) text ed

Re: text editor for cygwin

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Christopher Spears wrote: > I installed cygwin with the shells package on my > computer with Windows 2000. However, I discovered > that I don't have vi or vim. Is there a way to > download one of these (or a different) text editor > into cygwin? Which text editors would you

Re: make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Dan Kegel
Brian wrote: I've not much experience with distcc, but it looks like you're trying to use gcc 2.95. This version of gcc is known to be broken with Cygwin and is not supported -- it has been removed from the Cygwin mirrors. Apologies if this does not apply to your circumstance... Right, doesn't ap

text editor for cygwin

2004-03-20 Thread Christopher Spears
I installed cygwin with the shells package on my computer with Windows 2000. However, I discovered that I don't have vi or vim. Is there a way to download one of these (or a different) text editor into cygwin? Which text editors would you recommend? -Chris -- Unsubscribe info: http://cygw

Re: make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Dan Kegel
Dan Kegel wrote: I've been adding cygwin support to http://kegel.com/crosstool so I can build hetrogenous distcc clusters targeting e.g. Red Hat 6.2. I have a nice automated shell script to do this; works great under Linux, and I'm slowly chipping away at the problems under Cygwin. The latest one

Re: Apache obatined in Cygwin Setup is FOREIGN

2004-03-20 Thread George Hester
OK here is the attchment. George Hester __ "Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED] > On Fri, 19 Mar 2004, George Hester wrote: > > > I forgot. I have to override this newsreader and often I forget. I > > hope this is better. Believe me the st

Re: Apache obatined in Cygwin Setup is FOREIGN

2004-03-20 Thread George Hester
Basically Thorsten you are telling me to get a different newsreader. The stuff you are having trouble with I do not do intentionally. I try to make things better for you. But sometimes I forget. Please understand I am NOT doing this to you intentionally. It is a result of this newsreader. Note

Re: Configure a mailer to not quote raw e-mail addresses in replies (was: help with gcc)

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Alex Vinokur wrote: > "Igor Pechtchanski" wrote in message : > > Alex, > > > > Please configure your mailer to not quote raw e-mail addresses in your > > replies -- let's not make it easier for the spam harvesters. More below. > > > [snip] > OE-QuoteFix has been recommended t

Re: Apache obatined in Cygwin Setup is FOREIGN

2004-03-20 Thread Thorsten Kampe
* George Hester (2004-03-20 05:49 +0100) > [whatever] And for christ's sake: have a line break and stop these senseless bottom full-quotings. You're emails are already unreadable enough. Thorsten -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cy

Re: Apache obatined in Cygwin Setup is FOREIGN

2004-03-20 Thread Igor Pechtchanski
On Fri, 19 Mar 2004, George Hester wrote: > I forgot. I have to override this newsreader and often I forget. I > hope this is better. Believe me the stuff it puts in that causes you > the trouble I do NOT mean to do intentionally. It is better, thanks. I didn't mean to chide you, just to aler

Re: tin-1.6.2: 8-bit chars not displayed, gettext transliterates

2004-03-20 Thread A . Alper ATICI
Hi, On Sat, 20 Mar 2004 11:05:46 +0100, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > >It was not a known problem but now it is. I have no solution for >that problem so far, unfortunately. Try experimenting with setting >the environment variable ISO2ASC to values between 0 and 6 before >starting

Re: Beep or playing a sound [User's Guide alert]

2004-03-20 Thread Igor Pechtchanski
On Fri, 19 Mar 2004, Edwin Goei wrote: > Igor Pechtchanski wrote: > > > The ^G character will work in an xterm or rxvt running under X11. > > You're right, I wasn't thinking clearly when I wrote the email, sorry. > > > Oh well, there's always 'cat `cygpath -W`/Media/ding.wav > /dev/dsp'. ;-) > > J

Re: make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Brian Dessent
Dan Kegel wrote: >$ eval `cat i686.dat gcc-2.95.3-glibc-2.1.3.dat` sh all.sh --notest > After whirring and clanking for an hour or two on my wife's Athlon 1400 > running Windows XP, this bombs with the odd error >make -C iconvdata subdir_lib >make[1]: *** [iconvdata/subdir_lib] Segmen

Re: Process of Installation?

2004-03-20 Thread Brian Dessent
George Hester wrote: > When I run the setup for Cygwin I go through various dialog boxes to download and > install various packages. All the packages come in as name.tar.bz2 files. Consider > this package: > > http://sourceforge.net/project/showfiles.php?group_id=28862 > > The files here are

Re: tin-1.6.2: 8-bit chars not displayed, gettext transliterates

2004-03-20 Thread Corinna Vinschen
On Mar 19 13:57, A. Alper ATICI wrote: > Hello, > > tin-1.6.2 displays ? in place of 8-bit chars, and its gettext always > transliterates messages though it selects the correct message > catalogue after setting LC_ALL (this is Cygwin 1.5.8 on XP-Pro). > > Is this a known problem, or am I missing

Re: Setup broke on my install base

2004-03-20 Thread John Sellers
Thanks, my new DSL account was just activated so I re-installed cygwin to test out the connection. Everything worked. I then duplicated the behavior I saw, and played with a number of mirrors. I now think that what people told me in the first place was correct, but I have no explanation of w

Re: make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Dan Kegel
Dan Kegel wrote: Short story: make is dumping core on me repeatably under cygwin-1.5.9-1. Things seem a bit unstable. Should I roll back to an older version of cygwin? If so, which packages should I roll back? Long story: I've been adding cygwin support to http://kegel.com/crosstool so I can build

Problem when compiling c++ using gcc

2004-03-20 Thread Feng Y
Hi, I am new to Cygwin and I am using NS2 under cygwin-1.3.12. When I tried to use gcc to compile some C++ code and recompile NS, I met some problems. I used the following command to compile the c++ file: gcc -o ping ping.cc I got the following messages: agent.h: No such file or direct

make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Dan Kegel
Short story: make is dumping core on me repeatably under cygwin-1.5.9-1. Things seem a bit unstable. Should I roll back to an older version of cygwin? If so, which packages should I roll back? Long story: I've been adding cygwin support to http://kegel.com/crosstool so I can build hetrogenous dist