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

2004-01-04 Thread Gerrit P. Haase
Hallo Beman, Am Sonntag, 4. Januar 2004 um 02:55 schriebst du: >>$ g++ -mno-cygwin fstream.cpp > In file included from > /usr/local/include/c++/3.3.1/bits/locale_facets.h:166, The default location for Cygwin & MinGW files distributed by the Cygwin project is /usr but not /usr/local, I suggest t

Re: DLL vs. shared object linking behavior

2004-01-04 Thread Jani Tiainen
Karl Robillard wrote: 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

shmget : Function not implemented

2004-01-04 Thread Alex Vinokur
Hi, I have got a problem with shmget. Something wrong? === Windows 2000 Professional CYGWIN_NT-5.0 1.5.5(0.94/3/2) gcc version 3.3.1 (cygming special) === == C code : File foo.c : BEGIN == #include #include

MySQL 4.0.17 available for testing

2004-01-04 Thread Gerrit P. Haase
Hallo, finally the MySQL Server is running on Cygwin. I cannot say what was the problem with previous Cygwin or MySQL versions, I just know it is running stable now;) Please fetch a copy here if you want to test it: http://anfaenger.de/cygwin-1.5/mysql/ There are several tarballs, one is the pa

Re: shmget : Function not implemented

2004-01-04 Thread Gerrit P. Haase
Hallo Alex, Am Sonntag, 4. Januar 2004 um 12:51 schriebst du: > Hi, > I have got a problem with shmget. > Something wrong? > === > Windows 2000 Professional > CYGWIN_NT-5.0 1.5.5(0.94/3/2) > gcc version 3.3.1 (cygming special) > =

Enhanced mkcygwget Script

2004-01-04 Thread Greg Morgan
Cygwin has been a very useful tool to me. However, I have always had problems with the setup install from the Internet. It may have been due to the network connections, load on the mirror sites or what have you. I didn't realize jut how big Cygwin was until I had a complete set of files to in

Re: shmget : Function not implemented

2004-01-04 Thread Alex Vinokur
"Gerrit P. Haase" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hallo Alex, > > Am Sonntag, 4. Januar 2004 um 12:51 schriebst du: > > > Hi, > > > I have got a problem with shmget. > > > Something wrong? > > > === > > Windows 2000 Professional

Passing file descriptors

2004-01-04 Thread Theo Verelst
Anyone know wether cygwin can pass file descriptors over unix sockets (streams) so that a process can share its file descriptors with another? Theo Verelst [EMAIL PROTECTED] latest diary page: http://195.241.128.75/Diary/ldiary15.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe

Re: shmget : Function not implemented

2004-01-04 Thread Gerrit P. Haase
Hallo Alex, >> Guesses: >> 1. The ipc-daemon2 needs to run. > How can one know that? Since you used the cygipc library to link against, you should read the documents which are included in the cygipc package. >> 2. Wrong headers (cygipc-2.x not installed)? > $ cygcheck -c | grep ipc > // Nothin

Re: Passing file descriptors

2004-01-04 Thread Christopher Faylor
On Sun, Jan 04, 2004 at 04:30:56PM +0100, Theo Verelst wrote: >Anyone know wether cygwin can pass file descriptors over unix sockets >(streams) so that a process can share its file descriptors with >another? Nope. Sorry. -- Please use the resources at cygwin.com rather than sending personal email

Printing graphics from cygwin - using a "HP" winprinter.

2004-01-04 Thread Hannu E K Nevalainen
In hope that this is helpful for others... (hereby put in the archives) Reference: http://www.cygwin.com/ml/cygwin/2003-07/msg01691.html http://netpbm.sourceforge.net/doc/ quote from the latter: " pnm2ppa converts to HP's "Winprinter" format (for HP 710, 720, 820, 1000, etc). It is a superset o

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

2004-01-04 Thread Beman Dawes
At 06:23 AM 1/4/2004, Gerrit P. Haase wrote: >Hallo Beman, > >Am Sonntag, 4. Januar 2004 um 02:55 schriebst du: > >>>$ g++ -mno-cygwin fstream.cpp >> In file included from >> /usr/local/include/c++/3.3.1/bits/locale_facets.h:166, > >The default location for Cygwin & MinGW files distributed by the

Re: DLL vs. shared object linking behavior

2004-01-04 Thread Larry Hall
At 06:19 AM 1/4/2004, Jani Tiainen you wrote: >Karl Robillard wrote: > >>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 th

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

2004-01-04 Thread Larry Hall
At 01:18 PM 1/4/2004, Beman Dawes you wrote: >OK, the tests are finished. Good news! Eleven additional Boost regression tests now >pass and there are no new failures. The only other difference is that the version is >being reported as GNU C++ version 3.3.1 (cygming special) rather than just GNU C

Re: Crash of mysql under cygwin with g++ 3.3.1

2004-01-04 Thread Gerrit P. Haase
Hallo Fabrice, late reply, sorry. Your code snippet works for me with the latest Cygwin gcc-3.3.1 and MySQL 4.0.17 which I compiled today and which is available for testing here: http://anfaenger.de/cygwin-1.5/mysql/ $ gcc -I/usr/include/mysql \ -o mysql mysql.cpp \ -L/usr/lib/mysql -lmy

Solved, sort of: dumper 1.10 not giving expected stack trace in gdb

2004-01-04 Thread Robert Baruch
Hi all, I have a suboptimal solution for getting a good stack trace in gdb. First, DO NOT use dumper as the error_start program. Set CYGWIN='error_start=C:\windows-path-to-gdb\gdb.exe'. When an abort occurs, gdb will start. Next, do info thread to find all the threads. Chances are the aborted

Re: shmget : Function not implemented

2004-01-04 Thread Alex Vinokur
Hello Gerrit, Now it woks fine (see below). Thanks. "Gerrit P. Haase" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hallo Alex, > > > >> Guesses: > >> 1. The ipc-daemon2 needs to run. > > How can one know that? > > Since you used the cygipc library to link against, you should rea