bzip2-1.0.2 from official home page not working with Cygwin

2004-01-03 Thread Karl Robillard
I'm trying to build a stand alone libbz2 compiled with -mno-cygwin so I grabbed the source from http://sources.redhat.com/bzip2/ rather than using the version that comes with Cygwin. Running make produces warnings and one of the tests fails. Below is the output using gcc 3.3.1-3. -Karl > $

Re: bzip2-1.0.2 from official home page not working with Cygwin

2004-01-03 Thread Gerrit P. Haase
Hallo Karl, Am Samstag, 3. Januar 2004 um 09:47 schriebst du: > I'm trying to build a stand alone libbz2 compiled with -mno-cygwin so I > grabbed the source from http://sources.redhat.com/bzip2/ rather than using > the version that comes with Cygwin. I don't see the -mno-cygwin flag in the outpu

Re: Fw: Bug in fstream code and gcc-2 package?

2004-01-03 Thread Beman Dawes
At 06:58 AM 1/3/2004, John Maddock wrote: >Beman, > >Here's the reply I got from the cygwin list on this, can you reply with >details of your system and the fact that it fails there? John's fstream.cpp test program fails on my Win XP SP 1 system. I've reinstalled cygwin gcc and mingw components fr

Re: pthreads, printf and cout

2004-01-03 Thread Alex Vinokur
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, Jan 02, 2004 at 07:57:37PM +0200, Alex Vinokur wrote: > >Hi, > > > >Behavior of printf and cout in a program below is different : cout prints nothing. > > > >What is wrong? > > > >===

new snapshot with some tty/WinMe fixes

2004-01-03 Thread Christopher Faylor
I managed to get a WinMe installation up and running here so I can now debug some of the problems that show up there. And, they were interesting problems indeed. It seems like something sometimes starts up a stray thread on WinMe and that thread does not register itself with the new signal handle

Re: Bug in fstream code and gcc-2 package?

2004-01-03 Thread Gerrit P. Haase
Hallo Beman, I cannot reproduce it here on my NT4 SP 6a: $ uname -svr CYGWIN_NT-4.0 1.5.5(0.94/3/2) 2003-09-20 16:31 $ cygcheck -c gcc Cygwin Package Information Package VersionStatus gcc 3.3.1-3OK $ cygcheck -c gcc-g++ Cygwin Package Information Pa

Re: Bug in fstream code and gcc-2 package?

2004-01-03 Thread Larry Hall
At 04:12 PM 1/3/2004, Gerrit P. Haase you wrote: >Hallo Beman, > >I cannot reproduce it here on my NT4 SP 6a: In case it's of any interest, the version that I compiled was the same as Gerrit's in every way except it was on W2K + SP3. >Can you run it with gdb and try to figure out what fail

Re: new snapshot with some tty/WinMe fixes

2004-01-03 Thread Pierre A. Humblet
y old friend vfork, so I have hopefully fixed that. I tried all >of the test cases that Pierre previously reported but I'm sure I >missed one. I didn't change any of the fork handling, AFAIK, just >vfork. That means that /bin/sh and make are potentially affected. CYGWIN_ME-4

Re: new snapshot with some tty/WinMe fixes

2004-01-03 Thread Christopher Faylor
On Sat, Jan 03, 2004 at 06:16:28PM -0500, Pierre A. Humblet wrote: >1) With the snapshot I can start cygwin programs fine and I have not observed >any popup. Wish I could say the same. I am seeing the popup consistently. At least now I can duplicate it. I even understand it. >2) The regression

Re: new snapshot with some tty/WinMe fixes

2004-01-03 Thread Pierre A. Humblet
At 06:25 PM 1/3/2004 -0500, Christopher Faylor wrote: >On Sat, Jan 03, 2004 at 06:16:28PM -0500, Pierre A. Humblet wrote: >>1) With the snapshot I can start cygwin programs fine and I have not observed >>any popup. > >Wish I could say the same. I am seeing the popup consistently. At least now I >

Re: new snapshot with some tty/WinMe fixes

2004-01-03 Thread Christopher Faylor
On Sat, Jan 03, 2004 at 07:18:07PM -0500, Pierre A. Humblet wrote: >>I could be wrong but I don't recall saying that I'd fixed that problem. > >You are right, you said: "I tried all of the test cases that Pierre >previously reported but I'm sure I missed one." So I looked for the >one. Yes, you ca

Re: bzip2-1.0.2 from official home page not working with Cygwin

2004-01-03 Thread Karl Robillard
On Saturday 03 January 2004 04:47 am, Gerrit P. Haase wrote: > There is a (small) patch included in the Cygwin source package, maybe > that helps? The library compiles fine on Linux (granted, I'm using gcc 3.2.2 there) so I would expect it to work using Cygwin. I'll track down the patch and pass

Re: Bug in fstream code and gcc-2 package?

2004-01-03 Thread Beman Dawes
At 04:12 PM 1/3/2004, Gerrit P. Haase wrote: >Hallo Beman, > >I cannot reproduce it here on my NT4 SP 6a: John Maddock can't reproduce it on his system either. First, my results for the queries below are shown after your results: >$ uname -svr >CYGWIN_NT-4.0 1.5.5(0.94/3/2) 2003-09-20 16:31 CYGW

DLL vs. shared object linking behavior

2004-01-03 Thread Karl Robillard
I have a shared library which has undefined references to functions. On Linux I can build and use the library without problems, but when I build it as a DLL using Cygwin the undefined references are link errors. Can the Windows loader handle unresolved symbols in DLLs at runtime? Is there som

cygwin's system() function

2004-01-03 Thread news.gmane.org
Hello, I'm having problems getting the system() function to work correctly outside of the cygwin environment. for example, I compile the following file in the BASH environment using the command gcc systemtest.c -out systemtest.exe int main(void) { return system("notepad.exe"); } then, while

Re: new snapshot with some tty/WinMe fixes

2004-01-03 Thread Karl M
From: Christopher Faylor <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: new snapshot with some tty/WinMe fixes Date: Sat, 3 Jan 2004 19:41:33 -0500 On Sat, Jan 03, 2004 at 07:18:07PM -0500, Pierre A. Humblet wrote: >>I could be wrong but I don't recall saying tha

Re: cygwin's system() function RESOLVED

2004-01-03 Thread JesusFreke
nevermind, I finally found the solution in an earlier post in this newsgroup. I didn't have cygwin's bin directory in my window's PATH. JesusFreke "news.gmane.org" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I'm having problems getting the system() function to work