From dbaker@direct.ca Wed Oct 1 01:02:00 1997 From: dbaker@direct.ca (Tim Baker) Date: Wed, 01 Oct 1997 01:02:00 -0000 Subject: DLL in "invalid format" Message-ID: <343202CF.6719C56@direct.ca> Before trying the coolview cywin.dll and libcygwin.a files from Sergei every DLL I linked would not run. The system would say "this file is in an invalid format". After using the coolview stuff DLLs would work. But now I get the same error after linking the tk80.dll from Tcl/Tk. When I use QuickView to examine the DLLs they look fine (export table, import table, etc are ok). What is this "invalid format"? Thanks, Tim Baker - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From rotdom@labdid1.unical.it Wed Oct 1 01:59:00 1997 From: rotdom@labdid1.unical.it (Rotiroti Domenico) Date: Wed, 01 Oct 1997 01:59:00 -0000 Subject: bugs Message-ID: <34321DC7.70ED@labdid1.unical.it> 1) the g++ option -pipe just do nothing... 2) missing a ";" after a class declaration may lock the compiler... Yuo can mail me: rotdom at labdid.unical.it THANK YOU OR YOUR GREAT WORK - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From desh@orp.pdc.com Wed Oct 1 02:58:00 1997 From: desh@orp.pdc.com (desh) Date: Wed, 01 Oct 1997 02:58:00 -0000 Subject: Installing CDK Message-ID: <199710011010.PAA21665@marina.orp.pdc.com> I tried the same procedure and got the same files in TEMP directory and the same error. I will appriciate if some one can give me location of some other for of distribution (may be tar / gz). I need it fast. thanks -Mittar ---- From: Tomcat To: gnu-win32@cygnus.com Date: Wednesday, October 01, 1997 2:45 PM Subject: Installing CDK This is concerning CDK installation problem I mentioned yesterday. ("the decompression of %s failed, there might be not enough free space in TEMP directory") Thanks to the people who instantly answered, but the problem still persists. First thing I did was to empty the temp dir (c:\windows\temp, also pointed by TEMP and TMP environment variables). Same thing happened. Then next thing I tried was deleting the whole temp dir, wiping it out of recyle bin (for luck) and then creating it again. It wouldn't work. I was curious and tried it without any temp dir at all, but install shield complained (not being able to write to c:\windows\temp). Okey so it's nothing wrong with the temp. Then just as an experiment, I ended up deleting files as installation created them, but still it would stop at the fatal 98% resulting with the same message I am dreaming these days. And as someone mentioned I tried creating c:\temp and c:\tmp.. Of course, it wouldn't work. Astonishing thought came to me that people who actually wrote some of the most sophisticated lines of code in the world, that entire GNU project is, can let something like this happening. Tjah. Here is the list of the files setup extracted, I'd like if someone could attach me the rest as I see no other alternative solving this trouble :) data.tag data1.cab lang.dat os.dat setup.bmp,exe,ini,ins _inst31i.ex_ _isdel.exe _setup.dll _sys1.cab _user1.cab - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Wed Oct 1 05:41:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Wed, 01 Oct 1997 05:41:00 -0000 Subject: Installing CDK References: <199710010059.CAA23791@galeb.etf.bg.ac.yu> Message-ID: In article <199710010059.CAA23791@galeb.etf.bg.ac.yu>, Tomcat wrote: >Astonishing thought came to me that people who actually wrote some of >the most sophisticated lines of code in the world, that entire GNU >project is, can let something like this happening. Tjah. Gee. That's an interesting way of asking for help. Certainly the "GNU project" should have been able to predict that you would have problems and fix them ahead of time. I don't know what is wrong with the "GNU project". Maybe you should get your money back? -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Wed Oct 1 08:18:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Wed, 01 Oct 1997 08:18:00 -0000 Subject: Redirect the stderr GCC stream to file, executing from Ms-Dosshell References: <01BCCE53.F7289290@gater.krystalbank.msk.ru> Message-ID: In article <01BCCE53.F7289290@gater.krystalbank.msk.ru>, Sergey Okhapkin wrote: >Chris Faylor wrote: >> In article <199709301048.MAA00599@ammi.mclink.it>, >> Giandomenico De Sanctis wrote: >> >How to redirect the stderr stream to a file, running GCC from MS-Dos >> >command prompt, and not from Unix-like shell as bash?? >> >> gcc whatever 2>wherever > >This works with NT4.0 cmd.exe only, but not with 95's command.com. Right. Sorry to have not mentioned that. Other alternatives are: 1) Use 4DOS ( http://www.jpsoft.com ), which allows '>&' for redirection. 2) Write a small program to redirect stderr to stdout and run its arguments. 3) bash -c 'exec gcc whatever 2>wherever' -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From erics@eastman.com Wed Oct 1 09:24:00 1997 From: erics@eastman.com (Smith, Eric) Date: Wed, 01 Oct 1997 09:24:00 -0000 Subject: Tar fails during creation of large files. Message-ID: Hello all: I am currently running CDK b18 with the Coolview dll (date 9/7/97) on NT 4.00 (build 1381). The system has 64M RAM and a 4G SCSI drive. Both the source dir and dest dir are binary mounts. I am trying to tar a subdirectory and all of it's subdirectories into a single archive. The directory tree contains 24.5M of files. If I execute the following bash$ cd /tarsrc bash$ tar -cf /tardest/dest.tar Components I end up with a TAR file containing 4,410K of data, but only some of the required files. If I execute the following bash$ cd /tarsrc bash$ tar -cvf /tardest/dest.tar Components I end up with a TAR file containing 25,740K of data, with all of the files. Why is there a difference? Eric M. Smith telephone : (423) 229-2254 profs/officevision : XGIB003 internet -- business : erics@eastman.com internet -- personal : burnsun@tricon.net Do not meddle in the affairs of wizards, for they are quick to anger. Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From porcelin@tpts5.seed.net.tw Wed Oct 1 09:56:00 1997 From: porcelin@tpts5.seed.net.tw (Porcelin Wang) Date: Wed, 01 Oct 1997 09:56:00 -0000 Subject: bug of ln -s? References: <01BCC293.96E45A20@gater.krystalbank.msk.ru> Message-ID: <34327FC7.11F0@tpts5.seed.net.tw> Sergey Okhapkin wrote: > > The signal handling with window messages is incompatible with non-reentrant > 16-bit user.exe module in Windows95... Windows 95 crashes when signal > handler modifies the context of main thread while in user.exe code. The > state of user.exe is unpredictable in this case. > > I've just modified the cygwin code - do not send SIGCHLD to parent on child > exit. It's the default behavior on windows 95 (it's still possible to > override it with CYGWIN_SIGCHLD=1 environment variable). On NT the SIGCHLD > signal is always sent to parent. My W95 machine runs now configure of cdk > in one console, and the make of cdk in another console. I'll post the patch > when the both processes will finish successfully:-) Thank for Sergey's explanation about signal handler problem. I meet another problem under Windows95. Maybe someone understand it: The below line can be executed successfully. bash:/bin$ ln -s //h/gnuwin32/b18/h-i386-cygwin32/bin/* . But when //h is a compressed disk, it crashes, unless I remove some files in the directory //h/gnuwin32/b18/h-i386-cygwin32/bin. (error from too man files?) error messages: BASH caused a stack fault in module KERNEL32.DLL at 0137:bff725c5. Registers: EAX=002a0037 CS=0137 EIP=bff725c5 EFLGS=00000283 EBX=fda79000 SS=013f ESP=0258bf92 EBP=0258bfa6 ECX=815ce644 DS=013f ESI=0258bfb6 FS=334f EDX=815c3898 ES=013f EDI=815c3898 GS=0000 Bytes at CS:EIP: 6a ff e8 2d 87 01 00 eb e7 55 8b ec 56 57 53 8b Stack dump: fda79000 815c38a8 0258bfb6 4759432d 334e4957 0258c00c bff7294f 815c3898 0258bfb6 170718ac 016f0028 00010000 b57d0000 0100fffb c0070000 bfd80258 Why that? The problem is from 'ln -s' or 'const defined in srcs' or stack or W95 limit? The running system is Windows95 OSR2, FAT16. Hope people understand my English. :-) - Porcelin Taiwan, Republic Of China - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Ballantony@aol.com Wed Oct 1 10:41:00 1997 From: Ballantony@aol.com (Ballantony@aol.com) Date: Wed, 01 Oct 1997 10:41:00 -0000 Subject: header files Message-ID: <971001133813_1924128151@emout16.mail.aol.com> I'm trying to run Beta 17 to no avail GCC will work, however it can't find my header files. Please could you tell me how to set the path. I've set GCC_ENV_prefix etc but it still won't find them. Thank you - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Wed Oct 1 10:41:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Wed, 01 Oct 1997 10:41:00 -0000 Subject: Installing CDK Message-ID: <01BCCEB1.E02E1160@sos> desh wrote: > I tried the same procedure and got the same files in TEMP directory and the > same error. cd \windows attrib -r unins*.* -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From christian.straetgen@straetgen.mk.eunet.de Wed Oct 1 10:47:00 1997 From: christian.straetgen@straetgen.mk.eunet.de (straetgen) Date: Wed, 01 Oct 1997 10:47:00 -0000 Subject: CDK installation Message-ID: <34328C37.D7691F50@straetgen.mk.eunet.de> Hi! I have just installed the CDK package version b18. On the last window of the installation tool I read that I have to do some post-install actions to get it to work correctly - but I don't find the referred file (README.txt). So, where do I find it? I don't think that this files: gnuwin32\b18\tcl\readme.txt and gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-970404\include\Readme are the right ones. Are there some installation traps I should beware of? (e.g. the gcc delivers an error like: Can't exec cpp ...) Thanks for your suggestions. Christian - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Wed Oct 1 11:14:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Wed, 01 Oct 1997 11:14:00 -0000 Subject: howto-bugs Message-ID: <19971001181340.13184.qmail@hotmail.com> Geoffrey, In your document misc/gnu-win32/howto-bugs you mention that you were going to explain how to rebuild tools and send patches. Did that happen? Where can I find it? How about a URL pointer in the afore mentioned document? Thanks, - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From julie@MageNet.com Wed Oct 1 12:00:00 1997 From: julie@MageNet.com (Julia Anne Case) Date: Wed, 01 Oct 1997 12:00:00 -0000 Subject: compiling SSH? Message-ID: <19971001145934.21392@morn.MageNet.com> I saw a few posts that seem to indicate that some people got this to work... I tried several different ways... The main problem seems to be the fact that the -pipe command for gcc is broken... But, even if I take that out then the compile stops on various header errors... Is there something simple that I'm doing wrong? Julie -- -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNDKdg7Ci/CbOOIINAQEI8QP/U4P+dbctdV8b5SotmRm3g2bPkJANdkdR LI69y/u5cArVuVfaEnUzJrqDXRoKRBDyVvpfm/4QQ3J9ihGqDdAbSiGV1UU0tNUa EyyJylT4Q5Dcrk1bAelzgFpoOIOonbVLQxVjGgUKLkTXucVw+xmSlCPaucfXpZD0 ZTSVkZq754c= =IHVc -----END PGP SIGNATURE----- From mimi@im.se Wed Oct 1 12:32:00 1997 From: mimi@im.se (Mike Mitten) Date: Wed, 01 Oct 1997 12:32:00 -0000 Subject: bash hangs/crashes when running executables Message-ID: <9710011929.AA38778@itgrs1.im.se> With B18 on Win95, attempting to execute any .exe results in the message "(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\BASH.EXE 1001) In cygwin_except_handler", then the window becomes unresponsive to input and can only be closed by the X in the upper right corner. Sometimes it's 1004 or 1008 instead of 1001 in the message. This happens if bash is run as bash or sh, from the Start menu or an "MS-DOS" window. What I assume to be internal bash commands (cd, pwd, echo) work fine, but anything that's an .exe will crash, with or without an explicit path ("./ls" for example). /tmp exists, as does /etc, which contains termcap. .bash_profile and .bashrc both exist in $HOME (C:/usr/mimi), though this happens even if they are removed. Have I perhaps gotten PATH wrong? DOS set gives: PATH=C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN;C:\GNUWIN32\B18\TCL\BIN;C:\USR\BIN;C:\BIN\JDK1.1.1\BIN and Cygnus's env gives: PATH=/WINDOWS:/WINDOWS:/WINDOWS/COMMAND:/GNUWIN32/B18/H-I386-CYGWIN32/BIN:/GNUWIN32/B18/TCL/BIN:/USR/BIN:/BIN/JDK1.1.1/BIN I've never explicitly mounted anything, but mount says that device c: is directory / of type native, with flags of no-mixed and text!=binary. Any information on what I've missed will be greatly appreciated. Thanks, -Mike Mike Mitten, mimi@im.se, at IMI Services for Palarco, Inc. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From john.cook@kla-tencor.com Wed Oct 1 12:32:00 1997 From: john.cook@kla-tencor.com (John Cook) Date: Wed, 01 Oct 1997 12:32:00 -0000 Subject: Redirect the stderr GCC stream to file, executing from Ms-Dosshell Message-ID: This works in NT3.51 also. I stumbled upon it accidentally when I was trying to redirect stdout of an executable with a final argument of '2' and redirected stderr instead! --John >---------- >From: Sergey Okhapkin[SMTP:sos@prospect.com.ru] >Sent: Wednesday, October 01, 1997 12:22 AM >To: gnu-win32@cygnus.com; 'cgf@bbc.com' >Subject: RE: Redirect the stderr GCC stream to file, executing from >Ms-Dosshell > >Chris Faylor wrote: >> In article <199709301048.MAA00599@ammi.mclink.it>, >> Giandomenico De Sanctis wrote: >> >How to redirect the stderr stream to a file, running GCC from MS-Dos >> >command prompt, and not from Unix-like shell as bash?? >> >> gcc whatever 2>wherever > >This works with NT4.0 cmd.exe only, but not with 95's command.com. > >-- >Sergey Okhapkin, http://www.lexa.ru/sos >Moscow, Russia >Looking for a job. > > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Wed Oct 1 13:25:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Wed, 01 Oct 1997 13:25:00 -0000 Subject: CDK installation Message-ID: <19971001202425.27646.qmail@hotmail.com> >Date: Wed, 01 Oct 1997 19:45:28 +0200 >From: straetgen >To: "gnu-win32@cygnus.com" >Subject: CDK installation > >Hi! > >I have just installed the CDK package version b18. On the last window of >the installation tool I read that I have to do some post-install actions >to get it to work correctly - but I don't find the referred file >(README.txt). > >So, where do I find it? >I don't think that this files: > gnuwin32\b18\tcl\readme.txt >and > >gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-970404\include\Readme > >are the right ones. > >Are there some installation traps I should beware of? >(e.g. the gcc delivers an error like: Can't exec cpp ...) > Let me point you to: ftp://ftp.cygnus.com/pub/gnu-win32/latest http://www.cygnus.com/ml/gnu-win32 http://www.cygnus.com/misc/gnu-win32 - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mh@mike.franken.de Wed Oct 1 13:41:00 1997 From: mh@mike.franken.de (Michael Hirmke) Date: Wed, 01 Oct 1997 13:41:00 -0000 Subject: References: Message-ID: <6f1Hn38ppfB@mike.franken.de> Hi Hyung, > > >How can i install if i do not have Windows NT/95? What system do you use then ? It seems to be some kind of U*ix, cause you use Pine as your mailreader. If so, you just have to use the gcc included in your distribution - or to buy an appropriate compiler, if gcc is not available for you system. If your Pine is the one running on DOS and therefore you need gcc for DOS, you should have a look at http://www.delorie.com ! Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh@mike.franken.de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mh@mike.franken.de Wed Oct 1 13:41:00 1997 From: mh@mike.franken.de (Michael Hirmke) Date: Wed, 01 Oct 1997 13:41:00 -0000 Subject: Redirect the stderr GCC stream to file, executing from Ms-Dos shel References: Message-ID: <6f1Hm67ppfB@mike.franken.de> Hi Chris, >In article <199709301048.MAA00599@ammi.mclink.it>, >Giandomenico De Sanctis wrote: >>How to redirect the stderr stream to a file, running GCC from MS-Dos >>command prompt, and not from Unix-like shell as bash?? > >gcc whatever 2>wherever This only works on NT machines, it does not work on W95 machines. Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh@mike.franken.de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tage.westlund@stockholm.mail.telia.com Wed Oct 1 15:14:00 1997 From: tage.westlund@stockholm.mail.telia.com (Tage Westlund) Date: Wed, 01 Oct 1997 15:14:00 -0000 Subject: POSTSCRIPT PRINTING Message-ID: <3432E44A.23DA@stockholm.mail.telia.com> Hej! My system is Win95 and I have the binary gnuwin32-b18. I am not on a network and have no postscript printer, but I have a valuable Postscript text file. There is no plain text alternative on the web. What free software can I download for printing the text? I hope my case is of general interest for the mailing list members. Pure ASCII will be good enough; no need for viewing the text on the screen. Own investigation led me to a GNU mirror and to the ghostscript/ghostview combination. This was easy to download. I expanded ghostscript-3.33pc.tar.gz and was able to start gs386.exe which gave an empty window and the prompt GS> I am aware that the included source for ghostview is to be compiled so it can control ghostscript to do the viewing and printing actions, but #include fails. Do I have to download the whole X11R6 complex of 150 MB? I hesitate! Are there other free utilities available for printing in Post- script? Tage - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kermit@ticnet.com Wed Oct 1 15:18:00 1997 From: kermit@ticnet.com (Kermit Tensmeyer) Date: Wed, 01 Oct 1997 15:18:00 -0000 Subject: cygwin32 Networking Message-ID: <3432CD14.FEE5CA4F@ticnet.com> there seems to be an either or conflict with the headers of and Including mywinsock.h causes all sorts of warnings of conflicts with other headers. either the two sets of headers are NOT meant to be used at the same time OR there is another method to get them to co-exist. the mywindsock.h file has the right stuff to get the standard unix net functions translated properly. (ie use the correct set of parameters) so it becomes worthwhile to use SO What is the Prefered Method of socket interaction? Netdb or Mywinsock? -- ------- Kermit Tensmeyer (E & T - Networking) Kermit@ticnet.com Dallas - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From rfrink@infinet.com Wed Oct 1 16:44:00 1997 From: rfrink@infinet.com (Rick Frink) Date: Wed, 01 Oct 1997 16:44:00 -0000 Subject: Redirect the stderr GCC stream to file, executing from Ms-Dosshell References: <01BCCE53.F7289290@gater.krystalbank.msk.ru> Message-ID: <3.0.1.32.19971001194915.006ceed4@infinet.com> Hello, A related question, I think. Once I have an executable, in the NT 4.0 environment, is it possible to redirect stdout ? The problem that I've run into is that I am executing a command from the NT PerfMon, but it insists upon flashing a DOS window on screen...I even put my executable in an NT CMD batch file, but it does not help. Any clues ? Thanks, in advance. Rick Frink At 10:22 AM 10/1/97 +0300, you wrote: >Chris Faylor wrote: >> In article <199709301048.MAA00599@ammi.mclink.it>, >> Giandomenico De Sanctis wrote: >> >How to redirect the stderr stream to a file, running GCC from MS-Dos >> >command prompt, and not from Unix-like shell as bash?? >> >> gcc whatever 2>wherever > >This works with NT4.0 cmd.exe only, but not with 95's command.com. > >-- >Sergey Okhapkin, http://www.lexa.ru/sos >Moscow, Russia >Looking for a job. > > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gregor@sens.com Wed Oct 1 17:54:00 1997 From: gregor@sens.com (Gregor Heinrich) Date: Wed, 01 Oct 1997 17:54:00 -0000 Subject: syntax error in stdio.h Message-ID: <3432F098.2E5C@sens.com> Dear Cygnus Engineer: Having just installed CYGWIN32, I must see that it is unable to read its own header files: In file included from 70404\../../../../i386-cygwin32/include/stdio.h:49, from C:\WINDOWS\DESKTOP\1001\test.c:1: 70404\../../../../i386-cygwin32/include/sys/reent.h:99: syntax error before `const' 70404\../../../../i386-cygwin32/include/sys/reent.h:144: syntax error before `const' In file included from C:\WINDOWS\DESKTOP\1001\test.c:1: c:\gnuwin32\b18\h-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-970404\../../../../i386-cygwin32/include/stdio.h:129: syntax error before `char' c After this CYGWIN begins with approximately 50 syntax error messages in stdio.h, all with similar meaning. Reformatting stdio didnt help, neither to plain text nor plain text w/DOS-linebreaks. Since I am using a very common setup, P133/32MBRAM/W95, it should be a common problem. So please give me a short note what is wrong with that, please. Is there also a way to strip the error messages of the full-length path names? This would make the compiler make really easier to use. Thanks in advance and best regards from Boston, gregor heinrich -- Gregor Heinrich Sensimetrics (+1) 617 225 2442 X225 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gregor@sens.com Wed Oct 1 18:56:00 1997 From: gregor@sens.com (Gregor Heinrich) Date: Wed, 01 Oct 1997 18:56:00 -0000 Subject: OK Message-ID: <3432FF0C.189C@sens.com> Dear Cygnus Engineer, please consider the last message done. The difference between K&R and ANSI has been the problem. Regards, Gregor Heinrich -- Gregor Heinrich Sensimetrics (+1) 617 225 2442 X225 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Wed Oct 1 23:07:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Wed, 01 Oct 1997 23:07:00 -0000 Subject: cygwin32 Networking Message-ID: <01BCCF1A.F03A8E80@gater.krystalbank.msk.ru> Kermit Tensmeyer wrote: > the mywindsock.h file has the right stuff to get the standard > unix net functions translated properly. (ie use the correct > set of parameters) so it becomes worthwhile to use > > SO What is the Prefered Method of socket interaction? > > Netdb or Mywinsock? #include #include -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Wed Oct 1 23:23:00 1997 From: garbanzo@hooked.net (Alex) Date: Wed, 01 Oct 1997 23:23:00 -0000 Subject: Programs randomly crashing. Message-ID: Yech. After going back through some old posts I decided to try making rpm wiht CYGWIN_SIGCHLD set to 0. Well things didn't hang, but they decided to gpf. Next, I downloaded whatever the latest cygwin.dll was from Sergey's page, installed that and libcygwin.a, similar result. DB 2.x with its gnu autoconf and 1.86 compat stuff bombed out on the configure script. It seems to me that the original b18 stuff and b17.5 stuff never really did this. Any ideas or fixes? - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Thu Oct 2 00:05:00 1997 From: garbanzo@hooked.net (Alex) Date: Thu, 02 Oct 1997 00:05:00 -0000 Subject: Programs randomly crashing. References: Message-ID: On Wed, 1 Oct 1997, Alex wrote: > Yech. After going back through some old posts I decided to try making > rpm wiht CYGWIN_SIGCHLD set to 0. Well things didn't hang, but they > decided to gpf. Next, I downloaded whatever the latest cygwin.dll was > from Sergey's page, installed that and libcygwin.a, similar result. DB > 2.x with its gnu autoconf and 1.86 compat stuff bombed out on the > configure script. It seems to me that the original b18 stuff and b17.5 > stuff never really did this. Any ideas or fixes? Scratch that. Tar xzvf still got Win98 to hang nicely. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mark@solcom.co.uk Thu Oct 2 01:08:00 1997 From: mark@solcom.co.uk (mark@solcom.co.uk) Date: Thu, 02 Oct 1997 01:08:00 -0000 Subject: Redirect the stderr GCC stream to file, executing from Ms-Dosshell Message-ID: --- On Wed, 1 Oct 1997 15:17:27 GMT Chris Faylor wrote: >In article <01BCCE53.F7289290@gater.krystalbank.msk.ru>, >Sergey Okhapkin wrote: >>Chris Faylor wrote: >>> In article <199709301048.MAA00599@ammi.mclink.it>, >>> Giandomenico De Sanctis wrote: >>> >How to redirect the stderr stream to a file, running GCC from MS-Dos >>> >command prompt, and not from Unix-like shell as bash?? >>> >>> gcc whatever 2>wherever >> >>This works with NT4.0 cmd.exe only, but not with 95's command.com. > >Right. Sorry to have not mentioned that. > >Other alternatives are: > >1) Use 4DOS ( http://www.jpsoft.com ), which allows '>&' for redirection. > >2) Write a small program to redirect stderr to stdout and run its > arguments. > >3) bash -c 'exec gcc whatever 2>wherever' >-- > http://www.bbc.com/ cgf@bbc.com "Strange how unreal >VMS=>UNIX Solutions Boston Business Computing the real can be." >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > -----------------End of Original Message----------------- Can you give me a quick hint what the small program mentioned in point no. 2 would look like. How would I invoke this to re-direct the output of GCC to a file. Thanks, Mark. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fss_sydney@compuserve.com Thu Oct 2 01:55:00 1997 From: fss_sydney@compuserve.com (FSS Sydney) Date: Thu, 02 Oct 1997 01:55:00 -0000 Subject: Missing TEXI files for CYGNU's H-i386-cygwin32 b18 Message-ID: <199710020454_MC2-2285-84D4@compuserve.com> Hi, I downloaded 'usertools.exe' for Win95/WinNT from your ftp site and have spent a fair amount of time trying to figure out where the useable documentation is. What comes in usertools.exe are several *.info files but there is no INFO.exe GNU reader. I also downloaded all.tar and looked through it. Seems to be same problem. Since usertools.exe is meant for Wintel users it would useful to include WinHelp type files instead of *.info files. Generally, the GNU tools come with *.TEXI files, which happen to be the type of files I can understand and work with. There happens to be a tex2rtf converter (Virtually Unix, email szurgot@itribe.net) which takes TEX files and makes them into RTF (the RTF can then be made into Win Help with MS's help compiler). So the making the TEX available with your usertools.exe or all.tar would be pretty useful. I browsed through just about your entire ftp site and could not find the any *.texi files. Could you advise as to where I could download them, the ones that will match usertools.exe? Much thanks, Luke Burlet FSS International Sydney office - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From chfrag@cc.ece.ntua.gr Thu Oct 2 02:02:00 1997 From: chfrag@cc.ece.ntua.gr (Christodoulos G. Fragoudakis) Date: Thu, 02 Oct 1997 02:02:00 -0000 Subject: POSTSCRIPT PRINTING References: <3432E44A.23DA@stockholm.mail.telia.com> Message-ID: On Thu, 2 Oct 1997, Tage Westlund wrote: > What free software can I download for printing the text? > > Are there other free utilities available for printing in Post- > script? > > Tage Point you browser to the following URL: file://ftp.ntua.gr/pub/pc/simtelnet/win95/print and get the files: gs403fn1.zip gs403ini.zip gs403w32.zip gsview21.zip Unzip all of them into the same folder and then try to run the install (or setup, I dont remember the name of the installation program) program. Then ghostview will be installed and you will be able to print postcript files to the normal windows printer. ------------------------- Christodoulos Fragoudakis chfrag@ece.ntua.gr http://www.cc.ece.ntua.gr/~chfrag - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From p.dalgaard@kubism.ku.dk Thu Oct 2 04:30:00 1997 From: p.dalgaard@kubism.ku.dk (Peter Dalgaard BSA) Date: Thu, 02 Oct 1997 04:30:00 -0000 Subject: POSTSCRIPT PRINTING References: <3432E44A.23DA@stockholm.mail.telia.com> Message-ID: Tage Westlund writes: > > Hej! Hej p???? dej! > My system is Win95 and I have the binary gnuwin32-b18. > I am not on a network and have no postscript printer, but > I have a valuable Postscript text file. There is no plain > text alternative on the web. .... > compiled so it can control ghostscript to do the viewing and > printing actions, but #include fails. Do I have to > download the whole X11R6 complex of 150 MB? I hesitate! > > Are there other free utilities available for printing in Post- > script? Forget about gnuwin32 for this, just go to http://www.cs.wisc.edu/~ghost/ and get GSview. It's free, unless you want to distribute it commercially, in which case there is a license. [Actually, I think ghostscript can be compiled as a straight command-line utility by setting switches properly and excluding the X drivers, but why bother?] -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Tom.Rodman@jci.com Thu Oct 2 05:41:00 1997 From: Tom.Rodman@jci.com (Tom Rodman) Date: Thu, 02 Oct 1997 05:41:00 -0000 Subject: RCS W95/gnu-w32: ci error: invalid identifier `' Message-ID: <9710021241.AA26455@mke100.mke.spd.jci.com> I have RCS up and running just fine under gnu-win32 under NT. But all the RCS binaries I've tried for Windows 95 give me this type of error when I try to check in a file from the bash prompt: $ touch foo $ ci -l foo RCS/foo,v <-- foo ci error: invalid identifier `' ci aborted I have a hunch this is a simple newbie RCS question. I would greatly appreciate if someone could take a shot at answering it. I confess I have not tried RCS binaries that were compiled for gnu-win32 very thouroughly. The one I did try insisted on an executable being in a fixed location different from my configuration. thank-you, Tom Rodman Johnson Controls Milwaukee WI - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Thu Oct 2 05:46:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Thu, 02 Oct 1997 05:46:00 -0000 Subject: Redirect the stderr GCC stream to file, executing from Ms-Dosshell Message-ID: <199710021245.IAA00665@hardy.bbc.com> >>2) Write a small program to redirect stderr to stdout and run its >>arguments. > >Can you give me a quick hint what the small program mentioned in point >no. 2 would look like. How would I invoke this to re-direct the >output of GCC to a file. Create a file called 'stderr.c': int main(int argc, char **argv) { dup2(1, 2); argv++; execvp(*argv, argv); perror(*argv); exit(1); } Compile this: gcc -o stderr -g stderr.c The program stderr will redirect all error output to the same place as stdout: stderr gcc -c stderr.c > gcc.out This will probably only work with cygwin.dll programs, though. cgf - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Thu Oct 2 05:57:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Thu, 02 Oct 1997 05:57:00 -0000 Subject: Redirect the stderr GCC stream to file, executing from Ms-Dosshell References: <01BCCE53.F7289290@gater.krystalbank.msk.ru> Message-ID: In article < EHDp53.37t@bbc.com >, Chris Faylor wrote: >In article <01BCCE53.F7289290@gater.krystalbank.msk.ru>, >Sergey Okhapkin wrote: >>Chris Faylor wrote: >>> In article <199709301048.MAA00599@ammi.mclink.it>, >>> Giandomenico De Sanctis wrote: >>> >How to redirect the stderr stream to a file, running GCC from MS-Dos >>> >command prompt, and not from Unix-like shell as bash?? >>> >>> gcc whatever 2>wherever >> >>This works with NT4.0 cmd.exe only, but not with 95's command.com. > >Right. Sorry to have not mentioned that. > >Other alternatives are: > >1) Use 4DOS ( http://www.jpsoft.com ), which allows '>&' for redirection. > >2) Write a small program to redirect stderr to stdout and run its > arguments. Just to follow up on my own points: The command I gave originally does work on NT 3.51. That's all I'm running here. Someone asked for the small program. This is it: Create a file called 'stderr.c': int main(int argc, char **argv) { dup2(1, 2); argv++; execvp(*argv, argv); perror(*argv); exit(1); } Compile this: gcc -o stderr -g stderr.c The program stderr will redirect all error output to the same place as stdout: stderr gcc -c stderr.c > gcc.out This will probably only work with cygwin.dll programs, though. In a vain attempt to hold off on future messages, I'd like to point out that I know that it is possible to make this into a much more sophisticated program which takes an argument signifying a file for the stderr output. It is possible to augment this program to shine your shoes and walk the dog. There are undoubtedly much more sophisticated programs out there which will do exactly what is required and do it intuitively without even the necessity of typing the command at all. Personally, I would again strongly suggest that anyone who can't use bash for this should consider 4DOS. It is a wonderful command line shell which provides you all sorts of advanced capabilities lacking in command.com or cmd.exe. http://www.jpsoft.com -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From blair@xvn.ds.boeing.com Thu Oct 2 05:57:00 1997 From: blair@xvn.ds.boeing.com (Rick Blair) Date: Thu, 02 Oct 1997 05:57:00 -0000 Subject: Problems with Sockets and select. Message-ID: <9710020556.ZM26097@xvn.ds.boeing.com> Hi all, This is a follow up to another post I made {with no replies :-( } I have an application that does interprocess communication with sockets. The main server process does a select to multiplex I/O from the clients. The select call completes, but when I go to read the socket with input pending, I block on the read call. Which is strange, since select says there is input ready for that socket. This same code works in almost all flavors of Unix that I have tried. Any suggestions or work arounds would be helpfull. Many Thanks In Advance. Rick -- ************************************************************************** * email: blair@xvn.ds.boeing.com * The contents of this message in * * voice: (206)773-8962 * in no way reflect the opinions * * usSnail: P.O. Box 3707 M/S 3E-28 * of the Boeing Company. Opinions * * Seattle, Wa 98124 * expressed here are strictly my own * * ------------- SUPPORT YOUR LOCAL POP3 SERVER -------------- * ************************************************************************** - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fdimeglio@businessobjects.com Thu Oct 2 08:33:00 1997 From: fdimeglio@businessobjects.com (Fabrice DI MEGLIO) Date: Thu, 02 Oct 1997 08:33:00 -0000 Subject: Help for a Windows NT4 sp3 CYGWIN32 b18 newbie ? Message-ID: Hi ! I have just downloaded cygwin32 B18 and read the install doc for setting environment variables ( GCC_EXEC_PREFIX, PATH, TCL_LIBRARY, GDBTK_LIBRARY). I try to compile a very simple c file and i get the following dialog box error for cpp.exe : "The procedure entry point cygwin32_posix_path_list_p could not be located in the dynamic library cygwin.dll" What POSIX does mean into my WinNT 4.0 SP3 ? Do i have forgotten something to do ? Thank's for your reply, Fabrice DI MEGLIO Business Objects email : fdimeglio@businessobjects.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Thu Oct 2 10:09:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Thu, 02 Oct 1997 10:09:00 -0000 Subject: byacc - Exception trapped Message-ID: <19971002170837.5152.qmail@hotmail.com> This should be simple: I wanted to learn lex & yacc. So I bought the O'Reilly & Associates book. I begin compiling and linking the examples. Things are looking good and working fine; until, I get to the yacc section in chapter 1. I have the lex examples coded from Example 1.6 and the yacc examples coded from Example 1.7 and 1.8. I then do: flex ch1-05.flex byacc ch1-05.byacc gcc -c lex.yy.c y.tab.c gcc -o ch1-05 lex.yy.o y.tab.o -lfl Now here is where the problem starts: I execute ch1-05 and get the attached dump. 8^( I've also attached the flex and byacc source files. Does anyone have a solution? ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com ch1_05_error ch1_05_byacc ch1_05_flex -------------- next part -------------- A non-text attachment was scrubbed... Name: ch1_05_byacc Type: text/x-c Size: 522 bytes Desc: not available URL: -------------- next part -------------- (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) In cygwin_except_handler (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) Exception trapped! (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) exception C0000005 at 402C75 (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) exception: ax 0 bx 0 cx 10047814 dx 0 (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) exception: si 5 di 1000B8B3 bp 240F01C sp 240F01C (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) exception is: STATUS_ACCESS_VIOLATION (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) Stack trace: (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) frame 0: sp = 0x240EE58, pc = 0x1000CEC2 (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) frame 1: sp = 0x240EE74, pc = 0x77FA9182 (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) frame 2: sp = 0x240EE98, pc = 0x77FA037B (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) frame 3: sp = 0x240EF1C, pc = 0x77F903C2 (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) frame 4: sp = 0x240F01C, pc = 0x1000C102 (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) frame 5: sp = 0x240FFC4, pc = 0x1000C113 (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) frame 6: sp = 0x240FFD0, pc = 0x4032F1 (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) frame 7: sp = 0x240FFE0, pc = 0x40103B (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) frame 8: sp = 0x240FFF0, pc = 0x0 (c:\users\bcoeeb0\My Projects\learn\lex\ch1-05.exe 4057) End of stack trace -------------- next part -------------- A non-text attachment was scrubbed... Name: ch1_05_flex Type: text/x-c Size: 2854 bytes Desc: not available URL: From dougmc@comco.com Thu Oct 2 10:31:00 1997 From: dougmc@comco.com (Doug McLaren) Date: Thu, 02 Oct 1997 10:31:00 -0000 Subject: problems with ls ... References: <3.0.3.32.19970930090454.00974ba0@bsa.wc.mc.xerox.com> Message-ID: <199710021731.MAA28933@titan.comco.com> William L Anderson was tellin' me ... | OK, riddle me this: | | using cygwin32/b18 ls.exe to list a directory I get | ls: filex.yyy: Permission denied | | but with either MKSNT ls or UWIN ls I get a listing. | | what gives? It appears that the cygwin `ls' actually reads the file somewhat to get some more information. Under Unix, `ls' stats the file to find out it's permissions, owner, etc. But under Windows, all of this information isn't available just by doing a stat() (does the stat() call even exist?) ... so I think that cygwin `ls' reads the beginning of the file to see if it has some special headers (kind of like the Unix `file' program) to see if it's actually executable. When it cannot read the file, you see this `Permission denied' error. I may be wrong on this, so if I am, correct me :) -- Doug McLaren, dougmc@comco.com Unsolicited email of a commercial or advertising nature is not welcomed. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Thu Oct 2 10:32:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Thu, 02 Oct 1997 10:32:00 -0000 Subject: Installing compiler in Win95 Message-ID: <19971002173203.4435.qmail@hotmail.com> >Date: Thu, 2 Oct 1997 10:10:28 -0700 >To: "Earnie Boyd" >From: Randy Stauber >Subject: Re: Installing compiler in Win95 > >The exact nature of problem: > >In Windows 95 I have read the instructions but I go to compile the C++ code >( in a DOS file named for instance PRO2.CPP and I use the GCC command and I >get the following error message > >ID: cannot open crt0.0: No such file or GCC.exe directory. Intermal compiler >error. Program id got fatal signal. > >I have set up a TEMP directory, a bin directory, put SH.exe in it. I have >added the directory as described in the meger documentation to my PATH >statement in autoexec.bat. How do I set GCC_EXEC_PREFIX enviroment varible??? > Assuming you took the installation directory default: USING BASH: ---------------------------------------------------------------------- GCC_EXEC_PREFIX=/gnuwin32/b18/H-i386-cygwin32/lib/gcc-lib/ GDBTK_LIBRARY=/gnuwin32/b18/share/gdbtcl needed if you want the debugger. mkdir /tmp Your PATH variable needs to contain /gnuwin32/b18/H-i386-cygwin32/bin USING MSDOS COMMAND: -------------------- set GCC_EXEC_PREFIX=c:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\ set GDBTK_LIBRARY=c:\gnuwin32\b18\share\gdbtcl mkdir c:\tmp Your PATH variable needs to contain c:\gnuwin32\b18\H-i386-cygwin32\bin - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From rminnich@sarnoff.com Thu Oct 2 11:10:00 1997 From: rminnich@sarnoff.com (Ron G. Minnich) Date: Thu, 02 Oct 1997 11:10:00 -0000 Subject: Problems with Sockets and select. References: <9710020556.ZM26097@xvn.ds.boeing.com> Message-ID: how are you sure that the one socket you are reading from has input pending? is the bit set in the fd_set for the read fd_set? are you sure that select is not returning -1 and you are mistaking a select that returns with an error for a successful select? a code fragment would help a lot. thanks ron Ron Minnich |Java: an operating-system-independent, rminnich@sarnoff.com |architecture-independent programming language (609)-734-3120 |for Windows/95 and Windows/NT on the Pentium ftp://ftp.sarnoff.com/pub/mnfs/www/docs/cluster.html - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Thu Oct 2 12:06:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Thu, 02 Oct 1997 12:06:00 -0000 Subject: Help for a Windows NT4 sp3 CYGWIN32 b18 newbie ? Message-ID: <19971002190207.11053.qmail@hotmail.com> >From: Fabrice DI MEGLIO >To: "'gnu-win32@cygnus.com'" >Cc: Fabrice DI MEGLIO >Subject: Help for a Windows NT4 sp3 CYGWIN32 b18 newbie ? >Date: Thu, 2 Oct 1997 18:32:40 +0200 > >Hi ! > >I have just downloaded cygwin32 B18 and read the install doc for setting >environment variables ( GCC_EXEC_PREFIX, PATH, TCL_LIBRARY, >GDBTK_LIBRARY). > >I try to compile a very simple c file and i get the following dialog box >error for cpp.exe : > >"The procedure entry point cygwin32_posix_path_list_p could not be >located in the >dynamic library cygwin.dll" > >What POSIX does mean into my WinNT 4.0 SP3 ? Do i have forgotten >something to do ? > Have you added the /gnuwin32/b18/H-i386-cygwin32/bin to you PATH variable? Are you file mounts text!=binary or text=binary?? 1 Attachment. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com newbie -------------- next part -------------- Let me point you to: ftp://ftp.cygnus.com/pub/gnu-win32/latest http://www.cygnus.com/ml/gnu-win32 http://www.cygnus.com/misc/gnu-win32 - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- From newsham@aloha.net Thu Oct 2 13:04:00 1997 From: newsham@aloha.net (Tim Newsham) Date: Thu, 02 Oct 1997 13:04:00 -0000 Subject: Problems with Sockets and select. References: <9710020556.ZM26097@xvn.ds.boeing.com> Message-ID: <199710022003.KAA12258@haleakala.aloha.net> > Hi all, > > This is a follow up to another post I made {with no replies :-( } > > I have an application that does interprocess communication with sockets. > The main server process does a select to multiplex I/O from the clients. The > select call completes, but when I go to read the socket with input pending, > I block on the read call. Which is strange, since select says there is input > ready for that socket. > > This same code works in almost all flavors of Unix that I have tried. > > Any suggestions or work arounds would be helpfull. In winsock, a read/recv() will block until the full amount of data requested is available if you aren't in non-blocking mode. So if you do read(s, buf, 2), and there is only 1 byte available, you will block until there are 2. This is not the same behavior observed in unix. You can do an ioctl to determine the number of bytes actually available after the select (FIONREAD) and read only that amount, to avoid blocking. > Rick > * email: blair@xvn.ds.boeing.com * The contents of this message in * - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From newsham@aloha.net Thu Oct 2 13:11:00 1997 From: newsham@aloha.net (Tim Newsham) Date: Thu, 02 Oct 1997 13:11:00 -0000 Subject: curses question Message-ID: <199710022011.KAA15062@haleakala.aloha.net> Hi, I was trying to build ncurses the other day (1.9.9g) and ran into a few problems. I know lots of people have built ncurses, but I haven't seen a list of things to do to get it to work. The configure and build work fine, but "make install" does not. I fixed the ".exe" problem in the install of the "progs" directory, but when it goes to build the term databases it fails with a number of errors. I tried both with normal directories, and building with the src on a "binary" mount, and installing with /tmp as a binary mount, all with the same results. What do I have to do to get the term database built? Tim N. --- errors ---- ** Building terminfo database, please wait... ** adjusting tabset paths "/tmp/1788", line 268, terminal 'unknown': resolution of use=dumb failed "/tmp/1788", line 772, terminal 'iris-ansi-ap': resolution of use=iris-ansi failed "/tmp/1788", line 917, terminal 'pcvt25': resolution of use=pcvtXX failed "/tmp/1788", line 920, terminal 'pcvt28': resolution of use=pcvtXX failed "/tmp/1788", line 923, terminal 'pcvt35': resolution of use=pcvtXX failed "/tmp/1788", line 926, terminal 'pcvt40': resolution of use=pcvtXX failed "/tmp/1788", line 929, terminal 'pcvt43': resolution of use=pcvtXX failed "/tmp/1788", line 932, terminal 'pcvt50': resolution of use=pcvtXX failed "/tmp/1788", line 939, terminal 'pcvt25w': resolution of use=pcvtXX failed [... more of the same ...] - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tage.westlund@stockholm.mail.telia.com Thu Oct 2 16:15:00 1997 From: tage.westlund@stockholm.mail.telia.com (Tage Westlund) Date: Thu, 02 Oct 1997 16:15:00 -0000 Subject: POSTSCRIPT PRINTING Message-ID: <3434456B.142D@stockholm.mail.telia.com> Dear list! Thank you all for advice about how to print Postscript code having a gnuwin32-b18 Win95 environment. Here is a compressed result. My mistake was to look for the explicit but obsolete filenames ghostscript... Look for gsNNN*.zip instead. All mails point at the binary version of ghostscript/ghostview. Download to one subdirectory: ftp://ftp.cs.wisc.edu/ghost/aladdin/gs503/gs503fn1.zip 1142 Kb /gs503ini.zip 793 Kb /gs503w32.zip 545 Kb /gs503fn2.zip 1052 Kb ftp://ftp.cs.wisc.edu/ghost/rjl/gsview23.zip (23!!) 2232 Kb Unzip gsview23.zip. Four gsv23xxx.zip files appear. Unzip the file gsv23w32.zip. Execute setup.exe See four icons. The first click on the GSview icon will finish the installation. I found the other night that the number of anonymous visitors to the source above was > 100 and the site was locked. An alternative is: ftp://ftp.informatik.uni-hamburg.de/pub/soft/ghostscript/aladdin/gs503/* ftp://ftp.informatik.uni-hamburg.de/pub/soft/ghostscript/rjl/* Still an alternative with not the latest version is: ftp://ftp.ntua.gr/pub/pc/simtelnet/win95/print/gs403*.zip /gsview21.zip Thanks to all that mailed! Tage, now printer - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From vischne@ibm.net Thu Oct 2 16:23:00 1997 From: vischne@ibm.net (Victor Schneider) Date: Thu, 02 Oct 1997 16:23:00 -0000 Subject: Getting ncurses*g to compile with cygwin32 Message-ID: <1.5.4.16.19971002190950.38b7519e@pop1.ibm.net> The trick to making ncurses*g compile under cygwin32's gcc 2.7.2 compiler is to fix the `configure' script and configure.in so that the constants from config_h get into the file. I put `echo rm include/config_h' in place of `rm include/config_h' in both files, and that seemed to make the difference. You also have to add `.exe' suffixes to the installed program names in the appropriate makefiles for `make install' to work properly. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sharp00@earthlink.net Thu Oct 2 20:15:00 1997 From: sharp00@earthlink.net (rale) Date: Thu, 02 Oct 1997 20:15:00 -0000 Subject: Win98 + wait stuff = broken (was: Programs randomly crashing.) References: Message-ID: <3434631D.F2FA4918@earthlink.net> Hi, I have the exact same problem too... This is what i know (or at least what i think i know) so far: - the wait code in wait.cc is busted under win98... - configure scripts, or the Makefile from ash, and a bunch of other things generate the following error: (please confirm if this is the same error your getting) wait_for_any: WaitForMultipleObjects failed, win32 error 6 wait_for_any: Trying again. wait_for_any: That didn't help, win32 error 6 - this error originates from wait.cc, i found this out by just looking through the patches I havent been able to try fixing this, as i dont have the entire source, and i dont have another machine to compile on anyway. (i doubt it would compile on this one, considering the bug) Alex wrote: > > On Wed, 1 Oct 1997, Alex wrote: > > > Yech. After going back through some old posts I decided to try making > > rpm wiht CYGWIN_SIGCHLD set to 0. Well things didn't hang, but they > > decided to gpf. Next, I downloaded whatever the latest cygwin.dll was > > from Sergey's page, installed that and libcygwin.a, similar result. DB > > 2.x with its gnu autoconf and 1.86 compat stuff bombed out on the > > configure script. It seems to me that the original b18 stuff and b17.5 > > stuff never really did this. Any ideas or fixes? > > Scratch that. Tar xzvf still got Win98 to hang nicely. > > - alex > > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From porcelin@tpts5.seed.net.tw Thu Oct 2 22:25:00 1997 From: porcelin@tpts5.seed.net.tw (Porcelin Wang) Date: Thu, 02 Oct 1997 22:25:00 -0000 Subject: buf of ln -s? Message-ID: <34327F03.926@tpts5.seed.net.tw> Porcelin wrote: > The below line can be executed successfully. > > bash:/bin$ ln -s //h/gnuwin32/b18/h-i386-cygwin32/bin/* . > > But when //h is a compressed disk, it crashes, unless I remove > some files from the directory //h/gnuwin32/b18/h-i386-cygwin32/bin. > (error from too man files?) > > error messages: > > BASH caused a stack fault in module KERNEL32.DLL at 0137:bff725c5. > .... > .... > > Why that? The problem is from 'ln -s' or 'const defined in srcs' or > stack or W95 limit? > The running system is Windows95 OSR2, FAT16. > Hope people understand my English. :-) The crashing occured not only in the case I mentioned but also whenever the linking directory has 'too many files', even if disk is not compressed. Maybe you want to try the following line on your Win95 system: bash:/tmp$ ln -s //C/Win95/system/* . (where '//C/Win95' is the root of Windows95, depending on your system) See what happend after pressing Enter. Is that normal?(I mean crashing is normal:-( -- Porcelin Wang Taiwan, Republic Of China - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gnu-win32-request@cygnus.com Thu Oct 2 23:36:00 1997 From: gnu-win32-request@cygnus.com (gnu-win32-request@cygnus.com) Date: Thu, 02 Oct 1997 23:36:00 -0000 Subject: How to apply patches from Mr. Sergey Message-ID: <199710030636.XAA19655@cygnus.com> Thanks Sergey to supply us good performance system. Recently I tried to compile the cdk source tree myself. But I don't know how to apply those patches by Sergey. Can some one supply me the source tree of winsup? Thanx advance. ----- FUJITA CORP. feng@fujita.co.jp TEL: +81 45 5913911 FAX: +81 45 591 3923 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cvn@interchain.nl Thu Oct 2 23:48:00 1997 From: cvn@interchain.nl (Kees van Veen) Date: Thu, 02 Oct 1997 23:48:00 -0000 Subject: tty raw Message-ID: <34349547.14821329@interchain.nl> I'm working with win32 b18 and fail to get the unix 'raw' tty mode and can't get use the arrow keys. I'm using 'getc' to read from stdin. Also 'stty -raw' says that not all the options could be set. Any help will be appreciated. Thanks, Kees (cvn@interchain.nl) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tomcat@galeb.etf.bg.ac.yu Fri Oct 3 03:58:00 1997 From: tomcat@galeb.etf.bg.ac.yu (Tomcat) Date: Fri, 03 Oct 1997 03:58:00 -0000 Subject: Installing CDK Message-ID: <199710031057.MAA08103@galeb.etf.bg.ac.yu> >desh wrote: >> I tried the same procedure and got the same files in TEMP directory and the >> same error. > >cd \windows >attrib -r unins*.* > I tried it, and it didn't work. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Fri Oct 3 05:23:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Fri, 03 Oct 1997 05:23:00 -0000 Subject: bash and w95 CapsLock problem Message-ID: <19971003122250.3830.qmail@hotmail.com> Does anyone have any idea as to how to get the CapsLock on w95 to not be a ShiftLock in bash? Thanks, - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurley@wyoming.com Fri Oct 3 05:35:00 1997 From: ccurley@wyoming.com (Charles Curley) Date: Fri, 03 Oct 1997 05:35:00 -0000 Subject: Missing TEXI files for CYGNU's H-i386-cygwin32 b18 References: <199710020454_MC2-2285-84D4@compuserve.com> Message-ID: <3.0.2.32.19971002164439.00935100@mailhost.wyoming.com> At 04:54 AM 10/2/97 -0400, FSS Sydney wrote: >Hi, >I downloaded 'usertools.exe' for Win95/WinNT from your ftp site and have >spent a fair amount of time trying to figure out where the useable >documentation is. What comes in usertools.exe are several *.info files but >there is no INFO.exe GNU reader. I also downloaded all.tar and looked >through it. Seems to be same problem. > I don't suppose you have ntemacs? If you do, you can use it. Drop me a note, and I will show you how to add in the usertools doc to the top of the emacs info tree. -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Fri Oct 3 06:40:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Fri, 03 Oct 1997 06:40:00 -0000 Subject: Win98 + wait stuff = broken (was: Programs randomly crashing.) References: <3434631D.F2FA4918@earthlink.net> Message-ID: In article < 3434631D.F2FA4918@earthlink.net >, rale wrote: >Hi, >I have the exact same problem too... >This is what i know (or at least what i think i know) so far: > - the wait code in wait.cc is busted under win98... > - configure scripts, or the Makefile from ash, and a bunch of other >things generate the following error: > (please confirm if this is the same error your getting) >wait_for_any: WaitForMultipleObjects failed, win32 error 6 >wait_for_any: Trying again. >wait_for_any: That didn't help, win32 error 6 > - this error originates from wait.cc, i found this out by just looking >through the patches > >I havent been able to try fixing this, as i dont have the entire source, >and i dont have another machine to compile on anyway. (i doubt it would >compile on this one, considering the bug) I've been trying to fix this for a few months now. I had a simple solution which worked great on NT but failed on Windows 95. That was two months ago. I've been trying to work around Windows 95 (and my own stupidity) ever since. I have managed to create a cygwin.dll that works better on Windows 95 but it actually causes Windows NT to hang randomly. I'd hoped to get this code in beta 18.5 but it will not happen now. I missed the deadline. In fact, I'm probably responsible for there being no 18.5 available right now. I'm still plugging away at this, however. Possibly I'll have something in a week or so. If I do, I'll probably make the cygwin.dll available on my web page for people to try. -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From William.Jarrett@usm.edu Fri Oct 3 07:13:00 1997 From: William.Jarrett@usm.edu (Dr. W. L. Jarrett) Date: Fri, 03 Oct 1997 07:13:00 -0000 Subject: GCC Include/Regex error Message-ID: <2.2.16.19971003091849.1107c9b8@ocean-mail.st.usm.edu> Dear Comrades: I am new to C++, so please be kind. I am having problems compiling some code that runs under Linux and IRIX 6.2. a) statements looking for special *.h files in the source code directory does not work; I had to transfer them to the /include/g++ directory of GNUWin32; How do I avoid that in general; b) I am getting these error messages: I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i386-cygwin32\\c ygnus-2.7.2-970404\\../../../../../include/g++/_regex.h:41: `Regex::Regex(const class Regex &)' is private //i/programs/gamma-3.5.2/share/src/SinglePar.cc:416: within this context c++: Internal compiler error: program cc1plus got fatal signal 33 What is Regex.h, and what does it mean that it is "private" Thank you for your assistance, Dr. W. L. Jarrett University of Southern Mississippi Department of Polymer Science 2609 W. Fourth St. Hattiesburg, MS 34906-5103 Phone: (601)266-4551 Fax: (601)266-5504 email: William.Jarrett@usm.edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From haneke@uran.informatik.uni-bonn.de Fri Oct 3 08:40:00 1997 From: haneke@uran.informatik.uni-bonn.de (Elmar Haneke) Date: Fri, 03 Oct 1997 08:40:00 -0000 Subject: cpp not found Message-ID: <199710031540.RAA03646@jod.informatik.uni-bonn.de> Hello, I just did install the cygwin32 package, but the gcc just says "installation problem ... cpp not found.". What can help, I did install it to e:\programme\cygwin32, but that should not be the cause I hope. Regards Elmar Haneke - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From raucd@sk.sympatico.ca Fri Oct 3 08:47:00 1997 From: raucd@sk.sympatico.ca (Darren Rauckman) Date: Fri, 03 Oct 1997 08:47:00 -0000 Subject: help, please! Message-ID: <343513C5.2B27@sk.sympatico.ca> I have installed b18, and i am having problems. I try to compile a sample program and it says it cannot find cpp. I have changed the GCC_EXEC_PREFIX to all kinds of things but I cant get it to work. My cpp is hidden in a million directories down. How can I fix this, what am I missing, what am I doing wrong? Darren - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From csthomas@egsoftware.com Fri Oct 3 08:49:00 1997 From: csthomas@egsoftware.com (Cameron S. Thomas) Date: Fri, 03 Oct 1997 08:49:00 -0000 Subject: Infor re: libgloss.a -- anyone ever get it to build? Message-ID: <343513E4.99E126D6@egsoftware.com> I've almost got a Gygwin32<->Solaris cross compiler built, but the linker is looking for a bunch of references are defined in libgloss.a. Although it is included in the Cygnus source distribution, the lib itself is never built and I cannot make it happen through direct intervention. I was wondering if anyone has experience with this, directly or from building other x-compilers or whatever. Any feedback would be greatly appreciated. -- Cameron S. Thomas - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tgraham@mulberrytech.com Fri Oct 3 09:00:00 1997 From: tgraham@mulberrytech.com (Tony Graham) Date: Fri, 03 Oct 1997 09:00:00 -0000 Subject: Another problem with ls ... Message-ID: <199710031559.LAA22316@camel14.mindspring.com> I have a different problem with ls: a "ls -l" of a directory on a remote disk mounted using "Map Network Drive..." from the Windows 95 "Windows Explorer" returns rather odd numbers for the file sizes. The DOS "dir" command, however, returns the right file sizes. ---------------------------------------- D:\Projects\taglib>ls -l | head total 4281023235 -rw-r--r-- 1 500 everyone 3237035888 Aug 08 15:42 TAGLIB.RLS -rw-r--r-- 1 500 everyone 3237511024 Aug 08 15:37 TAGLIBNC.DTD -rw-r--r-- 1 500 everyone 3237511024 Apr 06 17:06 attrname.tcl -rw-r--r-- 1 500 everyone 3237511024 Jul 30 19:56 data.sgm drwxr-xr-x 5 500 everyone 0 Sep 19 16:05 delivery -rwxr-xr-x 1 500 everyone 3237035888 Aug 24 20:49 dtd2data.pl -rw-r--r-- 1 500 everyone 3237511024 Jul 01 19:07 dtd2data.txt -rw-r--r-- 1 500 everyone 3237035888 Mar 16 1997 elementname.tcl -rw-r--r-- 1 500 everyone 3237511024 Apr 02 1997 elemname.tcl D:\Projects\taglib>dir | head Volume in drive D is BASMATI Directory of D:\Projects\taglib . 09-19-97 4:05p . .. 09-19-97 4:05p .. RCS 09-19-97 4:05p rcs TAGLIB~1 PL 19,443 07-30-97 8:07p taglibskel.pl TAGLIB~1 TXT 1,599 03-28-97 2:33p taglibskel.txt JADE 09-19-97 4:05p jade D:\Projects\taglib> ---------------------------------------- Regards, Tony Graham ======================================================================= Tony Graham Mulberry Technologies, Inc. Phone: 301-315-9632 17 West Jefferson Street, Suite 207 Fax: 301-315-8285 Rockville, MD USA 20850 email: tgraham@mulberrytech.com ======================================================================= - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From dbe@wgn.net Fri Oct 3 14:55:00 1997 From: dbe@wgn.net ($Bill Luebkert) Date: Fri, 03 Oct 1997 14:55:00 -0000 Subject: bash and w95 CapsLock problem References: <19971003122250.3830.qmail@hotmail.com> Message-ID: <34356974.513F1EA3@wgn.net> Earnie Boyd wrote: > > Does anyone have any idea as to how to get the CapsLock on w95 to not be > a ShiftLock in bash? Since I'm a Unix person, I just remapped min to be a control key. Control Panel->Keyboard Properties->Remap->CapsLock = Left Ctrl. Maybe that will do it for you in Emacs, you also have a choice of Left Alt and Left Shift. -- ,-/- __ _ _ $Bill Luebkert (_/ / ) // // DBE Collectibles / ) /--< o // // http://www.wgn.net/~dbe/ -/-' /___/_<_ Someone has misstyped the FAQ, it should be FD, Frequent Diagnostics becasue in it it says in a section 'I use a function I know is in th API, but I still get a link error' and the answer is 'The function probably isn't declared in the header files, or the UNICODE stuff for it isn't filled in. What is that supposed to mean, I dont care what the problem is, I want to fix it, you think that someone cant figure out there is something wrong with a file. Isnt there a FAQ with answers and solutions not babble that leads to their homepage that leads to some other NT programs. I finally got the program to run and compile a cheezy program and now there is some kind of error that is half a page long but ends in undefined reference to Winmain@16 gcc.exe: Internal compiler error: Program ld got fatal signal 1 So if someone has an answer besides, "Um, let me think, there is something wrong in a file", then please send it too me. I am sorry for being a little over the edge in this letter but why would someone write that, that is sooo stupid, its like a FAQ that says 'Why wont my car run' and the reply 'there is a part in your car that is not functioning' It is frustrating enough without these dumb things. Darren - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From flam@oceanes.fr Fri Oct 3 23:05:00 1997 From: flam@oceanes.fr (flam) Date: Fri, 03 Oct 1997 23:05:00 -0000 Subject: [IIS] E/S standards via la console Message-ID: <3435DC63.35D8@oceanes.fr> Bonjour ???? tous, Je cherche un moyen pour ????changer des infos avec IIS par le biais des E/S standards via la console. Le but ????tant de cr????er des scripts CGI avec un langage qui n'acc????de pas aux E/S standards. Si possible, j'aimerais que cela fonctionne avec Windows95 et WindowsNT. Quelqu'un utilise-t-il ou a-t-il d????velopp???? un outil de ce genre ? Merci par avance. Salutations. flam PS : D????sol???? mais je ne parle pas anglais. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From vischne@ibm.net Sat Oct 4 00:31:00 1997 From: vischne@ibm.net (Victor Schneider) Date: Sat, 04 Oct 1997 00:31:00 -0000 Subject: Overcoming b18 gnuwin32 console problems Message-ID: <1.5.4.16.19971004033256.246766a0@pop1.ibm.net> Having ported pdcurses, the latest ncurses, and slang to cygwin 32, I am aware that there are problems with the cygwin console. Just as a reality check, I have an old Borland compiler on CD-Rom, and I am in the process of porting slang via bcc using the Unix configuration and defines as the basis. The resulting slang.dll will be statically linked to bring in the Borland console, and I will use the cygwin dlltool.exe program to generate a cygwin import library. If all goes well, it will be possible for me to compile things that use slang under cygwin and have the Borland console in place. I think that will be the stopgap measure until things like the cygwin console and cygwin `gethostbyname' calls are cleaned up. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From VZELL@DE.oracle.com Sat Oct 4 02:55:00 1997 From: VZELL@DE.oracle.com (Volker Zell) Date: Sat, 04 Oct 1997 02:55:00 -0000 Subject: Problem regarding rebuilding Cygnus user-tools and Bash Message-ID: <199710040959.LAA14574@mailm1> Hi gurus ! I have a problem relating to rebuilding all the Cygnus (b18) user-tools with the latest collview (23.09.1997). This is what I type at the bash prompt: vzell:/src> ./configure Configuring for a host. free_tty: count < 0 *** ./configure.in has no "per-host:" line. As you can see the hosttype is not evaluated. I checked some other test scripts for example: ______________________ #!/bin/sh uname -a ______________________ vzell:/src> test_uname vzell:/src> No output at all. This is one of the reasons why the above configure fails. What am I doing wrong ???? The strange thing is, whith the original b18 distribution (without coolview) everything worked fine. But with that bash the pipe symbol was not working. By the way why do german Umlauts don't work in the latest coolview release ? Here is my setup: Windows specific: ----------------- Windows NT 4.0 4NT 3.0 as Comspec Lets start from 4NT command prompt: [d:\vzell\gnuwin32\b18\user-tools]path Path=d:\vzell\bin;d:\vzell\emacs\bin;d:\vzell\emacs\emacs-19.34\bin;d:\vzell\gnu win32\b18\H-i386-cygwin32\bin;d:\vzell\perl\bin;d:\vzell\java\jdk1.1.4\bin;d:\vz ell\tex\texmf-1.08\miktex\bin;d:\vzell\tex\dviwin29\bin;d:\programme\NetManage.3 2;D:\WINNT\system32;D:\WINNT;D:\ORANT\BIN;D:\ORANT\OWS21\BIN; [d:\vzell\gnuwin32\b18\user-tools]set CMDLINE=bash COMPUTERNAME=TRGDPC5 ComSpec=D:\Programme\JPSoftware\4nt300\4NT.EXE HOME=D:\vzell HOMEDRIVE=D: HOMEPATH=\users LYNX_CFG=d:\vzell\lynx.cfg NUMBER_OF_PROCESSORS=1 OS=Windows_NT Os2LibPath=D:\WINNT\system32\os2\dll; Path=d:\vzell\bin;d:\vzell\emacs\bin;d:\vzell\emacs\emacs-19.34\bin;d:\vzell\gnu win32\b18\H-i386-cygwin32\bin;d:\vzell\perl\bin;d:\vzell\java\jdk1.1.4\bin;d:\vz ell\tex\texmf-1.08\miktex\bin;d:\vzell\tex\dviwin29\bin;d:\programme\NetManage.3 2;D:\WINNT\system32;D:\WINNT;D:\ORANT\BIN;D:\ORANT\OWS21\BIN; PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 5 Model 7 Stepping 0, GenuineIntel PROCESSOR_LEVEL=5 PROCESSOR_REVISION=0700 SystemDrive=D: SystemRoot=D:\WINNT TCL_LIBRARY=D:\ORANT\network\agent\tcl TEMP=D:\TEMP TMP=D:\TEMP USERDOMAIN=HV_DE USERNAME=vzell USERPROFILE=D:\WINNT\Profiles\vzell.000 windir=D:\WINNT Then I type bash in that window ..... [d:\vzell\gnuwin32\b18\user-tools]bash Cygnus specific: ---------------- Cygnus b18 (Unpacked from an NTFS drive --> worked) Coolview 23.09.1997 user-tools source (Source unpacked with WinZip without CR/LF translation --> worked) Mount table: vzell:/src> mount Device Directory Type Flags d:\vzell\gnuwin32\var /var native no-mixed,text=binary d:\vzell\gnuwin32\usr /usr native no-mixed,text=binary d:\vzell\gnuwin32\tmp /tmp native no-mixed,text=binary d:\vzell\gnuwin32\b18\user-tools /src native no-mixed,text=binary d:\vzell\gnuwin32\etc /etc native no-mixed,text=binary \\.\tape1: /dev/st1 native no-mixed,text!=binary \\.\tape0: /dev/st0 native no-mixed,text!=binary \\.\b: /dev/fd1 native no-mixed,text!=binary \\.\a: /dev/fd0 native no-mixed,text=binary d:\vzell\gnuwin32\bin /bin native no-mixed,text=binary d: / native no-mixed,text=binary _________________________________________________________________________ vzell:/bin> ls -lt total 157 -rwxr-xr-x 1 vzell admin 320512 Jul 04 21:00 sh.exe* _________________________________________________________________________ vzell:~/gnuwin32/b18/H-i386-cygwin32/bin> ls -lt cygwin.dll bash.exe -rw-r--r-- 1 vzell admin 572950 Sep 23 10:50 cygwin.dll -rwxr-xr-x 1 vzell admin 320512 Jul 04 21:00 bash.exe* _________________________________________________________________________ vzell:~> ls -lt .bash* -rw-r--r-- 1 vzell admin 433 Oct 04 12:22 .bash_history -rw-r--r-- 1 vzell admin 2390 Oct 04 12:22 .bashrc -rw-r--r-- 1 vzell admin 2267 Oct 03 15:09 .bash_functions -rw-r--r-- 1 vzell admin 2215 Aug 29 04:04 .bashrc.18.ori -rw-r--r-- 1 vzell admin 11 Feb 17 1997 .bash_aliases -rw-r--r-- 1 vzell admin 1707 Feb 11 1997 .bashrc.ori _________________________________________________________________________ My .bashrc: # ~/.bashrc # executed by login and subshells #---------------------------------------------------------------------- # Limit coredumps to zero bytes # ulimit -c 0 #---------------------------------------------------------------------- # Other settings umask 022 # Terminal definition ( can ONLY be ansi as thats the only # defined in the termcap file ) #export TERM=ansi # Enable TTY code and console title updates export CYGWIN_TTY=1 # other options: strip export CYGWIN_TITLE=1 # Set up manpath export MANPATH=/usr/man:/usr/local/man:/vzell/man # Now your default shell is this export SHELL=/bin/sh # Set less to be our default pager export PAGER="/vzell/bin/less" # Tell less to use a character set appropriate for DOS # (that is really what we are running down there somewhere ;-) ) #export LESSCHARSET="dos" #export LESS="-isnMC" # Set IFS just because *shrug* export IFS="@" # If Bash is reading this you probably don't really need it here export HOME=/vzell # This will set up your Unixlike Path export PATH=/bin:$PATH # Specify your Login name export LOGNAME=$(whoami) # Place the Temporary Directory in the right spot export TEMP=/tmp export TMP=/tmp # This sets the Bash Shell prompt to (username):#(working directory) export PS1="$LOGNAME:\w> " # Setup compiler enviroment export TCL_LIBRARY=$HOME/gnuwin32/b18/tcl/lib/tcl7.6 export GDBTK_LIBRARY=$HOME/gnuwin32/b18/share/gdbtcl export GCC_EXEC_PREFIX=$HOME/gnuwin32/b18/H-i386-cygwin32/lib/gcc-lib/ export LIBRARY_PATH=$HOME/gnuwin32/b18/H-i386-cygwin32/lib export C_INCLUDE_PATH= export CPLUS_INCLUDE_PATH= #export LIBRARY_PATH=/usr/lib #export C_INCLUDE_PATH=/usr/include:/usr/lib/gcc-lib/include #export CPLUS__INCLUDE_PATH=/usr/lib/g++include # Make file listings use color, add * to executables and / to directories if [ "$TERM" = "dumb" ] ; then alias ls="ls --color -F" alias dir="dir --color -F" alias vdir="vdir --color -F" else alias ls="ls -F" alias dir="dir -F" alias vdir="vdir -F" fi #alias cp="cp -i" #alias mv="mv -i" # Add some extra colors for ls to use when it colors the file types export LS_COLORS="*.c=32:*.h=32:*.o=1;32:*.txt=1:*~=35:*.zip=1;31:*.z=1;31:*.Z=1;31:*.g z=1;31:*.tgz=1;31:*.tar=31" # This alias makes your HOME look right ;-) alias ~=$HOME source $HOME/.bash_functions #---------------------------------------------------------------------- # end of ~/.bashrc _________________________________________________________________________ o Some other questions: What does the following Permission denied mean ??? vzell:/> ls -lt ls: pagefile.sys: Permission denied total 293 drwxr-xr-x 99 vzell admin 0 Oct 04 11:47 vzell/ drwxr-xr-x 58 vzell everyone 0 Oct 04 11:02 temp/ drwxr-xr-x 177 vzell everyone 0 Oct 04 10:07 WINNT/ drwxr-xr-x 34 vzell everyone 0 Sep 18 20:19 Programme/ drwxr-xr-x 18 vzell admin 0 Sep 18 19:03 mc/ drwxr-xr-x 20 vzell admin 0 Sep 18 18:54 ORAWIN/ drwxr-xr-x 11 vzell admin 0 Aug 29 10:34 users/ drwxr-xr-x 32 vzell admin 0 Aug 09 18:59 ORANT/ drwxr-xr-x 94 vzell admin 0 Aug 08 18:14 WWW/ drwxr-xr-x 17 vzell admin 0 Aug 08 16:43 DATABASE/ drwxr-xr-x 5 vzell admin 0 May 21 15:40 NAVISW/ -rw-r--r-- 1 vzell admin 4597 Feb 22 1997 __ofidx.ffa -rw-r--r-- 1 vzell admin 548864 Feb 22 1997 __ofidx0.ffx -rw-r--r-- 1 vzell admin 45056 Feb 22 1997 __ofidx.ffl drwxr-xr-x 6 vzell admin 0 Feb 21 1997 InetPub/ drwxr-xr-x 20 vzell admin 0 Feb 19 1997 MSOffice/ drwxr-xr-x 5 vzell admin 0 Feb 19 1997 RECYCLER/ Thanks in advance ... Ciao Volker __________________________________________________________________________ "Is a dream a lie if it don't come true or is it something worse .." Dr. Volker Zell __ / _ / __ / ___/ / ___/ -- Trainer -- / / /__/ /_ / / / __/ Oracle Germany ____/__/ _|__/ __/____/ ____/____/ Paul-Thomas-Str.58 D-40599 D????sseldorf e-Mail: vzell@de.oracle.com WWW: http://trgsund4.de.oracle.com/ Tel: (+49) 211-74839-414 Fax: (+49) 211-74839-44 ___________________________________________________________________________ The statements and opinions expressed here are my own and do not necessarily represent those of Oracle Corporation. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From desh@orp.pdc.com Sat Oct 4 07:40:00 1997 From: desh@orp.pdc.com (desh) Date: Sat, 04 Oct 1997 07:40:00 -0000 Subject: Installing CDK Message-ID: <199710041506.UAA01899@marina.orp.pdc.com> Hi, I downloaded the cdk splits (xaa, xab, ... ) and joined together and surprisingly IT WORKED. try that. -desh ---- From: Tomcat To: sos@prospect.com.ru; Date: Friday, October 03, 1997 4:59 PM Subject: RE: Installing CDK >desh wrote: >> I tried the same procedure and got the same files in TEMP directory and the >> same error. > >cd \windows >attrib -r unins*.* > I tried it, and it didn't work. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ben@bcgrizzly.com Sat Oct 4 09:46:00 1997 From: ben@bcgrizzly.com (Ben McGunigle) Date: Sat, 04 Oct 1997 09:46:00 -0000 Subject: Problems with Petzold programs Message-ID: <343666A2.DE3488D4@bcgrizzly.com> Greetings all. I am learning Win95 programming using the Petzold book and the minimalist compiler. I have had trouble with the PlaySound() function and the SND_* defines being nonexistent (Example program hellowin.c). The SM_RESERVED1 - 4 defines (sysmets.h) are likewise absent from the header files. I assume they are present by default in the MS compiler recommended by the book Can any of you tell me to whom I should whine and/or how I can fix the problem? No, I am NOT going to buy the MS compiler. GCC works quite nicely. Thanks - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mh@mike.franken.de Sat Oct 4 11:26:00 1997 From: mh@mike.franken.de (Michael Hirmke) Date: Sat, 04 Oct 1997 11:26:00 -0000 Subject: Help again please. References: <3435D388.22C0@sk.sympatico.ca> Message-ID: <6fDZ4PTKpfB@mike.franken.de> Hi, >Someone has misstyped the FAQ, it should be FD, Frequent Diagnostics >becasue in it it says in a section 'I use a function I know is in th >API, but I still get a link error' and the answer is 'The function >probably isn't declared in the header files, or the UNICODE stuff for it >isn't filled in. What is that supposed to mean, I dont care what the >problem is, I want to fix it, you think that someone cant figure out If you don't care what the problem might be, you have a fatal lack of understanding towards programming at all and IMHO shouldn't use any compiler, because you could hit many more problems you don't want to understand. >there is something wrong with a file. Isnt there a FAQ with answers and >solutions not babble that leads to their homepage that leads to some Perhaps you can write one ? >other NT programs. I finally got the program to run and compile a >cheezy program and now there is some kind of error that is half a page >long but ends in > >undefined reference to Winmain@16 > >gcc.exe: Internal compiler error: Program ld got fatal signal 1 > >So if someone has an answer besides, "Um, let me think, there is >something wrong in a file", then please send it too me. > >I am sorry for being a little over the edge in this letter but why would >someone write that, that is sooo stupid, its like a FAQ that says 'Why >wont my car run' and the reply 'there is a part in your car that is not >functioning' It is frustrating enough without these dumb things. Have you ever taken into consideration, that it might be difficult to describe an exact solution for a problem. And of course, why do you use Cygnus' gcc, if you think its stupid. > >Darren Michael, who can't understand, why people always complain about things, they could solve by reading *all* available information. and why people also always complain about software, they can use for free and docs, some people have written in their spare time. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh@mike.franken.de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From dasilva@woodmore.gsfc.nasa.gov Sat Oct 4 16:45:00 1997 From: dasilva@woodmore.gsfc.nasa.gov (Arlindo da Silva) Date: Sat, 04 Oct 1997 16:45:00 -0000 Subject: Any man->html converter for NT? Message-ID: <199710042347.TAA00841@woodmore.gsfc.nasa.gov> Hi, Does anybody know of a good Unix man page -> html converter running on NT? Gnuwin32 compiled or not. Thanks. Arlindo dasilva@alum.mit.edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Sat Oct 4 16:56:00 1997 From: garbanzo@hooked.net (Alex) Date: Sat, 04 Oct 1997 16:56:00 -0000 Subject: Another problem with ls ... References: <199710031559.LAA22316@camel14.mindspring.com> Message-ID: On Fri, 3 Oct 1997, Tony Graham wrote: > I have a different problem with ls: a "ls -l" of a directory on a > remote disk mounted using "Map Network Drive..." from the Windows 95 > "Windows Explorer" returns rather odd numbers for the file sizes. The > DOS "dir" command, however, returns the right file sizes. I _think_ it is a known problem that network drives do strange things to GNU-Win32. I don't know of any fixes at the moment. Does the unc mapping give you the same errors? - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tomcat@galeb.etf.bg.ac.yu Sat Oct 4 17:13:00 1997 From: tomcat@galeb.etf.bg.ac.yu (Tomcat) Date: Sat, 04 Oct 1997 17:13:00 -0000 Subject: Installing CDK Message-ID: <199710050013.RAA08837@cygnus.com> >Hi, >I downloaded the cdk splits (xaa, xab, ... ) and joined together and >surprisingly IT WORKED. >try that. >-desh > ---- AMAZING. it works. I'd really like to hear the explanation for this voodoo magic :) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Sat Oct 4 17:15:00 1997 From: garbanzo@hooked.net (Alex) Date: Sat, 04 Oct 1997 17:15:00 -0000 Subject: Help again please. References: <3435D388.22C0@sk.sympatico.ca> Message-ID: On Fri, 3 Oct 1997, Darren Rauckman wrote: > Someone has misstyped the FAQ, it should be FD, Frequent Diagnostics > becasue in it it says in a section 'I use a function I know is in th > API, but I still get a link error' and the answer is 'The function > probably isn't declared in the header files, or the UNICODE stuff for it > isn't filled in. What is that supposed to mean, I dont care what the If you know anything about C, and a function isn't defined in a header file, and it _is_ there, then add the function to the header file and don't complain to the list. Windows deals with two basic types of strings. ASCII and UNICODE. Unicode supports (afaik) more international stuff and takes up more space in memory and is a Microsoft invention. If the unicode stuff isn't filled in, that means you need to give it a unicode string. However neither of these are your problem. > problem is, I want to fix it, you think that someone cant figure out > there is something wrong with a file. Isnt there a FAQ with answers and > solutions not babble that leads to their homepage that leads to some > other NT programs. I finally got the program to run and compile a > cheezy program and now there is some kind of error that is half a page > long but ends in > > undefined reference to Winmain@16 > > gcc.exe: Internal compiler error: Program ld got fatal signal 1 This means you are trying to link a GUI program which expects a Winmain() function to startup, not a main(). Winmain by the way, is not in the API. The @16 I think is a reference to a 16 bit function. > So if someone has an answer besides, "Um, let me think, there is > something wrong in a file", then please send it too me. > > I am sorry for being a little over the edge in this letter but why would > someone write that, that is sooo stupid, its like a FAQ that says 'Why > wont my car run' and the reply 'there is a part in your car that is not > functioning' It is frustrating enough without these dumb things. Not really, if a part is missing, and you know what part it is, it's easy enough to fix. However sometimes even if one knows what's missing, it's hard to fix. It's also probably hard enough for the people writing the code to do so without the complaints about dumb FAQs and people _not_ offering to help write this stuff. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tomcat@galeb.etf.bg.ac.yu Sat Oct 4 18:46:00 1997 From: tomcat@galeb.etf.bg.ac.yu (Tomcat) Date: Sat, 04 Oct 1997 18:46:00 -0000 Subject: No Subject Message-ID: <199710050146.SAA10241@cygnus.com> Now when I finnaly installed CDK, I just want to say few words: VERY GOOD JOB FELLOWS! Vladimir Prelovac tomcat@galeb.etf.bg.ac.yu P.S.: I compiled my 65000 lines long project with only 5 minor adjustments to the code! - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Sat Oct 4 19:34:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Sat, 04 Oct 1997 19:34:00 -0000 Subject: Help again please. References: <3435D388.22C0@sk.sympatico.ca> <6fDZ4PTKpfB@mike.franken.de> Message-ID: In article < 6fDZ4PTKpfB@mike.franken.de >, Michael Hirmke wrote: >Michael, who can't understand, why people always complain about things, >they could solve by reading *all* available information. and why people >also always complain about software, they can use for free and docs, >some people have written in their spare time. Amen. -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Sat Oct 4 21:04:00 1997 From: garbanzo@hooked.net (Alex) Date: Sat, 04 Oct 1997 21:04:00 -0000 Subject: Any man->html converter for NT? References: <199710042347.TAA00841@woodmore.gsfc.nasa.gov> Message-ID: On Sat, 4 Oct 1997, Arlindo da Silva wrote: > Hi, > > Does anybody know of a good Unix man page -> html converter running on NT? > Gnuwin32 compiled or not. I know that www.de.freebsd.org uses something like that, so I'm sure that you could rig someting up with groff and man, as it's very flexible. Try a quick web search. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From raucd@sk.sympatico.ca Sat Oct 4 21:31:00 1997 From: raucd@sk.sympatico.ca (Darren Rauckman) Date: Sat, 04 Oct 1997 21:31:00 -0000 Subject: Troubles with gnuwin32..... Message-ID: <34371844.5BE7@sk.sympatico.ca> I try to compile a program and get this error, \lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-970404\../../../../i386-cygwin32\lib/libcygwin.a(libcmain.o)(text+Oxle):libcmain.cc undefined reference to 'Winmain@16' gcc.exe: Internal compiler error: program ld got fatal signal 1 I am fairly new to this and I cannot solve this problem. This is with one program in another there is a similer error but instead of just Winmain there is a whole bunch of functions that are in functions.h in the /windows32 directory. The files I am trying to compile are pretty basic so the commands should be put into the .h file alright. If anyone has had this problem and knows how to fix it or just knows how to fix it please email me. Darren - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sunblaze@customized.com Sat Oct 4 22:36:00 1997 From: sunblaze@customized.com (Andrew Clements, Jr.) Date: Sat, 04 Oct 1997 22:36:00 -0000 Subject: Update Message-ID: <3437276A.1A32@customized.com> Please let me know when you have a running copy of TinyFugue for Win95. Thanks. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Sun Oct 5 01:05:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Sun, 05 Oct 1997 01:05:00 -0000 Subject: Any man->html converter for NT? Message-ID: <01BCD187.1DC9DD10@sos> Arlindo da Silva wrote: > Does anybody know of a good Unix man page -> html converter running on NT? > Gnuwin32 compiled or not. Cygwin-compiled RosettaMan works fine. ftp.cs.berkeley.edu/ucb/people/phelps/tcltk/rman.tar.Z -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Bardley09@aol.com Sun Oct 5 04:38:00 1997 From: Bardley09@aol.com (Bardley09@aol.com) Date: Sun, 05 Oct 1997 04:38:00 -0000 Subject: Two easy questions Message-ID: <971005073706_1343272954@emout18.mail.aol.com> 1. What is the best way to clear a character buffer (i.e. set it to zero)? 2. How does one get a list of all the functions in a particular library? Thank You! - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From VZELL@DE.oracle.com Sun Oct 5 05:39:00 1997 From: VZELL@DE.oracle.com (Volker Zell) Date: Sun, 05 Oct 1997 05:39:00 -0000 Subject: Problem regarding rebuilding Cygnus user-tools and Bash Message-ID: <199710051243.OAA16034@mailm1> Hi all ! I found a solution to my previous problem. I replaced the cygwin.dll dated 23.09.1997 (572.950 Bytes) with cygwin.dll from 10.08.1997 (598.202 Bytes) and now my problem disappeared. Anyway does anybody has an idea what's wrong with the latest cygwin.dll ? Here is again a testscript: __________________ #!/bin/sh uname -a a=`uname -a` echo $a _________________ With cygwin.dll from 10.08.1997 (598.202 Bytes): vzell:/src> test_uname CYGWIN32_NT TRGDPC5 4.0 17.6 i586 CYGWIN32_NT TRGDPC5 4.0 17.6 i586 vzell:/src> _________________ With cygwin.dll dated 23.09.1997 (572.950 Bytes) vzell:/src> test_uname vzell:/src> _________________ But now the strange thing, when I use the latest cygwin.dll from a 4NT prompt like this [d:\vzell\gnuwin32\b18\user-tools]bash -c test_uname CYGWIN32_NT TRGDPC5 4.0 17.6 i586 CYGWIN32_NT TRGDPC5 4.0 17.6 i586 [d:\vzell\gnuwin32\b18\user-tools] This works with every version from the cygwin.dll Ciao Volker From porcelin@tpts5.seed.net.tw Sun Oct 5 05:58:00 1997 From: porcelin@tpts5.seed.net.tw (Porcelin Wang) Date: Sun, 05 Oct 1997 05:58:00 -0000 Subject: help, please! Message-ID: <3437896D.2657@tpts5.seed.net.tw> Darren Rauckman wrote: > > I have installed b18, and i am having problems. I try to compile a > sample program and it says it cannot find cpp. I have changed the > GCC_EXEC_PREFIX to all kinds of things but I cant get it to work. My > cpp is hidden in a million directories down. How can I fix this, what am > I missing, what am I doing wrong? > Maybe it is necessary to try "env" command in bash to see whether the GCC_EXEC_PREFIX has the right value when gcc invoking. bath$ env The following line can find cpp position if you can execute sed: bath$ cpp_path=`gcc --print-libgcc-file-name | sed 's/libgcc.a//'`; echo $cpp_path; ls -l $cpp_path It will be a strange thing if the outputs are all normal.... Porcelin - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kunglao@prairienet.org Sun Oct 5 07:27:00 1997 From: kunglao@prairienet.org (Bizzaro) Date: Sun, 05 Oct 1997 07:27:00 -0000 Subject: Another problem with ls ... References: Message-ID: <3437A341.FF09840B@prairienet.org> Alex wrote: > > On Fri, 3 Oct 1997, Tony Graham wrote: > > > I have a different problem with ls: a "ls -l" of a directory on a > > remote disk mounted using "Map Network Drive..." from the Windows 95 > > "Windows Explorer" returns rather odd numbers for the file sizes. The > > DOS "dir" command, however, returns the right file sizes. > > I _think_ it is a known problem that network drives do strange things to > GNU-Win32. I don't know of any fixes at the moment. Does the unc mapping > give you the same errors? > > - alex I just tried it, mapping to my Linux box with samba. It reports the correct file sizes. Perhaps it is more with whatever type of system you are connecting to. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From raucd@sk.sympatico.ca Sun Oct 5 07:27:00 1997 From: raucd@sk.sympatico.ca (Darren Rauckman) Date: Sun, 05 Oct 1997 07:27:00 -0000 Subject: does anyone have glaux.dll or know how to get it Message-ID: <3437A411.1532@sk.sympatico.ca> Does anyone have glaux.dll or know how to get it, if you do please email me. Darren - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From dasilva@woodmore.gsfc.nasa.gov Sun Oct 5 07:29:00 1997 From: dasilva@woodmore.gsfc.nasa.gov (Arlindo da Silva) Date: Sun, 05 Oct 1997 07:29:00 -0000 Subject: Fermilab's Nedit anyone? Message-ID: <199710051432.KAA01219@woodmore.gsfc.nasa.gov> Hi, Has anyone ported (or is in the process of doing so) Fermilab's Nedit? Thanks. Arlindo mailto:dasilva@alum.mit.edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurley@wyoming.com Sun Oct 5 07:38:00 1997 From: ccurley@wyoming.com (Charles Curley) Date: Sun, 05 Oct 1997 07:38:00 -0000 Subject: GCC Include/Regex error References: <2.2.16.19971003091849.1107c9b8@ocean-mail.st.usm.edu> Message-ID: <3.0.2.32.19971004163324.00996cb0@mailhost.wyoming.com> At 09:12 3/10/97 -0500, Dr. W. L. Jarrett wrote: >Dear Comrades: > I am new to C++, so please be kind. I am having problems compiling >some code that runs under Linux and IRIX 6.2. > > a) statements looking for special *.h files in the source >code directory does not work; I had to transfer them to the /include/g++ >directory of GNUWin32; How do I avoid that in general; #includes with are typically system header files. They are found in the include path, which is defined by the include environmental variable. For your own #include files, ones that belong to your project, use "quotes", not . E.g: #include "myheader.h" That distinction is ANSI C, and should also apply to standard C++. Hope that helps. > > > b) I am getting these error messages: > >I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i386-cygwin32\\c >ygnus-2.7.2-970404\\../../../../../include/g++/_regex.h:41: >`Regex::Regex(const class Regex &)' is private >//i/programs/gamma-3.5.2/share/src/SinglePar.cc:416: within this context >c++: Internal compiler error: program cc1plus got fatal signal 33 > >What is Regex.h, and what does it mean that it is "private" I would guess that it is a header for regular expressions. If your program is not calling it, or one of the files #included in your program, then I suspect that the compiler is trying to pinpoint where its problem is occuring. I have no idea what the "private" label means. Anyone else? Hope that helps. -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurley@wyoming.com Sun Oct 5 09:27:00 1997 From: ccurley@wyoming.com (Charles Curley) Date: Sun, 05 Oct 1997 09:27:00 -0000 Subject: Any man->html converter for NT? References: <199710042347.TAA00841@woodmore.gsfc.nasa.gov> Message-ID: <3.0.2.32.19971005102312.007f4440@mailhost.wyoming.com> At 19:47 4/10/97 -0400, Arlindo da Silva wrote: >Hi, > > Does anybody know of a good Unix man page -> html converter running on NT? >Gnuwin32 compiled or not. A lot of Unix web utilities are written in perl. Perl is now available for NT & W95. Try: http://www.perl.hip.com/ -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jeffdbREMOVETHIS@netzone.com Sun Oct 5 09:43:00 1997 From: jeffdbREMOVETHIS@netzone.com (Mikey) Date: Sun, 05 Oct 1997 09:43:00 -0000 Subject: does anyone have glaux.dll or know how to get it References: <3437A411.1532@sk.sympatico.ca> Message-ID: <3437c2e6.3152966@smtp.netzone.com> the MS glaux.lib is a static library comes with the Platform SDK, http://www.microsoft.com/msdn the libglaux.a in the distrib is bogus, delete it, and rename glaux.lib libglaux.a, and you'll be close ;^). On Sun, 05 Oct 1997 08:28:34 -0600, you wrote: >Does anyone have glaux.dll or know how to get it, if you do please email >me. > >Darren >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > (jeffdbREMOVETHIS@netzone.com) delete REMOVETHIS from the above to reply Mikey - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Sun Oct 5 11:06:00 1997 From: garbanzo@hooked.net (Alex) Date: Sun, 05 Oct 1997 11:06:00 -0000 Subject: Two easy questions References: <971005073706_1343272954@emout18.mail.aol.com> Message-ID: On Sun, 5 Oct 1997 Bardley09@aol.com wrote: > 1. What is the best way to clear a character buffer (i.e. set it to zero)? buff[0]=0L; or buff[0]=\0; should do the trick. Byte strings can be zero'd by bzero (buf,len). > 2. How does one get a list of all the functions in a particular library? nm (I think) library.dll should do it. Or you could run it through strings and look through a lot of extra junk. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Sun Oct 5 11:09:00 1997 From: garbanzo@hooked.net (Alex) Date: Sun, 05 Oct 1997 11:09:00 -0000 Subject: Another problem with ls ... References: <3437A341.FF09840B@prairienet.org> Message-ID: On Sun, 5 Oct 1997, Bizzaro wrote: > > > I have a different problem with ls: a "ls -l" of a directory on a > > > remote disk mounted using "Map Network Drive..." from the Windows 95 > > > "Windows Explorer" returns rather odd numbers for the file sizes. The > > > DOS "dir" command, however, returns the right file sizes. > > > > I _think_ it is a known problem that network drives do strange things to > > GNU-Win32. I don't know of any fixes at the moment. Does the unc mapping > > give you the same errors? > > I just tried it, mapping to my Linux box with samba. It reports the correct > file sizes. Perhaps it is more with whatever type of system you are connecting > to. Tried what? The drive mapping or the unc pathname? What type of network was the erronous drive mounted with? - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mh@mike.franken.de Sun Oct 5 14:25:00 1997 From: mh@mike.franken.de (Michael Hirmke) Date: Sun, 05 Oct 1997 14:25:00 -0000 Subject: Problems with the list ? Message-ID: <6fHehiF4pfB@mike.franken.de> Hi, do we have a problem with the list ? I got nothing for the last two days, but today I got them all *twice* ! Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh@mike.franken.de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tage.westlund@stockholm.mail.telia.com Sun Oct 5 14:46:00 1997 From: tage.westlund@stockholm.mail.telia.com (Tage Westlund) Date: Sun, 05 Oct 1997 14:46:00 -0000 Subject: Two easy questions Message-ID: <34382371.1848@stockholm.mail.telia.com> Bardley09@aol.com wrote: > > 1. What is the best way to clear a character buffer (i.e. set it to > zero)? > 2. How does one get a list of all the functions in a particular > library? > To Bardley! 1. main(){ char X[]="abcd"; printf("X:%s\n",X); X[0]='\0'; printf("X:%s\n",X); } 2. bash$ cd /gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/lib bash$ nm -s libcap.a - - - - bash$ nm -s cygwin.dll | grep _Winmain__FPv _Winmain__FPv Tage - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kunglao@prairienet.org Sun Oct 5 16:35:00 1997 From: kunglao@prairienet.org (Bizzaro) Date: Sun, 05 Oct 1997 16:35:00 -0000 Subject: Another problem with ls ... References: Message-ID: <343823A5.864DDA50@prairienet.org> Alex wrote: > > On Sun, 5 Oct 1997, Bizzaro wrote: > > > > > I have a different problem with ls: a "ls -l" of a directory on a > > > > remote disk mounted using "Map Network Drive..." from the Windows 95 > > > > "Windows Explorer" returns rather odd numbers for the file sizes. The > > > > DOS "dir" command, however, returns the right file sizes. > > > > > > I _think_ it is a known problem that network drives do strange things to > > > GNU-Win32. I don't know of any fixes at the moment. Does the unc mapping > > > give you the same errors? > > > > I just tried it, mapping to my Linux box with samba. It reports the correct > > file sizes. Perhaps it is more with whatever type of system you are connecting > > to. > > Tried what? The drive mapping or the unc pathname? What type of network > was the erronous drive mounted with? > > - alex I did an ls with a mapped network drive, as well as just ls //unc/etc to my Linux box. They both reported the correct file sizes. So, my guess is less of a problem with ls, but perhaps something with what sort of target system the original poster had. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From win@win.huh.org Sun Oct 5 16:39:00 1997 From: win@win.huh.org (Winona Strater) Date: Sun, 05 Oct 1997 16:39:00 -0000 Subject: splitting this list ? References: <6edtBpDKpfB@mike.franken.de> Message-ID: <19971005183421.48083@win.huh.org> > Hi *, > > just a thought - would anybody support splitting up this list into lets > say "installing", "programming" and "porting" lists ? Maybe misc, programming and porting would be more applicable. It would be nice to have a choice "all" that put you on all of them though - only for the very brave. ;) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Sun Oct 5 16:51:00 1997 From: garbanzo@hooked.net (Alex) Date: Sun, 05 Oct 1997 16:51:00 -0000 Subject: Problems with the list ? References: <6fHehiF4pfB@mike.franken.de> Message-ID: On 5 Oct 1997, Michael Hirmke wrote: > Hi, > > do we have a problem with the list ? > I got nothing for the last two days, but today I got them all *twice* ! > > Bye. > Michael. Ayiee chenga! I'm getting messages with that gnu-win32 info signature attached to the bottom thrice. :/ - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Sun Oct 5 17:21:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Sun, 05 Oct 1997 17:21:00 -0000 Subject: Any man->html converter for NT? References: <199710042347.TAA00841@woodmore.gsfc.nasa.gov> <3.0.2.32.19971005102312.007f4440@mailhost.wyoming.com> Message-ID: In article < 3.0.2.32.19971005102312.007f4440@mailhost.wyoming.com >, Charles Curley wrote: >At 19:47 4/10/97 -0400, Arlindo da Silva wrote: >>Hi, >> >> Does anybody know of a good Unix man page -> html converter running on NT? >>Gnuwin32 compiled or not. > >A lot of Unix web utilities are written in perl. Perl is now available for >NT & W95. Try: > > > http://www.perl.hip.com/ Actually http://www.perl.org might be a better place to start. That is the official home of perl. -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From bzinger@iname.com Sun Oct 5 17:52:00 1997 From: bzinger@iname.com (Micheal A. Benzinger) Date: Sun, 05 Oct 1997 17:52:00 -0000 Subject: [IIS] E/S standards via la console References: <3435DC63.35D8@oceanes.fr> Message-ID: <3.0.3.32.19971005195444.0091a730@pop.flash.net> For those of you who don't speak French and might be able to offer a helping hand, here is a translation: Hi everybody, I am looking for a way to exchange information with IIS by means of the E/S standards via the console. The goal being to create some CGI scripts with a language that does not have access to the E/S standards. If possible, I would prefer that this works with Windows 95 and NT. Does someone use or has someone developed a utility of this type. Thanks in advance, flam PS: Sorry but I don't speak English. A flam, J'esp????re que cela vous aide avec vos recherches dans ce groupe. Mike At 10:04 AM 10/4/97 +0400, flam wrote: >Bonjour ???? tous, > > >Je cherche un moyen pour ????changer des infos avec IIS par le biais des >E/S standards via la console. >Le but ????tant de cr????er des scripts CGI avec un langage qui n'acc????de pas >aux E/S standards. > >Si possible, j'aimerais que cela fonctionne avec Windows95 et WindowsNT. > >Quelqu'un utilise-t-il ou a-t-il d????velopp???? un outil de ce genre ? > >Merci par avance. > >Salutations. > >flam > >PS : D????sol???? mais je ne parle pas anglais. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From newsham@aloha.net Sun Oct 5 19:09:00 1997 From: newsham@aloha.net (Tim Newsham) Date: Sun, 05 Oct 1997 19:09:00 -0000 Subject: bug in makefiles? Message-ID: <199710060209.QAA21566@haleakala.aloha.net> Hi, I noticed that after building the cdk, if I do a "make clean" in the obj/winsup directory and then do a make, I get a binary that is about 250-300k bigger, and that does not behave properly. In particular processes using the bigger dll do not seem to catch signals sent to them properly. I can give a more detailed example with a test cause showing the broken behavior if necessary. Tim N. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Sun Oct 5 19:33:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Sun, 05 Oct 1997 19:33:00 -0000 Subject: Problems with the list ? Message-ID: <19971006023224.25006.qmail@hotmail.com> >Date: 05 Oct 1997 22:53:00 +0200 >From: mh@mike.franken.de (Michael Hirmke) >To: gnu-win32@cygnus.com >Subject: Problems with the list ? > >Hi, > >do we have a problem with the list ? >I got nothing for the last two days, but today I got them all *twice* ! > I've been receiving them daily, but the double post happened Oct-04. It appeared to me as though the messages were routed from the broadcast to gnu-win32 which sent them back out again. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Sun Oct 5 19:55:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Sun, 05 Oct 1997 19:55:00 -0000 Subject: Problems with the list ? Message-ID: <19971006025457.6694.qmail@hotmail.com> >Date: Sun, 5 Oct 1997 16:51:46 -0700 (PDT) >From: Alex >To: Michael Hirmke >cc: gnu-win32@cygnus.com >Subject: Re: Problems with the list ? > > > >On 5 Oct 1997, Michael Hirmke wrote: > >> Hi, >> >> do we have a problem with the list ? >> I got nothing for the last two days, but today I got them all *twice* ! >> >> Bye. >> Michael. > >Ayiee chenga! I'm getting messages with that gnu-win32 info signature >attached to the bottom thrice. :/ > >- alex > I just checked the mail archives. The double, triple, however many it will be is being posted there too. My guess is that someone has an automatic forward turned on to gnu-win32. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From raucd@sk.sympatico.ca Sun Oct 5 20:55:00 1997 From: raucd@sk.sympatico.ca (Darren Rauckman) Date: Sun, 05 Oct 1997 20:55:00 -0000 Subject: anyone know how to make the console invisible Message-ID: <34386134.65E@sk.sympatico.ca> I am making a GUI and the console stays up. I looked in the faq but what it says to do does not work. Darren - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From bhrinst@batelco.com.bh Sun Oct 5 22:56:00 1997 From: bhrinst@batelco.com.bh (Bahrain Institute) Date: Sun, 05 Oct 1997 22:56:00 -0000 Subject: compare Message-ID: <34387D2B.3FF2@batelco.com.bh> Dear Sir,,, Can you Please send me some information about the different between the MS-Office95 with MS-Office97 "Advantage & Disadvantage"... I will use this information for Educational Project. And i Need it as soon as possible. Thank you very much for your help Sami Al-Khajah State of Bahrain Tel: 0973-779993 Fax: 0973-778421 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Sun Oct 5 23:49:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Sun, 05 Oct 1997 23:49:00 -0000 Subject: bug in makefiles? Message-ID: <01BCD245.468E0460@gater.krystalbank.msk.ru> Tim Newsham wrote: > I noticed that after building the cdk, if I do a > "make clean" in the obj/winsup directory and then do > a make, I get a binary that is about 250-300k bigger, run "make CFLAGS=-O2 CXXFLAGS=-O2". > and that does not behave properly. In particular processes > using the bigger dll do not seem to catch signals sent > to them properly. I can give a more detailed example > with a test cause showing the broken behavior if necessary. Looks like a gcc bug. Cygwin.dll compiled without -O2 option sometimes crashes on bash's exit. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kh@wg.icl.co.uk Mon Oct 6 00:03:00 1997 From: kh@wg.icl.co.uk (Kevin Hughes) Date: Mon, 06 Oct 1997 00:03:00 -0000 Subject: RCS - diff fails Message-ID: <9710060702.AA00376@ss38.wg.icl.co.uk> I recently obtained the rcs system for windowsNT. My initial tests appeared to work fin but when I tried to use it in anger it failed. The problem is that when I have changed a checked out file and am trying to check it back I get a message saysing that diff.exe failed to write. I dont know where is supposed to be writing to but I guess its some temp filestore. I have checked the $TMP vairable and it points to /tmp which exists and I can write to it no problem. Any suggestion much appreaciated Kevin - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tage.westlund@stockholm.mail.telia.com Mon Oct 6 01:19:00 1997 From: tage.westlund@stockholm.mail.telia.com (Tage Westlund) Date: Mon, 06 Oct 1997 01:19:00 -0000 Subject: A TINY BUG Message-ID: <3438330F.61CF@stockholm.mail.telia.com> To gnu designers! I have found that the following bad code gives "exception" at run time instead of error message at compilation time (b18 Win95): #include main(){ printf("%s\n",sizeof(long)); } Tage - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Bernd.Schilpp@brokat.de Mon Oct 6 01:58:00 1997 From: Bernd.Schilpp@brokat.de (Bernd Schilpp) Date: Mon, 06 Oct 1997 01:58:00 -0000 Subject: Thread-Handling with Cygwin32 Message-ID: <3438A7E8.921FB9BB@brokat.de> Has anyone experience of using threads with cygwin32 ? Or does anyone know, where to find threadsave libaries for that purpose ? What is planned at cygwin ? - when will cygwin32 support threads and offer threadsave libaries ? Please answer me soon ! Many thanks, Bernd - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From p.dalgaard@kubism.ku.dk Mon Oct 6 02:19:00 1997 From: p.dalgaard@kubism.ku.dk (Peter Dalgaard BSA) Date: Mon, 06 Oct 1997 02:19:00 -0000 Subject: Problems with the list ? References: <19971006025457.6694.qmail@hotmail.com> Message-ID: "Earnie Boyd" writes: > >> Michael. > > > >Ayiee chenga! I'm getting messages with that gnu-win32 info signature > >attached to the bottom thrice. :/ > > > >- alex > > > > I just checked the mail archives. The double, triple, however many it > will be is being posted there too. My guess is that someone has an > automatic forward turned on to gnu-win32. > Yup. The culprit seems to be mupi@kelly.webguy-prod.com; (s)he needs to be taken off the list (or the list needs to learn how to discard regurgitated messages). -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From dasilva@woodmore.gsfc.nasa.gov Mon Oct 6 06:58:00 1997 From: dasilva@woodmore.gsfc.nasa.gov (Arlindo da Silva) Date: Mon, 06 Oct 1997 06:58:00 -0000 Subject: Nedit for GNU WIn32? References: <3438EBF8.6113@fnal.gov> Message-ID: <199710061400.KAA00726@woodmore.gsfc.nasa.gov> > > > Do you know of any port of Nedit for NT using the GNU Win32 compiler? > > (There are client X libs for gnuwin32 and lesstiff builds out of the > > tarfile.) > > No I don't, but it sounds interesting. I did know about the kit from > Hummingbird for building X apps under NT and Windows. It looked like > what you'd get would be klunky, though, since applications built that > way still require a separate X server to be running. > True, you will need an X server, but there are free ones available and it is not all that bad. However, you don't need to shell out $800 for the Hummingbird XDK when you can get client X libs for free from ftp://niteroi.gsfc.nasa.gov/pub/win32/X11R6.3 Arlindo. -- *-----------------------------------------------------------------* | | | ^|^ ARLINDO DA SILVA | | | 212 Lexington Drive | | _|_ Silver Spring, MD 20901 | | @ ___|___|__ | | _|_|__________|_______/ mailto:dasilva@alum.mit.edu | | \ o o o o o o o / | | \_______________/ Home: (301) 754-1121 | | ^^^^^^^^^^^^^^^^^^^^^^^^ FAX: (301) 805-7960 | | | *-----------------------------------------------------------------* - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From nelson96@pilot.msu.edu Mon Oct 6 07:23:00 1997 From: nelson96@pilot.msu.edu (Alex Nelson) Date: Mon, 06 Oct 1997 07:23:00 -0000 Subject: Help again please. References: <3435D388.22C0@sk.sympatico.ca> Message-ID: <199710061422.KAA105134@pilot03.cl.msu.edu> Darren: While I don't remember off-hand the answer to your question, I believe that it has been discussed numerous times in this mailing list. If you go to Cygnus' web site and search the mailing list archives I am sure that you will find your aswer there. As for your commentary on the quality or lack thereof, I have this to say. This is free software in Beta test. If you wish to complain about the quality of the FAQ's and documentation, perhaps you should consider purchasing a support package from Cygnus. I am sure that they would be very happy to provide you with the latest documentation and any help you desire. Should you decide not to purchase a support package from Cygnus, I would recommend that you remain mindful of the fact that Cygnus has provided all of us witha powerful set of tools that they have developed at their own time and expense. With that perspective in mind, I would like to congratulate all those at Cygnus who have devoted their time and energies to this project. And a special thank you to Sergey and all the other users of this software who have worked so hard to make what we have better. Kudos to you all!!! Sincerely -Alex Nelson -Systems & Software Engineer -Omnilink Communications Corp. > Date: Fri, 03 Oct 1997 23:26:33 -0600 > From: Darren Rauckman > Reply-to: raucd@sk.sympatico.ca > To: gnu-win32@cygnus.com > Subject: Help again please. > Someone has misstyped the FAQ, it should be FD, Frequent Diagnostics > becasue in it it says in a section 'I use a function I know is in th > API, but I still get a link error' and the answer is 'The function > probably isn't declared in the header files, or the UNICODE stuff > for it isn't filled in. What is that supposed to mean, I dont care > what the problem is, I want to fix it, you think that someone cant > figure out there is something wrong with a file. Isnt there a FAQ > with answers and solutions not babble that leads to their homepage > that leads to some other NT programs. I finally got the program to > run and compile a cheezy program and now there is some kind of error > that is half a page long but ends in > > undefined reference to Winmain@16 > > gcc.exe: Internal compiler error: Program ld got fatal signal 1 > > So if someone has an answer besides, "Um, let me think, there is > something wrong in a file", then please send it too me. > > I am sorry for being a little over the edge in this letter but why > would someone write that, that is sooo stupid, its like a FAQ that > says 'Why wont my car run' and the reply 'there is a part in your > car that is not functioning' It is frustrating enough without these > dumb things. > > Darren > - > For help on using this list (especially unsubscribing), send a > message to "gnu-win32-request@cygnus.com" with one line of text: > "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From richs@ideadev.com Mon Oct 6 07:30:00 1997 From: richs@ideadev.com (Richard Schulte) Date: Mon, 06 Oct 1997 07:30:00 -0000 Subject: RCS - diff fails References: <9710060702.AA00376@ss38.wg.icl.co.uk> Message-ID: <199710061430.HAA16676@cygnus.com> I have RCS working, but I had to use the rcs & diff from the VirtUnix site http://www.itribe.net/virtunix/contributors.html which I placed in my /usr/local/bin/rcs directory, along with the RCS binaries. Then I added the following lines in the .environment file: typeset -x RCSPATH="/usr/local/bin/rcs" # # functions necessary to use non-cygnus rcs # for i in ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog do eval "function $i() { declare -x PATH=$RCSPATH declare -x TMP="D:\\\\TMP" $RCSPATH/$i \$* }" done Richard Schulte Idea Development Incorporated http://ideadev.com/Richard - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tgraham@mulberrytech.com Mon Oct 6 08:35:00 1997 From: tgraham@mulberrytech.com (Tony Graham) Date: Mon, 06 Oct 1997 08:35:00 -0000 Subject: Another problem with ls ... References: <199710031559.LAA22316@camel14.mindspring.com> Message-ID: <199710061535.LAA10891@camel14.mindspring.com> At 4 Oct 1997 16:57 -0700, Alex wrote: > On Fri, 3 Oct 1997, Tony Graham wrote: > > I have a different problem with ls: a "ls -l" of a directory on a > > remote disk mounted using "Map Network Drive..." from the Windows 95 > > "Windows Explorer" returns rather odd numbers for the file sizes. The > > DOS "dir" command, however, returns the right file sizes. > > I _think_ it is a known problem that network drives do strange things to > GNU-Win32. I don't know of any fixes at the moment. Does the unc mapping > give you the same errors? The unc mapping, e.g. //d/projects/taglib, does give the same errors. The problem only occurs when both machines are running Windows 95. There is no problem with a Windows 95 machine mounting a FAT disk from a Windows NT 3.51 machine, or for the Windows NT machine mounting a Windows 95 disk. I'd been happily using gnu-win32 for a year before I had the misfortune to need to mount a Windows 95 disk from another Windows 95 machine... Regards, Tony Graham ======================================================================= Tony Graham Mulberry Technologies, Inc. Phone: 301-315-9632 17 West Jefferson Street, Suite 207 Fax: 301-315-8285 Rockville, MD USA 20850 email: tgraham@mulberrytech.com ======================================================================= p.s. Is there the option of getting a digest of this mailing list? - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jont@harlequin.co.uk Mon Oct 6 09:16:00 1997 From: jont@harlequin.co.uk (Jon Thackray) Date: Mon, 06 Oct 1997 09:16:00 -0000 Subject: Bad linker behaviour Message-ID: <199710061558.QAA08198@zaphod.long.harlequin.co.uk> I have to assume the following behaviour is deliberate on the part of the linker. Can it be turned off? What's the purpose of it? It's bad news as far as I'm concerned, as it inhibits me from providing symbols like free from other dlls (I get a message about can't find _imp(double, long float, ...)() which is where I started). Globally exchanging aa for bb in the program below allows a correct no errors link. .text .global __imp__bb _bb: jmp *__imp__bb __imp_bb: ret bash$ as -o poo.o poo.s bash$ ld -o poo.dll --dll poo.o -e _bb poo.o(.text+0x2):fake: undefined reference to `_imp(bool, bool)' - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From david.c.hoos.sr@ada95.com Mon Oct 6 09:16:00 1997 From: david.c.hoos.sr@ada95.com (David C. Hoos, Sr.) Date: Mon, 06 Oct 1997 09:16:00 -0000 Subject: A TINY BUG Message-ID: <01bcd272$8056fb20$928871a5@dhoos> This is the kind of thing which compilers do not catch, because the problem is specific to the printf function which is a library unit, and not part of the language. In other words, as long as the first argument to printf is of type char *, then the function profile is matched. If the string to which that first parameter points is not a valid printf format string matching the other pritf parameters, the compiler doesn't know it. Furthermore, the string to which the first parameter of printf points can be (and often is) modified at run time, to fit the format to the occasion. If you want to catch this sort of problem at build time, you need to use "lint", and it is only able to catch certain things because of the possibility of run-time modification. Better yet, write your program in ada95, using the free gnat-3.10p1 compiler from ftp://ftp.cs.nyu.edu/pub/gnat/winnt David C. Hoos, Sr., david.c.hoos.sr@ada95.com -----Original Message----- From: Tage Westlund To: gnu-win32@cygnus.com Date: Monday, October 06, 1997 4:38 AM Subject: A TINY BUG >To gnu designers! >I have found that the following bad code gives "exception" at run >time instead of error message at compilation time (b18 Win95): > >#include >main(){ > printf("%s\n",sizeof(long)); >} >Tage > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jont@harlequin.co.uk Mon Oct 6 09:35:00 1997 From: jont@harlequin.co.uk (Jon Thackray) Date: Mon, 06 Oct 1997 09:35:00 -0000 Subject: Bad linker behaviour References: <199710061558.QAA08198@zaphod.long.harlequin.co.uk> Message-ID: <199710061630.RAA08397@zaphod.long.harlequin.co.uk> Jon Thackray writes: > I have to assume the following behaviour is deliberate on the part of > the linker. Can it be turned off? What's the purpose of it? It's bad > news as far as I'm concerned, as it inhibits me from providing symbols > like free from other dlls (I get a message about can't find > _imp(double, long float, ...)() which is where I started). Globally > exchanging aa for bb in the program below allows a correct no errors > link. > > .text > .global __imp__bb > _bb: jmp *__imp__bb > __imp_bb: ret > > bash$ as -o poo.o poo.s > bash$ ld -o poo.dll --dll poo.o -e _bb > poo.o(.text+0x2):fake: undefined reference to `_imp(bool, bool)' Ah well, it turns out that this is caused by C++ attempted name mangling, and only happens in the case where the symbols can't be matched (which is the case in my example above, although it wasn't meant to be). So, the end result is that for symbols which get name mangled like this, the error messages from ld are rubbish. Is there any way of getting ld to give the real error message, instead of the message after the name mangling? - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jazz@softway.com Mon Oct 6 09:53:00 1997 From: jazz@softway.com (Jason Zions) Date: Mon, 06 Oct 1997 09:53:00 -0000 Subject: A TINY BUG References: <3438330F.61CF@stockholm.mail.telia.com> Message-ID: <34391696.27758E19@softway.com> > I have found that the following bad code gives "exception" at run > time instead of error message at compilation time (b18 Win95): > > #include > main(){ > printf("%s\n",sizeof(long)); > } No compiler will detect this error at compile-time. The prototype for printf is (char *, ...); that is, no specific type information for anything except the first parameter. A compiler would have to read the first parameter to figure out the expected types for the remaining args, and much of the time that first parameter is dynamically computed at runtime instead of being a static string. There are a couple of lint-like programs that will catch this error with a compile-time-evaluatable format string, but that's the best you can do. Summary: learn more about the language before whining about compiler errors. This is a programmer bug, not a compiler bug. Jason Zions Softway Systems Inc., makers of OpenNT http://www.opennt.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From pete@horus.cix.co.uk Mon Oct 6 10:12:00 1997 From: pete@horus.cix.co.uk (Pete Jordan) Date: Mon, 06 Oct 1997 10:12:00 -0000 Subject: debash bug References: <19970930201028.9738.qmail@hotmail.com> Message-ID: earnie_boyd@hotmail.com (Earnie Boyd) wrote: > I've found that if you have a single character win32 directory entry > that debash can't form the path correctly. > > eg: > mkdir c:\\t > > mount c:\\t /t > > When the path comes back you get a strange charcter after the c:\t in > the path name. Now fixed (debash 1.1) Pete Jordan ~ Horus Communications ~ http://www.horus.cix.co.uk/ "'Not twisted,' Salzy once said of her own passion, 'it is helical. That sounds better.'" - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From pete@horus.cix.co.uk Mon Oct 6 10:12:00 1997 From: pete@horus.cix.co.uk (Pete Jordan) Date: Mon, 06 Oct 1997 10:12:00 -0000 Subject: debash 1.1 Message-ID: debash 1.1 is now available at http://www.horus.cix.co.uk/downloads.html This version uses the cygwin32_conv_to_full_win32_path() routine (rather than mangling things from the mount table) now I know about it. It also fixes the problem with single-character directory names that Earnie Boyd reported. Pete Jordan ~ Horus Communications ~ http://www.horus.cix.co.uk/ "'Not twisted,' Salzy once said of her own passion, 'it is helical. That sounds better.'" - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Mon Oct 6 10:30:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Mon, 06 Oct 1997 10:30:00 -0000 Subject: bug in makefiles? References: <01BCD245.468E0460@gater.krystalbank.msk.ru> Message-ID: In article < 01BCD245.468E0460@gater.krystalbank.msk.ru >, Sergey Okhapkin wrote: >Tim Newsham wrote: >> I noticed that after building the cdk, if I do a >> "make clean" in the obj/winsup directory and then do >> a make, I get a binary that is about 250-300k bigger, > >run "make CFLAGS=-O2 CXXFLAGS=-O2". > >> and that does not behave properly. In particular processes >> using the bigger dll do not seem to catch signals sent >> to them properly. I can give a more detailed example >> with a test cause showing the broken behavior if necessary. > >Looks like a gcc bug. Cygwin.dll compiled without -O2 option sometimes >crashes on bash's exit. Yup. I've noticed this too. Also using -O3 instead of -O2 or specifying -fomit-frame-pointer (which should provide better optimization on Intel chips) can cause problems. -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ian@cygnus.com Mon Oct 6 10:30:00 1997 From: ian@cygnus.com (ian@cygnus.com) Date: Mon, 06 Oct 1997 10:30:00 -0000 Subject: Bad linker behaviour References: <199710061558.QAA08198@zaphod.long.harlequin.co.uk> <199710061630.RAA08397@zaphod.long.harlequin.co.uk> Message-ID: <199710061729.NAA29946@tweedledumb.cygnus.com> >Ah well, it turns out that this is caused by C++ attempted name >mangling, and only happens in the case where the symbols can't be >matched (which is the case in my example above, although it wasn't >meant to be). So, the end result is that for symbols which get name >mangled like this, the error messages from ld are rubbish. Is there >any way of getting ld to give the real error message, instead of the >message after the name mangling? No, I'm afraid ld always demangles symbol names in error messages. The place to fix this is the function demangle in ld/ldmisc.c. Ian - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From manel@NO-SPAM-MAILfib.upc.es Mon Oct 6 11:15:00 1997 From: manel@NO-SPAM-MAILfib.upc.es (Manel Rodero) Date: Mon, 06 Oct 1997 11:15:00 -0000 Subject: SSH? Message-ID: <34393A7E.B296F7F4@NO-SPAM-MAILfib.upc.es> Hello, there is a port of SSH to Windows using DJGGP/CYGWIN ? If yes, where can I found this port? Thanks Manel Rodero -- ____________________________________________________________________ o o o MANEL Rodero Blanquez Telf: +34 3 401 6940 o o o Systems Programmer (PCs Area) Fax : +34 3 401 7040 o o o Laboratori de Calcul FIB U P C Universitat Politecnica de Catalunya (Campus Nord) Email : Erase NO-SPAM-MAIL in From: | Jordi Girona, 1-3 (Modul B6) WWW : < http://alabi.upc.es/~manel > | 08034 Barcelona (Spain) ____________________________________________________________________ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From proven@io.proven.org Mon Oct 6 12:01:00 1997 From: proven@io.proven.org (Chris Provenzano) Date: Mon, 06 Oct 1997 12:01:00 -0000 Subject: Thread-Handling with Cygwin32 References: <3438A7E8.921FB9BB@brokat.de> Message-ID: <199710061847.LAA01888@io.proven.org> >Has anyone experience of using threads with cygwin32 ? >Or does anyone know, where to find threadsave libaries for that purpose? >What is planned at cygwin ? - when will cygwin32 support threads and >offer threadsave libaries ? >Please answer me soon ! > I have a proof of concept (pre alpha) using a mishmash of cygwin32 and my pthreads. It is only user space threads currently, but will be fairly trivial to add full kernel thread/user thread support. The majority of the remaining work requires throwing out some large sections of cygwin32 and rewriting them to better support my implementation of pthreads. Eg. sleep() should only block a thread and not the entire process. It'll probably be several months before any release will be available. CAP - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From steve_dum@mentorg.com Mon Oct 6 12:27:00 1997 From: steve_dum@mentorg.com (Steve Dum) Date: Mon, 06 Oct 1997 12:27:00 -0000 Subject: A TINY BUG References: <34391696.27758E19@softway.com> Message-ID: <199710061927.MAA18083@sdum.wv.mentorg.com> In message < 34391696.27758E19@softway.com >you write: >> I have found that the following bad code gives "exception" at run >> time instead of error message at compilation time (b18 Win95): >> >> #include >> main(){ >> printf("%s\n",sizeof(long)); >> } > >No compiler will detect this error at compile-time. The prototype for >printf is (char *, ...); that is, no specific type information for Well, actually, if you compile this with a -Wall gcc will diagnose it, and emit the warning f.c:3: warning: format argument is not a pointer (arg 2) steve -------------- Stephen Dum steve_dum@mentorg.com (503)-685-7743 Mentor Graphics Corp. 8005 S.W. Boeckman Rd. Wilsonville, Or 97070-7777 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From moskewcz@Princeton.EDU Mon Oct 6 12:40:00 1997 From: moskewcz@Princeton.EDU (Matthew Moskewicz) Date: Mon, 06 Oct 1997 12:40:00 -0000 Subject: A TINY BUG References: <3438330F.61CF@stockholm.mail.telia.com> <34391696.27758E19@softway.com> Message-ID: <34393E69.7CC5@Princeton.edu> Jason Zions wrote: > > > I have found that the following bad code gives "exception" at run > > time instead of error message at compilation time (b18 Win95): > > > > #include > > main(){ > > printf("%s\n",sizeof(long)); > > } > > No compiler will detect this error at compile-time. The prototype for [munch] > Summary: learn more about the language before whining about compiler > errors. This is a programmer bug, not a compiler bug. > > Jason Zions > Softway Systems Inc., makers of OpenNT > http://www.opennt.com Jason, you are right in principal, and I hate to muddle the issue, but ... :) gcc will indeed generate a warning for this. Perhaps the moral is that one should always turn on all compiler warnings. [example] sunlab1:~/cs217/scratch> cat test.c #include int main ( void ) { printf("%s\n",sizeof(long)); return 0; } sunlab1:~/cs217/scratch> gcc -Wall test.c test.c: In function `main': test.c:5: warning: format argument is not a pointer (arg 2) -- Matthew Moskewicz | mailto:moskewcz@Princeton.edu 24A Holder Hall - PU | http://www.Princeton.edu/~moskewcz Princeton, NJ 08544 | - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From annakam@lmc.com Mon Oct 6 13:03:00 1997 From: annakam@lmc.com (annakam@lmc.com) Date: Mon, 06 Oct 1997 13:03:00 -0000 Subject: "problem in exporting variables to sub-make in b18" Message-ID: <199710062002.NAA27736@suncpu2.pdxuxbre.lmc.com> I am not able to export variables to the sub-make using the export directive. Here is the test case Makefile -------- export TEST = yes all: $(MAKE) -f new.mak new.mak ---------- result: echo $(TEST) ----------------------------------------------- Here i have Makefile and new.mak as two mak files. I tried this on UNIX with b18 and it did work but did not work on the NT with same version of gmake. Could you please investigate the problem or give me pointers to where i look to fix this error. Thanks, Anna. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From William.Jarrett@usm.edu Mon Oct 6 13:07:00 1997 From: William.Jarrett@usm.edu (Dr. W. L. Jarrett) Date: Mon, 06 Oct 1997 13:07:00 -0000 Subject: thanks/another problem Message-ID: <2.2.16.19971006150905.2dc76d3a@ocean-mail.st.usm.edu> Dear Comrades: Thanks for your response, I was able to get my code to go through the make process and create a library file libgamma.a. However, whenever I try to compile a program using that specific file I am gettig the following error messages: /u/gamma-3.5.2/PCNT/lib/libgamma.a(complex.o): In function `complex_setf(int, int, int, int, int)': /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:419: undefined reference to `Salloc(StrRep *, char const *, int, int)' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:415: undefined reference to `_nilStrRep' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:501: undefined reference to `_nilStrRep' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:501: undefined reference to `Scat(StrRep *, char const *, int, char const *, int)' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:506: undefined reference to `Scat(StrRep *, char const *, int, char const *, int)' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:440: undefined reference to `Scopy(StrRep *, StrRep const *)' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:427: undefined reference to `_nilStrRep' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:427: undefined reference to `_nilStrRep' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:427: undefined reference to `_nilStrRep' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:419: undefined reference to `Salloc(StrRep *, char const *, int, int)' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:415: undefined reference to `_nilStrRep' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:501: undefined reference to `_nilStrRep' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:501: undefined reference to `Scat(StrRep *, char const *, int, char const *, int)' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:419: undefined reference to `Salloc(StrRep *, char const *, int, int)' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:491: undefined reference to `Scat(StrRep *, char const *, int, char const *, int)' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:501: undefined reference to `Scat(StrRep *, char const *, int, char const *, int)' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:506: undefined reference to `Scat(StrRep *, char const *, int, char const *, int)' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:440: undefined reference to `Scopy(StrRep *, StrRep const *)' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:427: undefined reference to `_nilStrRep' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:427: undefined reference to `_nilStrRep' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:427: undefined reference to `_nilStrRep' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:427: undefined reference to `_nilStrRep' /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:427: undefined reference to `_nilStrRep' /u/gamma-3.5.2/PCNT/lib/libgamma.a(complex.o):/u/gamma-3.5.2/I:\\Programs\\g nuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i386-cygwin32\\cygnus-2.7.2-970 404\\../../../../../include/g++/_string.h:427: more undefined references to `_nilStrRep' follow /u/gamma-3.5.2/PCNT/lib/libgamma.a(complex.o): In function `complex_getf(String &)': /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:440: undefined reference to `Scopy(StrRep *, StrRep const *)' /u/gamma-3.5.2/PCNT/lib/libgamma.a(complex.o): In function `_ls(ostream &, complex const &)': /u/gamma-3.5.2/share/src/complex.cc:220: undefined reference to `String::operator char const *(void) const' /u/gamma-3.5.2/share/src/complex.cc:224: undefined reference to `String::operator char const *(void) const' /u/gamma-3.5.2/share/src/complex.cc:231: undefined reference to `String::operator char const *(void) const' /u/gamma-3.5.2/share/src/complex.cc:233: undefined reference to `String::operator char const *(void) const' /u/gamma-3.5.2/share/src/complex.cc:246: undefined reference to `String::operator char const *(void) const' /u/gamma-3.5.2/PCNT/lib/libgamma.a(complex.o):/u/gamma-3.5.2/share/src/compl ex.cc:252: more undefined references to `String::operator char const *(void) const' follow /u/gamma-3.5.2/PCNT/lib/libgamma.a(complex.o): In function `complex::GLOBAL_$D$(void)': /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:427: undefined reference to `_nilStrRep' /u/gamma-3.5.2/PCNT/lib/libgamma.a(complex.o): In function `complex::GLOBAL_$I$(void)': /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:419: undefined reference to `Salloc(StrRep *, char const *, int, int)' g++: Internal compiler error: program ld got fatal signal 1 The module complex.cc compiled without any problems during the make. It seems to me that the header file _string.h is not being accessed properly. Does anyone have a suggest on how I may approach this probelm? I am using a Gateway 120MHz running NT server 4.0. Thank you for your time and assistance, Dr. W. L. Jarrett University of Southern Mississippi Department of Polymer Science 2609 W. Fourth St. Hattiesburg, MS 34906-5103 Phone: (601)266-4551 Fax: (601)266-5504 email: William.Jarrett@usm.edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Mon Oct 6 13:07:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Mon, 06 Oct 1997 13:07:00 -0000 Subject: Thread-Handling with Cygwin32 References: <3438A7E8.921FB9BB@brokat.de> Message-ID: In article < 3438A7E8.921FB9BB@brokat.de >, Bernd Schilpp wrote: >Has anyone experience of using threads with cygwin32 ? >Or does anyone know, where to find threadsave libaries for that purpose >? >What is planned at cygwin ? - when will cygwin32 support threads and >offer threadsave libaries ? >Please answer me soon ! I can't comment on Cygnus' plans but I am fairly certain that the current version of cygwin.dll is not thread safe. Much of the cygwin code assumes that it is being accessed serially. If you avoid the use of cygwin.dll functions in simultaneously executing threads, however, it should work fine. -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From leisner@sdsp.mc.xerox.com Mon Oct 6 14:27:00 1997 From: leisner@sdsp.mc.xerox.com (Marty Leisner) Date: Mon, 06 Oct 1997 14:27:00 -0000 Subject: A TINY BUG References: <34391696.27758E19@softway.com> Message-ID: <9710062126.AA21944@gnu.sdsp.mc.xerox.com> I agree, but -Wformat should even catch this (without stdio.h) Or use -Wall... > > I have found that the following bad code gives "exception" at run > > time instead of error message at compilation time (b18 Win95): > > > > #include > > main(){ > > printf("%s\n",sizeof(long)); > > } > > No compiler will detect this error at compile-time. The prototype for > printf is (char *, ...); that is, no specific type information for > anything except the first parameter. A compiler would have to read the > first parameter to figure out the expected types for the remaining args, > and much of the time that first parameter is dynamically computed at > runtime instead of being a static string. There are a couple of > lint-like programs that will catch this error with a > compile-time-evaluatable format string, but that's the best you can do. > > Summary: learn more about the language before whining about compiler > errors. This is a programmer bug, not a compiler bug. > > Jason Zions > Softway Systems Inc., makers of OpenNT > http://www.opennt.com > > -- marty leisner@sdsp.mc.xerox.com The Feynman problem solving Algorithm 1) Write down the problem 2) Think real hard 3) Write down the answer Murray Gel-mann in the NY Times - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From newsham@aloha.net Mon Oct 6 14:47:00 1997 From: newsham@aloha.net (Tim Newsham) Date: Mon, 06 Oct 1997 14:47:00 -0000 Subject: corruption in socket layer? Message-ID: <199710062146.LAA18698@haleakala.aloha.net> Hi, I occasionally observe some very strange behaviour in the socket code. It seems to me that there is corruption going on somewhere. I'm not sure if its cygwin's problem or winsock's problem. What I'm seeing is the tcp/ip stack behave improperly at times. For example sometimes a close() happens and not FIN is sent out. Instead the connection is silently placed into the closed state. On the next incoming packet from the remote, the local TCP stack sends out an RST. It also appears that I sometimes get an EOF indication (read returns zero) when the remote side has not closed the connection, and I have not explicitely asked for the connection to be closed. What is strange about both of these is that I cannot reproduce it in simple test cases, and the problems happen intermittently. I have some (large) programs that exhibit this behavior reliably, but it seems to depend on a number of factors: The program iterates over many connections and fails constantly in one iteration with one version of cygwin.dll, and constantly in a later iteration with a different version of the .dll. It also seems to fail much later when debugging (STRACE=1,out) is turned on. This seems to indicate some sort of race condition, or possibly a corruption bug that is trashing some internal state. I see this behaviour in all the cygwin.dll's I have tried it on, and am guessing that this problem has existed in all versions of the dll (possibly a winsock bug). Has anyone observed this behavior and looked into it? Is it possible for my program to be trashing the cygwin internal state, or would corruption of winsock state have to be in the winsock dll itself? Tim N. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurley@wyoming.com Mon Oct 6 15:47:00 1997 From: ccurley@wyoming.com (Charles Curley) Date: Mon, 06 Oct 1997 15:47:00 -0000 Subject: A TINY BUG References: <3438330F.61CF@stockholm.mail.telia.com> Message-ID: <3.0.2.32.19971006164723.007f5a50@mailhost.wyoming.com> At 12:38 AM 10/6/97 +0000, Tage Westlund wrote: >To gnu designers! >I have found that the following bad code gives "exception" at run >time instead of error message at compilation time (b18 Win95): > >#include >main(){ > printf("%s\n",sizeof(long)); >} >Tage That does not surprise me in the least. A lot of compilers do no type checking for printf. Here's the results on Microsoft C++ 4.0: cd ~/ cl test.c Microsoft (R) 32-bit C/C++ Standard Compiler Version 10.00.6002 for 80x86 Copyright (C) Microsoft Corp 1984-1996. All rights reserved. test.c Microsoft (R) 32-Bit Incremental Linker Version 3.00.5270 Copyright (C) Microsoft Corp 1992-1995. All rights reserved. /out:test.exe test.obj Compilation finished at Mon Oct 06 16:32:37 Here's what I got for Microsoft C++ 5.0: --------------------Configuration: test - Win32 Debug-------------------- Compiling... test.c C:\Crc\test.c(4) : warning C4035: 'main' : no return value test.obj - 0 error(s), 1 warning(s) Nice of them to warn us about the lack of return value :-) What happened is this: printf (and its relatives) is a library function which takes an indeterminate number of arguments, of indeterminate data type. The compiler and linker cannot scan the inputs for correct typing. Why, you ask, can't the compiler "know" what printf *should* take, and scan and test accordingly? The answer is that some programs provide their own printfs, and some developers don't use the library printf, and there is no way the compiler writers can anticiapte the syntaxes of those versions. Now, even though it is not a gcc - specific question, would the Keeper of the FAQ please add this or something like it? -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurley@wyoming.com Mon Oct 6 15:47:00 1997 From: ccurley@wyoming.com (Charles Curley) Date: Mon, 06 Oct 1997 15:47:00 -0000 Subject: [IIS] E/S standards via la console References: <3435DC63.35D8@oceanes.fr> <3.0.3.32.19971005195444.0091a730@pop.flash.net> Message-ID: <3.0.2.32.19971006162748.007f5100@mailhost.wyoming.com> At 07:54 PM 10/5/97 -0500, Micheal A. Benzinger wrote: >For those of you who don't speak French and might be able to offer >a helping hand, here is a translation: Merci (which just about exhausts my French :-) Michael, are you willing to translate for Flam? If not, perhaps he can get someone else? > >Hi everybody, > >I am looking for a way to exchange information with IIS by means >of the E/S standards via the console. The goal being to create >some CGI scripts with a language that does not have access to the >E/S standards. The only "IIS" I know about is Microsoft's Internet Information Server, which comes as a freebie with NT 4.0. Is that the one to which you are referring? Unfortunately, I have no idea what the E/S standards are to which you refer. Anyone else? I have used IIS Version 2, and recommend you stay away from it. Version 3 should be better. I do not believe either one runs on W95, but I have not tried it. The Apache group has released a beta NT Apache. If you are on this list because you are accustomed to both NT and Unix, you might find an NT version of Apache easier to work on. I do not know if Apache works on W95. > >If possible, I would prefer that this works with Windows 95 and NT. > >Does someone use or has someone developed a utility of this type. > >Thanks in advance, > >flam > >PS: Sorry but I don't speak English. > > >A flam, > >J'esp????re que cela vous aide avec vos recherches dans ce groupe. > >Mike -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tynor@atlanta.twr.com Mon Oct 6 17:13:00 1997 From: tynor@atlanta.twr.com (Steve Tynor) Date: Mon, 06 Oct 1997 17:13:00 -0000 Subject: A TINY BUG References: <3438330F.61CF@stockholm.mail.telia.com> <34391696.27758E19@softway.com> Message-ID: <9710062304.AA08705@atlanta.twr.com> Jason Zions wrote: | > #include | > main(){ | > printf("%s\n",sizeof(long)); .... | No compiler will detect this error at compile-time. The prototype for .... | printf is (char *, ...); that is, no specific type information for | anything except the first parameter. A compiler would have to read the | first parameter to figure out the expected types for the remaining args, .... | Summary: learn more about the language before whining about compiler | errors. This is a programmer bug, not a compiler bug. Before you flame, I suggest you read the gcc info page -- the great and all powerful gcc _will_ detect this error -- at least is does on my version of 2.7.2.1 on sparc-solaris. Try using gcc -Wall (or -Wformat for just printf warnings). =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= In theory, there is no difference between theory and practice. But, in practice, there is. Steve Tynor Email: Steve.Tynor@atlanta.twr.com Tower Technology WWW: http://www.twr.com/ Retooling the Software Industry for the 21st Century (sm) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From dbe@wgn.net Mon Oct 6 17:13:00 1997 From: dbe@wgn.net ($Bill Luebkert) Date: Mon, 06 Oct 1997 17:13:00 -0000 Subject: A TINY BUG References: <01bcd272$8056fb20$928871a5@dhoos> Message-ID: <34397CB7.2EA9D835@wgn.net> David C. Hoos, Sr. wrote: > > This is the kind of thing which compilers do not catch, because the problem > is specific to > the printf function which is a library unit, and not part of the language. > In other words, as long as the first argument to printf is of type char *, > then the function profile is matched. If the string to which that first > parameter points is not a valid printf format string matching the other > pritf parameters, the compiler doesn't know it. Furthermore, the string to > which the first parameter of printf points can be (and often is) modified at > run time, to fit the format to the occasion. > > If you want to catch this sort of problem at build time, you need to use > "lint", and it is only > able to catch certain things because of the possibility of run-time > modification. Wrong, just add -Wall to your command line to pick up warnings and you should get something like: warning: format argument is not a pointer (arg 2) > Better yet, write your program in ada95, using the free gnat-3.10p1 compiler > from > ftp://ftp.cs.nyu.edu/pub/gnat/winnt Ada propaganda! :) > -----Original Message----- > From: Tage Westlund > To: gnu-win32@cygnus.com > Date: Monday, October 06, 1997 4:38 AM > Subject: A TINY BUG > > >To gnu designers! > >I have found that the following bad code gives "exception" at run > >time instead of error message at compilation time (b18 Win95): > > > >#include > >main(){ > > printf("%s\n",sizeof(long)); > >} -- ,-/- __ _ _ $Bill Luebkert (_/ / ) // // DBE Collectibles / ) /--< o // // http://www.wgn.net/~dbe/ -/-' /___/_<_ AARGH.. what a day. After a long day of debugging I discovered that the source of my file corruption was the result of not specifying the 'b' (binary) argument to my call to fopen. In short, when fwriting to a file all of my 0x0a values got converted to 0x0d0a (carriage return/line feed). What made this somewhat more challenging is that the octal dump (od) of the file did not display the 0x0d values. Below is a simple program which creates a file "outfile" and writes 0x0A to it. Since I open without the 'b' flag it actually results in the value 0x0d0a getting written to the file. od -x shows: testdir==> od -x outfile 0000000 000a 0000 0000004 While a hexl-find-file in emacs shows: 00000000: 0d0a 0000 00 ..... Surely the od -x output is a bug - not a feature - right? here is my program: #include main() { FILE *fp; unsigned long x = 0x0A; if(!(fp = fopen("outfile", "a"))) { printf("failed to create outfile. Exiting..\n"); exit(1); } if(!fwrite(&x, sizeof(unsigned long), 1, fp)) { printf("failed to write to outfile. Exiting \n"); exit(1); } fclose(fp); } - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Mon Oct 6 18:01:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Mon, 06 Oct 1997 18:01:00 -0000 Subject: A TINY BUG References: <3438330F.61CF@stockholm.mail.telia.com> <34391696.27758E19@softway.com> Message-ID: In article < 34391696.27758E19@softway.com >, Jason Zions wrote: >> I have found that the following bad code gives "exception" at run >> time instead of error message at compilation time (b18 Win95): >> >> #include >> main(){ >> printf("%s\n",sizeof(long)); >> } > >No compiler will detect this error at compile-time. The prototype for >printf is (char *, ...); that is, no specific type information for >anything except the first parameter. A compiler would have to read the >first parameter to figure out the expected types for the remaining >args, and much of the time that first parameter is dynamically computed >at runtime instead of being a static string. There are a couple of >lint-like programs that will catch this error with a >compile-time-evaluatable format string, but that's the best you can do. > >Summary: learn more about the language before whining about compiler >errors. This is a programmer bug, not a compiler bug. Actually, this is a little harsh since GCC does, in fact, have a compile time __attribute__ option for checking the arguments to a printf. If the prototype for printf in /usr/include/stdio.h had included something like: __attribute__((format(printf, 1, 2))); it would have detected that programmer error. -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From noer@cygnus.com Mon Oct 6 19:07:00 1997 From: noer@cygnus.com (Geoffrey Noer) Date: Mon, 06 Oct 1997 19:07:00 -0000 Subject: Problems with the list ? References: Message-ID: <199710070037.RAA14246@cirdan.cygnus.com> Peter Dalgaard BSA wrote: > > Yup. The culprit seems to be mupi@kelly.webguy-prod.com; (s)he needs > to be taken off the list (or the list needs to learn how to discard > regurgitated messages). I hate automatic forwards!!!!!! *sigh* Well, it's gone now. Apologies for the extra mail... -- Geoffrey Noer noer@cygnus.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From raucd@sk.sympatico.ca Mon Oct 6 19:07:00 1997 From: raucd@sk.sympatico.ca (Darren Rauckman) Date: Mon, 06 Oct 1997 19:07:00 -0000 Subject: Help again please. References: <199710061428.KAA05438@maribor.pfnet.com> Message-ID: <3439997F.7658@sk.sympatico.ca> > Remember, cygwin32 has different goals that you seem to. It's not really > for doing native Win32 stuff, and not at all for Win16. It's a compiler > targeted at porting UN*X software to Win32. The Windows API it defines in > the headers is not complete! Well I will make it my life goal (life goal because it will take me that long to figure out how to do it) to make Gnuwin32 for developing native Win code on these two conditions a) it is possible b) it is legal, which i believe it is Darren - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From bzinger@iname.com Mon Oct 6 19:07:00 1997 From: bzinger@iname.com (Micheal A. Benzinger) Date: Mon, 06 Oct 1997 19:07:00 -0000 Subject: [IIS] E/S standards via la console References: <3.0.3.32.19971005195444.0091a730@pop.flash.net> <3435DC63.35D8@oceanes.fr> <3.0.2.32.19971006162748.007f5100@mailhost.wyoming.com> Message-ID: <3.0.3.32.19971006192301.00911e10@pop.flash.net> Charles Here's the translation for flam. Mike >Merci (which just about exhausts my French :-) > >Michael, are you willing to translate for Flam? If not, perhaps he can get >someone else? > Merci (c'est tout le fran????ais que je connais) Michael, voulez-vous traduire for Flam? Si non, peut-????tre il peut trouver quelqu'un d'autre? >> >>Hi everybody, >> >>I am looking for a way to exchange information with IIS by means >>of the E/S standards via the console. The goal being to create >>some CGI scripts with a language that does not have access to the >>E/S standards. > >The only "IIS" I know about is Microsoft's Internet Information Server, >which comes as a freebie with NT 4.0. Is that the one to which you are >referring? > Le seul "IIS" que je connais est l'Internet Information Server de Microsoft, qui est distribu???? gratuitement avec NT 4.0. Est-ce bien ???? ce logiciel que vous r????f????rez? >Unfortunately, I have no idea what the E/S standards are to which you >refer. Anyone else? > Malheureusement, je ne connais pas les standards E/S dont vous parlez. > >I have used IIS Version 2, and recommend you stay away from it. Version 3 >should be better. I do not believe either one runs on W95, but I have not >tried it. The Apache group has released a beta NT Apache. If you are on >this list because you are accustomed to both NT and Unix, you might find an >NT version of Apache easier to work on. I do not know if Apache works on W95. > J'ai utilis???? IIS Version 2, et je recommnde que vous l'????vitez. La Version 3 est meilleure. Je ne crois pas que ni l'un, ni l'autre march sur Windows 95, mais je ne l'ai pas essay????. Le groupe Apache a rel????ch???? un beta de Apache pour Windows NT. Si vous vous abonnez ???? cette liste parce que vous ????tes habitu???? ???? NT et UNIX, vous pourriez trouver une version NT de Apache plus facile ???? employer. Je ne sais pas si Apache marche sur Windows 95. > > > > -- C^2 > >Looking for fine software and/or web pages? > http://web.idirect.com/~ccurley > > Flam Je ne pense pas que la r????ponse r????pond ???? votre demande, mais je vous l'ai traduit quand m????me. Quant ???? ma traduction anterieure et votre r????ponse, il n'y a pas de quoi. Bonne chance avec vos recherches! Mike PS Je ne connais pas l'Ile de la R????union, que la France. Il doit faire hyper-beau l????-bas. Maintenant j'habite le Texas aux USA et en ????t???? il fait beaucoup trop chaud. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From hmwang@csit.edu.cn Mon Oct 6 19:07:00 1997 From: hmwang@csit.edu.cn (Yang Shuqiang) Date: Mon, 06 Oct 1997 19:07:00 -0000 Subject: make problem Message-ID: <3.0.32.19971007074121.00799100@csit.edu.cn> help! I want to use gnuwin32 to port postgresql to winNT. But when i run gmake,some errors exists. Now I build a simple project which has the same errors as the porting of postgresql. The project is list below in details. Can anybody know how to resolve this problem? The files and directories are organized as follows: / heaptuple.c / common - makefile / / gist.c c: - test -- gist - makefile \ makefile The contents of these files are as follows: 1. c:\test\common\heaptuple.c: int ComputeDataSize() { return 1; } 2. c:\test\common\makefile: OBJS = heaptuple.o all: SUBSYS.o SUBSYS.o: $(OBJS) $(CC) -r -o SUBSYS.o $(OBJS) 3. c:\test\gist\gist.c: void gistbuild(){} 4. c:\test\gist\makefile: OBJS = gist.o all: SUBSYS.o SUBSYS.o: $(OBJS) $(CC) -r -o SUBSYS.o $(OBJS) 5. c:\test\makefile: OBJS = common/SUBSYS.o gist/SUBSYS.o all: submake SUBSYS.o SUBSYS.o: $(OBJS) $(LD) -r -o SUBSYS.o $(OBJS) submake: $(MAKE) -C common SUBSYS.o $(MAKE) -C gist SUBSYS.o When i make the project under gnuwin32, it reports the following errors: c:\temp> make make -C common SUBSYS.o gcc -c heaptuple.c -o heaptuple.o gcc -r -o SUBSYS.o heaptuple.o make -C gist SUBSYS.o gcc -c gist.c -o gist.o gcc -r -o SUBSYS.o gist.o ld -r -o SUBSYS.o common/SUBSYS.o gist/SUBSYS.o (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) In cygwin_except_handler (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) Exception trapped! (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) exception C0000005 at 42703A (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) exception: ax 49E8ED0 bx 45E92DC cx 49E8ED0 dx 427034 (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) exception: si 45D7A84 di 45D7A84 bp 257F150 sp 257F150 (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) exception is: STATUS_ACCESS_VIOLATION (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) Stack trace: (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 0: sp = 0x257EF68, pc = 0x1000CEC2 (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 1: sp = 0x257EF84, pc = 0xBFF766B8 (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 2: sp = 0x257EFA8, pc = 0xBFF85C48 (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 3: sp = 0x257F040, pc = 0xFFECBAD7 (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 4: sp = 0x257F150, pc = 0x43558A (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 5: sp = 0x257F1A8, pc = 0x437BF6 (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 6: sp = 0x257F1F8, pc = 0x41AC9D (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 7: sp = 0x257F334, pc = 0x41AFCB (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 8: sp = 0x257F348, pc = 0x4178DA (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 9: sp = 0x257F36C, pc = 0x422E32 (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 10: sp = 0x257F3F0, pc = 0x43838A (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 11: sp = 0x257F47C, pc = 0x437FDB (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 12: sp = 0x257F494, pc = 0x437F9F (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 13: sp = 0x257F4A4, pc = 0x412B3C (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 14: sp = 0x257F4C4, pc = 0x413010 (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 15: sp = 0x257F4EC, pc = 0x414F47 (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) End of stack trace (more stack frames may be present) make: *** [SUBSYS.o] Error 2 I needs your help! Thanks! S.Q.Yang - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From dahms@ifk20.mach.uni-karlsruhe.de Mon Oct 6 19:29:00 1997 From: dahms@ifk20.mach.uni-karlsruhe.de (dahms@ifk20.mach.uni-karlsruhe.de) Date: Mon, 06 Oct 1997 19:29:00 -0000 Subject: Problems with the list ? Message-ID: <009BB65E.5658E880.25170@ifk20.mach.uni-karlsruhe.de> Hi Peter, you wrote: : Yup. The culprit seems to be mupi@kelly.webguy-prod.com; (s)he needs : to be taken off the list (or the list needs to learn how to discard : regurgitated messages). I suggest to have the list server check the "Received:" headers for itself to stop loops. That would have worked for all cases I remember (in contrast to checking footers, which some people forget to trim when replying). Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From vischne@ibm.net Mon Oct 6 19:29:00 1997 From: vischne@ibm.net (Victor Schneider) Date: Mon, 06 Oct 1997 19:29:00 -0000 Subject: vfork bug in cygwin32 Message-ID: <1.5.4.16.19971006223042.2f7fa6c0@pop1.ibm.net> checking union wait... no checking matherr support... yes checking for vfork... yes checking vfork/signal bug... buggy, using fork instead - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From huotte@rpi.edu Mon Oct 6 21:22:00 1997 From: huotte@rpi.edu (Ed Huott) Date: Mon, 06 Oct 1997 21:22:00 -0000 Subject: [IIS] E/S standards via la console References: <3.0.3.32.19971005195444.0091a730@pop.flash.net> Message-ID: <3439B8AF.287211A3@rpi.edu> Qu'est-ce que c'est "E/S"? -- Micheal A. Benzinger wrote: > > For those of you who don't speak French and might be able to offer > a helping hand, here is a translation: > > Hi everybody, > > I am looking for a way to exchange information with IIS by means > of the E/S standards via the console. The goal being to create > some CGI scripts with a language that does not have access to the > E/S standards. > > If possible, I would prefer that this works with Windows 95 and NT. > > Does someone use or has someone developed a utility of this type. > > Thanks in advance, > > flam > > PS: Sorry but I don't speak English. > > A flam, > > J'esp????re que cela vous aide avec vos recherches dans ce groupe. > > Mike - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ahinds@dnai.com Mon Oct 6 21:39:00 1997 From: ahinds@dnai.com (Alexander Hinds) Date: Mon, 06 Oct 1997 21:39:00 -0000 Subject: Serial Port access at other than 9600 baud Message-ID: <01bcd2da$88533830$19ceb5cf@ahinds> I am porting a program that requires serial port access; however, whenever I try to connect at a slower or faster speed than 9600, the connection fails. I'm not a serial port programming guru and was wondering if anyboyd had any tips or code snippits that might be of some help? Thanks in advance. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From flam@oceanes.fr Mon Oct 6 23:19:00 1997 From: flam@oceanes.fr (flam) Date: Mon, 06 Oct 1997 23:19:00 -0000 Subject: [IIS] E/S standards via la console References: <3435DC63.35D8@oceanes.fr> <3.0.2.32.19971006162748.007f5100@mailhost.wyoming.com> Message-ID: <3439D1CE.2C03@oceanes.fr> Hi everybody, I test to write in english (Sorry in advance). I thank you for yours answers and Michael for his translation. >Charles Curley wrote: > > (...) > The only "IIS" I know about is Microsoft's Internet Information Server, > which comes as a freebie with NT 4.0. Is that the one to which you are > referring? Yes. > Unfortunately, I have no idea what the E/S standards are to which you > refer. Anyone else? I have readed "Golden book - Windows NT 3.5 Programmation" by Brian Myers & Eric Hamer. (I don't know if it's the original title). In Chapter 17 - API of console, the I/O standards is : CONIN$ (equal stdin) and CONOUT$ (stdout) using with CreateFile(). I hav'nt find example for use in this book. > I have used IIS Version 2, and recommend you stay away from it. Version 3 > should be better. I do not believe either one runs on W95, but I have not > tried it. > (...) Even if CONIN$ and CONOUT$ don't exist with WindowsNT 4, it is possible to create a C program to communicate with IIS (or any Internet Server). MY_PROGRAM.EXE <--> C_PROGRAM_I/O <--> IIS I want not to use IIS with Windows95. Actually i use Windows95 and OmniHTTPd (Server). If my C program run with him, this program will run with WindowsNT and IIS, i think. Other question concerning the console : The golden book indicate that the option of compiling is : -subsystem:console Have Gnu-win32 an equivalent of this option ? I hope that this help you. I thank you for your help. Salutations. flam PS : I'm sorry if my text is direspectful, it's not my objective. My "english" is very bad. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Tue Oct 7 00:07:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Tue, 07 Oct 1997 00:07:00 -0000 Subject: corruption in socket layer? Message-ID: <01BCD311.02CFF860@gater.krystalbank.msk.ru> Tim Newsham wrote: > What I'm seeing is the tcp/ip stack behave improperly at > times. For example sometimes a close() happens and not > FIN is sent out. Instead the connection is silently placed > into the closed state. On the next incoming packet from > the remote, the local TCP stack sends out an RST. > > I see this behaviour in all the cygwin.dll's I have tried > it on, and am guessing that this problem has existed in > all versions of the dll (possibly a winsock bug). > Would you like to write a win32 native test suite for a problem not using cygwin.dll? -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Pascal.Obry@der.edfgdf.fr Tue Oct 7 00:12:00 1997 From: Pascal.Obry@der.edfgdf.fr (Pascal OBRY) Date: Tue, 07 Oct 1997 00:12:00 -0000 Subject: A TINY BUG Message-ID: <02FC23439DFE100A*/c=fr/admd=atlas/prmd=edfgdf/o=der/ou=der-ccmail/s=Obry/g=Pascal/@MHS> >> I have found that the following bad code gives "exception" at run >> time instead of error message at compilation time (b18 Win95): >> >> #include >> main(){ >> printf("%s\n",sizeof(long)); >> } >Summary: learn more about the language before whining about compiler >errors. This is a programmer bug, not a compiler bug. What about : this is a language bug :-) Pascal. --|------------------------------------------------------------ --| Pascal Obry Team-Ada Member | --| | --| EDF-DER-IPN-SID- G A L A X I E | --| web : http://cln49ae | --| Bureau N-023 e-mail: pascal.obry@der.edfgdf.fr | --| 1 Av G????n????ral de Gaulle voice : +33-1-47.65.50.91 | --| 92141 Clamart CEDEX fax : +33-1-47.65.50.07 | --| FRANCE | --|------------------------------------------------------------ --| --| http://ourworld.compuserve.com/homepages/pascal_obry --| --| "The best way to travel is by means of imagination" - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gnu-win32-request@cygnus.com Tue Oct 7 01:33:00 1997 From: gnu-win32-request@cygnus.com (gnu-win32-request@cygnus.com) Date: Tue, 07 Oct 1997 01:33:00 -0000 Subject: COPY FOR DUP FAILED, handle in 0 6! Message-ID: <199710070833.BAA16326@cygnus.com> Hi, I am using cygwin.dll dated Sep 23. When I ./configure in ncurses-1.9.9e, Igot COPY FOR DUP FAILED, handle in 0 6! What does this mean? I am using Japanese OSR2. ----- FUJITA CORP. feng@fujita.co.jp TEL: +81 45 5913911 FAX: +81 45 591 3923 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jont@harlequin.co.uk Tue Oct 7 02:50:00 1997 From: jont@harlequin.co.uk (Jon Thackray) Date: Tue, 07 Oct 1997 02:50:00 -0000 Subject: Bad linker behaviour References: <199710061558.QAA08198@zaphod.long.harlequin.co.uk> <199710061630.RAA08397@zaphod.long.harlequin.co.uk> <199710061729.NAA29946@tweedledumb.cygnus.com> Message-ID: <199710070945.KAA09363@zaphod.long.harlequin.co.uk> ian@cygnus.com writes: > >Ah well, it turns out that this is caused by C++ attempted name > >mangling, and only happens in the case where the symbols can't be > >matched (which is the case in my example above, although it wasn't > >meant to be). So, the end result is that for symbols which get name > >mangled like this, the error messages from ld are rubbish. Is there > >any way of getting ld to give the real error message, instead of the > >message after the name mangling? > > No, I'm afraid ld always demangles symbol names in error messages. > The place to fix this is the function demangle in ld/ldmisc.c. Well, the obvious fix is:- res = cplus_demangle (string, DMGL_ANSI | DMGL_PARAMS); return res ? res : xstrdup (string); becomes return xstrdup (string); This means that all link failures will report the actual symbol name, which may not be so good for C++ but will work better for all other users of ld. If ld is invoked standalone, this is definitely the way it should behave (I also object to it stripping a leading _ from the names it reports, this is making an assumption that the object files I've linked have come from a C compiler which is untrue in my case). If ld wishes to be more sophisticated in the cases where it is invoked from gcc or g++, then it should be given additional command line information requesting this behaviour, rather than doing this by default. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jont@harlequin.co.uk Tue Oct 7 06:18:00 1997 From: jont@harlequin.co.uk (Jon Thackray) Date: Tue, 07 Oct 1997 06:18:00 -0000 Subject: A TINY BUG References: <3438330F.61CF@stockholm.mail.telia.com> Message-ID: <199710070957.KAA09373@zaphod.long.harlequin.co.uk> Tage Westlund writes: > To gnu designers! > I have found that the following bad code gives "exception" at run > time instead of error message at compilation time (b18 Win95): > > #include > main(){ > printf("%s\n",sizeof(long)); > } C the language is not required to detect this error, and in the worst case, simply can't. Consider extern char *foo; int main(int argc, char *argv[]) { printf(foo, sizeof(long)); return 0; } The best a compiler could do would be to warn you that this might be unsafe. OTOH, you may not want this behaviour, as you may believe that programs should compile without errors or warnings, so that if errors or warnigs are produced you know that you need to investigate them. Many C compilers, at high warning levels, will detect the programmer error you quote. But at the end of the day, with C, you are on your own. C is not a safe language, and make no pretensions to be such. If you wish to write in a safe language, perhaps you should try standard ML. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From dlove@wpe.com Tue Oct 7 06:18:00 1997 From: dlove@wpe.com (Dominick Love) Date: Tue, 07 Oct 1997 06:18:00 -0000 Subject: Help References: <199710062225.SAA20805@magnum.wpe.com.> Message-ID: <343A6223.3C9E@wpe.com> I downloaded that gnu-w32 (cdk.exe). I think its a compiler, right? Well, I downloaded a SMAUG based Mud source code, and it was recommended that i downloaded a compiler from your site. So, how doe sit work???? Your readme's make no sense to me. I ran the cdk.exe and it inflated to a bunch of things, how do i run this compiler? I am brand new to this stuff, But i am using the compiler to edit files in a MUD, for a school project. Any assistance would be appreciated, and sorry for the choppy format. Dom Love - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From alex@greco2.polytechnique.fr Tue Oct 7 07:22:00 1997 From: alex@greco2.polytechnique.fr (Alessandro Mirone) Date: Tue, 07 Oct 1997 07:22:00 -0000 Subject: Help!:Problem with DLL Message-ID: I have created a relocatable dll following the method explained at www.cygnus.com/misc I created an executable main.exe linked with my dll. I did not succed to run the executable: launching the executable from the bash prompt I get: BASH.EXE: ./a.exe : (null) Where am I wrong?. I even tried the recipe of http://www.cs.mu.oz.au/~fjh but I get the same error Alessandro MIRONE LULI, 91128 Ecole Polytechnique, Palaiseau alex@greco2.polytechnique.fr tel: (33) (1) 64468029 Tel cellulaire : 0607489346 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From MCCOLMI@mail.northgrum.com Tue Oct 7 07:22:00 1997 From: MCCOLMI@mail.northgrum.com (McCollister, Mike) Date: Tue, 07 Oct 1997 07:22:00 -0000 Subject: "problem in exporting variables to sub-make in b18" Message-ID: <199710071021.DAA20990@ngedns.northgrum.com> > Anna, > I found a similar problem. However, I think that your problem can be fixed using the following code (not that I did not test it). > Makefile > -------- > > all: TEST=yes <= changed here export TEST <= changed here > $(MAKE) -f new.mak > > new.mak > ---------- > > result: > echo $(TEST) > > ----------------------------------------------- > Note that the spaces have been removed on the assignment of test and that it was placed in "all:" so that it becomes a shell assignment. Michael J. McCollister, Systems Engineer Northrop Grumman Melbourne, Florida Phone: (407) 726-7862 E-Mail: Mike_McCollister@mail.northgrum.com > ---------- > From: annakam@lmc.com[SMTP:annakam@lmc.com] > Sent: Monday, October 06, 1997 4:02 PM > To: gnu-win32@cygnus.com > Subject: "problem in exporting variables to sub-make in b18" > > I am not able to export variables to the sub-make using the export > directive. Here is the test case > > Makefile > -------- > > export TEST = yes > all: > $(MAKE) -f new.mak > > new.mak > ---------- > > result: > echo $(TEST) > > ----------------------------------------------- > > Here i have Makefile and new.mak as two mak files. I tried this on > UNIX > with b18 and it did work but did not work on the NT with same version > of gmake. > > Could you please investigate the problem or give me pointers to where > i > look to fix this error. > > Thanks, > Anna. > > - > For help on using this list (especially unsubscribing), send a message > to > "gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurtin@trintech.com Tue Oct 7 07:22:00 1997 From: ccurtin@trintech.com (Colman Curtin) Date: Tue, 07 Oct 1997 07:22:00 -0000 Subject: tar cvf /dev/fd0 foo Message-ID: <199710071039.LAA42982@muzak.trintech.ie> hi folks is it possible for cygwin tar to read un*x tarred floppy disks or do they have to be formatted for a pc. e.g. from un*x box tar cvf /dev/fd0 foo then from pc tar xvf /dev/fd0 fails for me. is it possible at all? thanks in advance Colman. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fritz.heinrichmeyer@fernuni-hagen.de Tue Oct 7 11:20:00 1997 From: fritz.heinrichmeyer@fernuni-hagen.de (Fritz Heinrichmeyer) Date: Tue, 07 Oct 1997 11:20:00 -0000 Subject: bash and non us keyboard Message-ID: Hello, i saw a lot of questions but no answer: How can i use the AltGr keys together with bash? Greetings -- Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de FernUniversitaet Hagen, LG Elektronische Schaltungen, 58084 Hagen (Germany) tel:+49 2331/987-1166 fax:987-355 http://ES-sun1.fernuni-hagen.de/~jfh PGP fingerprint (mail for key): 160BDF84 3F2F63C0 5CA20D31 3E42D116 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From flam@oceanes.fr Tue Oct 7 11:20:00 1997 From: flam@oceanes.fr (flam) Date: Tue, 07 Oct 1997 11:20:00 -0000 Subject: How to build an DLL ? Message-ID: <343A4EAB.F80@oceanes.fr> Hi everybody, I have created several functions in a file MY_LIBRARY.C I would like to create MY_LIBRARY.DLL. How can i do ? Apparently i would have first to create a .DEF : echo EXPORTS > MY_LIBRAIRIE.DEF Then nm Then ld --base-file Then dlltool <) I tried different maners and it does'nt work... What is the difference between relocatable DLL and non-relocatable DLL ? Thanks in advance. Salutations. flam - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From dwayne.nielsen@langeninc.com Tue Oct 7 11:20:00 1997 From: dwayne.nielsen@langeninc.com (dwayne.nielsen@langeninc.com) Date: Tue, 07 Oct 1997 11:20:00 -0000 Subject: GDBM Message-ID: <9710078762.AA876239081@engnt1.langeninc.com> Has there been any success using gdbm on both NT and SunOS using the same data file. I compiled gdbm on NT and on Sun. When I create a database on Sun and then use it on NT I get the following error: gdbm fatal: read error. Any help/suggestions. __________________________________________________________ | Dwayne Nielsen | | | Langen Packaging Inc.| __ | | 6154 Kestrel Road | / / ___ _ ___ _____ __ ____ | | Mississauga, ON | / /__/ _ `/ __ \/ _ / -_) __ \ | | Canada L5T 1Z2 | /____/\_,_/_/ /_/__ /\__/_/ /_/ | | 905-670-7200 (x2051) | /__/ | | 905-670-5291 (fax) | | |______________________|___________________________________| - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gbrown@hpl.hp.com Tue Oct 7 11:20:00 1997 From: gbrown@hpl.hp.com (Geoffrey Brown) Date: Tue, 07 Oct 1997 11:20:00 -0000 Subject: job control ? Message-ID: <3.0.1.32.19971007105554.00d8fe30@pop1.hpl.hp.com> How do I enable susp (^z) etc under bash and tcsh. The ususal stty susp "^z" doesn't seem to have any effect. I guess I also need fg. Geoffrey ------------------------------------------------------------------------ Geoffrey Brown Research Scientist HP Labs Cambridge 1 Main Street 10th Floor Cambridge, MA 02142 (617) 679-9338 (617) 679-9330 (fax) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From shebs@cygnus.com Tue Oct 7 11:20:00 1997 From: shebs@cygnus.com (Stan Shebs) Date: Tue, 07 Oct 1997 11:20:00 -0000 Subject: Serial Port access at other than 9600 baud References: <01bcd2da$88533830$19ceb5cf.cygnus.gnu-win32@ahinds> Message-ID: ahinds@dnai.com (Alexander Hinds) writes: > I am porting a program that requires serial port access; however, whenever > I try to connect at a slower or faster speed than 9600, the connection > fails. This works fine for GDB in the current sources, and probably for b18, although I haven't checked. Look at gdb/ser-unix.c for inspiration. Stan Shebs Cygnus Solutions shebs@cygnus.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From DKhosla@Compaq.com Tue Oct 7 12:32:00 1997 From: DKhosla@Compaq.com (Khosla, Deepak) Date: Tue, 07 Oct 1997 12:32:00 -0000 Subject: corruption in socket layer? Message-ID: We ran into a similar (yet different) problem - with WINSOCK you cannot guarantee that on a close all the data is flushed. You better do some application level handshaking. We saw that even if we did a close with a timeout period, the lower level never told you whether the timeout expired or whether the data was actually sent. It appears that the state goes to FIN_WAIT even though a FIN has not been sent out and then a close is successful!. The condition we saw this in was if the remote had set the window size to zero while at the same time we had only enough data left that would fit in the internal TCP buffers. We would do a close, it would return successful and we would go on trying to establish a new connection to the same remote and it would send a reset back since from its point of view, the previous session was alive. The bug was reported to MS a few months back - no response other than that's how Winsock works :-) Regards Deepak Khosla 281-514-9234 DKhosla@compaq.com -----Original Message----- From: Sergey Okhapkin [SMTP:sos@prospect.com.ru] Sent: Tuesday, October 07, 1997 3:06 AM To: gnu-win32@cygnus.com; 'Tim Newsham' Subject: RE: corruption in socket layer? Tim Newsham wrote: > What I'm seeing is the tcp/ip stack behave improperly at > times. For example sometimes a close() happens and not > FIN is sent out. Instead the connection is silently placed > into the closed state. On the next incoming packet from > the remote, the local TCP stack sends out an RST. > > I see this behaviour in all the cygwin.dll's I have tried > it on, and am guessing that this problem has existed in > all versions of the dll (possibly a winsock bug). > Would you like to write a win32 native test suite for a problem not using cygwin.dll? -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gbrown@hpl.hp.com Tue Oct 7 12:32:00 1997 From: gbrown@hpl.hp.com (Geoffrey Brown) Date: Tue, 07 Oct 1997 12:32:00 -0000 Subject: tcsh hangs Message-ID: <3.0.1.32.19971007153226.00dd8eb0@pop1.hpl.hp.com> After executing a windows command (e.g.) >tcsh >emacs tcsh fails to return whent the command terminates. Do I have something set up wrong ? Geoffrey ------------------------------------------------------------------------ Geoffrey Brown Research Scientist HP Labs Cambridge 1 Main Street 10th Floor Cambridge, MA 02142 (617) 679-9338 (617) 679-9330 (fax) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From newsham@aloha.net Tue Oct 7 12:32:00 1997 From: newsham@aloha.net (Tim Newsham) Date: Tue, 07 Oct 1997 12:32:00 -0000 Subject: corruption in socket layer? References: <01BCD311.02CFF860@gater.krystalbank.msk.ru> Message-ID: <199710071845.IAA22185@haleakala.aloha.net> > Tim Newsham wrote: > > What I'm seeing is the tcp/ip stack behave improperly at > > times. For example sometimes a close() happens and not > > FIN is sent out. Instead the connection is silently placed > > into the closed state. On the next incoming packet from > > the remote, the local TCP stack sends out an RST. > > > > I see this behaviour in all the cygwin.dll's I have tried > > it on, and am guessing that this problem has existed in > > all versions of the dll (possibly a winsock bug). > > > > Would you like to write a win32 native test suite for a problem not using cygwin.dll? If I knew how to reproduce it I would, but I haven't yet been able to reproduce it in any small test cases. > Sergey Okhapkin, http://www.lexa.ru/sos - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Tue Oct 7 23:21:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Tue, 07 Oct 1997 23:21:00 -0000 Subject: tcsh hangs Message-ID: <01BCD3D3.B5C63FC0@gater.krystalbank.msk.ru> Geoffrey Brown wrote: > After executing a windows command (e.g.) > > >tcsh > >emacs > > tcsh fails to return whent the command terminates. Tcsh requires SIGCHLD delivering on child exit, but non-cygwin apps do not raises this signal. The problem should be fixed soon. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From guiboud@netmansys.fr Wed Oct 8 02:10:00 1997 From: guiboud@netmansys.fr (Stéphane Guiboud-Ribaud) Date: Wed, 08 Oct 1997 02:10:00 -0000 Subject: bash and non us keyboard References: Message-ID: <343B4C85.766A054F@netmansys.fr> Fritz Heinrichmeyer wrote: > Hello, i saw a lot of questions but no answer: > > How can i use the AltGr keys together with bash? > > Greetings > > -- > Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de > FernUniversitaet Hagen, LG Elektronische Schaltungen, 58084 Hagen (Germany) > tel:+49 2331/987-1166 fax:987-355 http://ES-sun1.fernuni-hagen.de/~jfh > PGP fingerprint (mail for key): 160BDF84 3F2F63C0 5CA20D31 3E42D116 > > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". I have the same problem resolve by using the "[" special key. With an AZERTY keyboard, to get characters using the AltGr special key you need to, first press AltGr-[, then AltGr-[key-expected]. Examples: For the # character, press AltGr-[, then AltGr-#, and it appears '#' in the bash shell. It works fine and you sounds a bell. Stephane -- -------------------------------------------------------------- Stephane Guiboud-Ribaud NETMANSYS S.A. http://www.netmansys.fr/ mailto:guiboud@netmansys.fr http://www.netmansys.com/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tmaekawa@aa08s1.jsys.unisys.co.jp Wed Oct 8 02:27:00 1997 From: tmaekawa@aa08s1.jsys.unisys.co.jp (Toyohiro.Maekawa) Date: Wed, 08 Oct 1997 02:27:00 -0000 Subject: Question About gnu-win32 Message-ID: Dear gnu-win32 developer; We have downloaded gnu-win32 development tools(cdk.exe) from ftp.cygnus.com/pub/gnu-win32/latest and tried to install it on Windows 95Japanese edition(Ver4.00.950a) at about 10:30 AM on 7th Oct.(GMT) But in the process of extracting installshield,there appeared a message window noticed , "The decompression of %s failed.There may not be enough free disk space available in the TEMP directory." Our computer have enough capasity,and we don`t think there may not be enough free disk space. Please ask us how to continue installation of gnu-win32. Regards. --------------------------------------- Nihon Unisys Ltd.,$B!!(JToyohiro Maekawa E-Mail : Toyohiro.Maekawa@unisys.co.jp --------------------------------------- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Wed Oct 8 02:27:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Wed, 08 Oct 1997 02:27:00 -0000 Subject: Help Message-ID: <19971008014746.4454.qmail@hotmail.com> Let me point you to: ftp://ftp.cygnus.com/pub/gnu-win32/latest/ http://www.cygnus.com/pubs/gnupro/ http://www.cygnus.com/misc/gnu-win32/ http://www.cygnus.com/ml/gnu-win32 - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garyb@dssnz.co.nz Wed Oct 8 02:57:00 1997 From: garyb@dssnz.co.nz (DSS) Date: Wed, 08 Oct 1997 02:57:00 -0000 Subject: GNUWIN32 b18 on NT4.0 via SLTelnet session problems? Message-ID: <343C09BC.670@dssnz.co.nz> Greetings, there follows a long-winded question which you can feel free to ignore... I'm trying to use GNUWIN32 build-18, installed on an NT4.0 server via Seattle lab's Telnet Server (the latest, registered version 2.2). However, there seems to be a problem(feature?) with running any of these fine utilites under the telnet session, it goes like this: 1) All GNUWIN32 tools run fine on the NT server locally, paths and env variables set under the server environment. 2) All GNUWIN32 tools run fine under SLNet telnet to the NT server when you've telnetted there using the Administrator login (the login we installed SLNet telnet under). 3) All GNUWIN32 tools 'hang' under SLNet telnet tp the NT server when you've telnetted there using an account OTHER than the administrator login (even accounts that belong to the NT administrator's group). By hang I mean nothing what-so-ever happens after you type the command line to invoke the required GNUWIN32 tool and smack ENTER...and yes, believe me I've checked the appropriate env vars and path exists under the telnet session (about a zillion times). Attempting to run any GNUWIN32 tool hangs the telnet session until you hit cntrl-c, something of a bummer. 4) Even stranger: All GNUWIN32 tools run fine under SLNet telnet to the NT server when you've telnetted there using the SAME login and the user presently logged in LOCALLY to the NT server. Eg. So if BOB (who's not an administrator, just a plebian user) has logged into the NT server locally he can then run the GNUWIN32 tools fine under a telnet session to the server provided he telnets there using the same login....this kinda defeats the purpose of using telnet! Anyway, this oddness would tend to suggest to me there's something funny going on with the CYGWIN.DLL? as we haven't had any other problems with the SLNet telnet service...Has anyone else had any problems using the GNUWIN32 tools under a telnet session? Or have I completely lost the plot? By all means send info, comments, suggestions, hate-mail to: Stuart Nicholson stuartn@dssnz.co.nz Thanks! - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jw@raven.inka.de Wed Oct 8 02:57:00 1997 From: jw@raven.inka.de (Josef Wolf) Date: Wed, 08 Oct 1997 02:57:00 -0000 Subject: Direct IO Access with cygwin32? Message-ID: Hello! I have read through the FAQ and through the archives of the cygwin-list but could not find an answer to my problem. I need to do some direct IO access (drive an EPROM programmer over the printer port). The only hint I could find in the archive was a question about the function DirectIoControl(). Could someone point me to documentation (or some example code) which describes how direct IO access is to be done? Thanks in Advance! - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jlz@isli.com Wed Oct 8 02:57:00 1997 From: jlz@isli.com (Jian L. Zhen) Date: Wed, 08 Oct 1997 02:57:00 -0000 Subject: (...\BASH.EXE 1001) In cygwin_except_handler Message-ID: <01BCD375.E4A2CC40.jlz@isli.com> Hi all I just finished setting up usertools.exe on both my NT 4.0 and win95 machines. Set up /bin, /tmp, and the stuff that I am suppose to setup, set up the path and everything. Under NT 4.0, everything is working fine. But under win95, I am getting the following error whenever I run any type of executable (C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\BASH.EXE 1001) In cygwin_except_handler I can't seem to figure out what's wrong. I searched the old archive and can't seem to find any solutions. Checked the FAQ, no help. Have any of you encountered this similar problem? How can I fix it? Thanks very much for your help. Jian - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From haack@ast.lmco.com Wed Oct 8 02:57:00 1997 From: haack@ast.lmco.com (Brad Haack) Date: Wed, 08 Oct 1997 02:57:00 -0000 Subject: gcc Message-ID: <343AB593.9B0@ast.lmco.com> I recently installed gnuwin32 (windows NT) and am having some trouble getting gcc set up. Yes I read the FAQ and I think I have the environment var's set properly. I added these include dirs in my makefile -I/gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/include/ -I/gnuwin32/b18/H-i386-cygwin32/lib/gcc-lib/i386-cygwin32/cygnus-2.7.2-970404/include (sorry but I think my mailer will break these up into multi lines) I'm getting some warnings such as: /gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/include/sys/reent.h:38: warning: function declaration isn't a prototype /gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/include/sys/reent.h:170: warning: function declaration isn't a prototype /gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/include/math.h:109: warning: function declaration isn't a prototype /gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/include/math.h:179: warning: function declaration isn't a prototype And then a fatal error: gcc: Internal compiler error: program cc1 got fatal signal 33 make: *** [star.o] Error 1 Any ideas? Thanks Brad Haack haack@ast.lmco.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kunglao@prairienet.org Wed Oct 8 02:57:00 1997 From: kunglao@prairienet.org (Bizzaro) Date: Wed, 08 Oct 1997 02:57:00 -0000 Subject: tcsh hangs References: <3.0.1.32.19971007153226.00dd8eb0@pop1.hpl.hp.com> Message-ID: <343B5858.874412B0@prairienet.org> Geoffrey Brown wrote: > > After executing a windows command (e.g.) > > >tcsh > >emacs > > tcsh fails to return whent the command terminates. > > Do I have something set up wrong ? > > Geoffrey That's a problem with Win95, do an "export CYGWIN_SIGCHLD=1" (or set if at dos prompt) before launching tcsh, though it is still pretty unstable. And you have to have Sergey's cygwin.dll to do this. On another note, anyone had tcsh be real goofy with finding commands? For instance, I can do an id fine, but ls comes back with command not found. Both are in /usr/bin (/H-i386... mounted as /usr), which of course is in my path. Tcsh doesn't seem to want to recognize some of the files. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Wed Oct 8 02:57:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Wed, 08 Oct 1997 02:57:00 -0000 Subject: GDBM Message-ID: <19971008013237.23220.qmail@hotmail.com> >From: dwayne.nielsen@langeninc.com >Date: Tue, 07 Oct 97 11:44:37 -0500 >To: >Subject: GDBM > > >Has there been any success using gdbm on both NT and SunOS using the >same data file. I compiled gdbm on NT and on Sun. When I create a >database on Sun and then use it on NT I get the following error: > >gdbm fatal: read error. > >Any help/suggestions. > gdbm needs the file system mounted in binary mode. To do this you use "mount -b". For more help on text=binary vs. text!=binary see the mail archives for September at http://www.cygnus.com/ml/gnu-win32 . - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From colin@bird.fu.is.saga-u.ac.jp Wed Oct 8 02:57:00 1997 From: colin@bird.fu.is.saga-u.ac.jp (Colin Peters) Date: Wed, 08 Oct 1997 02:57:00 -0000 Subject: Problems with Petzold programs Message-ID: <01BCD3DD.2C8B6FA0@gbird0> Ben McGunigle[SMTP:ben@bcgrizzly.com] wrote: >I am learning Win95 programming using the Petzold book and the >minimalist compiler. I have had trouble with the PlaySound() function >and the SND_* defines being nonexistent (Example program hellowin.c). >The SM_RESERVED1 - 4 defines (sysmets.h) are likewise absent from the >header files. I assume they are present by default in the MS compiler >recommended by the book As for the mmsystem.h stuff, it is, as far as I know, completely missing from the current GNU Win32 API include files. Here is a short replacement which contains only enough to get that particular Petzold example to compile: /* * Temporary mmsystem.h because GNU-Win32 doesn't have one yet. */ #ifndef _MMSYSTEM_H_ #define _MMSYSTEM_H_ #ifdef __cplusplus extern "C" { #endif /* Flags for PlaySound */ #define SND_SYNC 0x00000000 #define SND_ASYNC 0x00000001 #define SND_NODEFAULT 0x00000002 #define SND_MEMORY 0x00000004 #define SND_LOOP 0x00000008 #define SND_NOSTOP 0x00000010 #define SND_PURGE 0x00000040 #define SND_APPLICATION 0x00000080 #define SND_NOWAIT 0x00002000 #define SND_ALIAS 0x00010000 #define SND_FILENAME 0x00020000 #define SND_RESOURCE 0x00040004 #define SND_ALIAS_ID 0x00110000 BOOL WINAPI PlaySoundA (LPCSTR pszSound, HMODULE hmod, DWORD fdwSound); BOOL WINAPI PlaySoundW (LPCWSTR pszSound, HMODULE hmod, DWORD fdwSound); #ifdef UNICODE #define PlaySound PlaySoundW #else #define PlaySound PlaySoundA #endif #ifdef __cplusplus } #endif #endif /* Not defined _MMSYSTEM_H_ */ The defintions of SM_RESERVED1 - 4 are also not included (probably since nobody would ever use them normally) but here they are so that you can add them to Defines.h: #define SM_RESERVED1 (24) #define SM_RESERVED2 (25) #define SM_RESERVED3 (26) #define SM_RESERVED4 (27) I don't know if Scott Christley is the maintainer of the GNU Win32 API header files, but his name and email address are at the top of them, so he might be someone to talk to about fixing bugs and ommissions. Good luck, Colin. -- Colin Peters - Saga Univ. Dept. of Information Science -- colin@bird.fu.is.saga-u.ac.jp - finger for PGP public key -- http://www.fu.is.saga-u.ac.jp/~colin/index.html -- http://www.geocities.com/Tokyo/Towers/6162/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Wed Oct 8 05:46:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Wed, 08 Oct 1997 05:46:00 -0000 Subject: job control ? References: <3.0.1.32.19971007105554.00d8fe30@pop1.hpl.hp.com> Message-ID: In article < 3.0.1.32.19971007105554.00d8fe30@pop1.hpl.hp.com >, Geoffrey Brown wrote: >How do I enable susp (^z) etc under bash and tcsh. The ususal >stty susp "^z" doesn't seem to have any effect. I guess I also >need fg. Job control isn't supported in the stock b18 release. For that you need Sergey's updated version of cygwin.dll: http://www.lexa.ru/sos -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cnalley@247Sports.aye.net Wed Oct 8 06:31:00 1997 From: cnalley@247Sports.aye.net (Christopher Nalley) Date: Wed, 08 Oct 1997 06:31:00 -0000 Subject: Help - unsubscribe Message-ID: <01bcd3e3$b87bf6a0$3408b9ce@local.localhost> email gnu-win32-request is not getting me off this list. ???? Please unsubscribe???????? @247Sports.aye.net From William.Jarrett@usm.edu Wed Oct 8 06:31:00 1997 From: William.Jarrett@usm.edu (Dr. W. L. Jarrett) Date: Wed, 08 Oct 1997 06:31:00 -0000 Subject: Problem using own *.a file Message-ID: <2.2.16.19971008083659.1fdf23b0@ocean-mail.st.usm.edu> Dear Comrades: This may be a silly problem, I do not know. I've recently downloaded and installed cdk.exe with no problems. Using the make, I created a file libgamma.a, no problem. However, whenver I try to compile a program using libgamma.a, I am getting the following errors: /u/gamma-3.5.2/I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i 386-cygwin32\\cygnus-2.7.2-970404\\../../../../../include/g++/_string.h:427: undefined reference to `_nilStrRep' I am using the following test file to attempt to compile the program: SLIB="-lm" SLIB1="-lstdc++" GAMMA="-lgamma" c++ demo1.cc \ -Wall -v -g \ -I/u/gamma-3.5.2/share/src \ -I//$CPLUS_INCLUDE_PATH \ -D_SSLIB_ -D_SSLIB1_ -D_SGAMMA_ \ -L/u/gamma-3.5.2/PCNT/lib \ -lgamma -lstdc++ -lm \ -o demo1.exe During the compilation c++ is searching the following directories: GNU CPP version cygnus-2.7.2-970404 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: /u/gamma-3.5.2/share/src I:\Programs\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2 .7.2-970404\../../../../../include/g++ I:\Programs\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2 .7.2-970404\../../../../../include I:\Programs\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2 .7.2-970404\../../../../i386-cygwin32/include I:\Programs\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2 .7.2-970404\include End of search list. Are those the correct directories? What I really don't understand is how I could create the libgamma. a file, using a module (complex.cc -> complex.o) that calls _string.h, and yet have this difficulty using the actual program. If anyone has any ideas, please contact me. Thank you for your time and assistance, Dr. W. L. Jarrett University of Southern Mississippi Department of Polymer Science 2609 W. Fourth St. Hattiesburg, MS 34906-5103 Phone: (601)266-4551 Fax: (601)266-5504 email: William.Jarrett@usm.edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From guiboud@netmansys.fr Wed Oct 8 06:31:00 1997 From: guiboud@netmansys.fr (Stéphane Guiboud-Ribaud) Date: Wed, 08 Oct 1997 06:31:00 -0000 Subject: bash and non us keyboard References: <343B4C85.766A054F@netmansys.fr> Message-ID: <343B79D7.3C7018E3@netmansys.fr> Fritz Heinrichmeyer wrote: > Thanks, it works. Now i can type | and #, but i still cannot type german > umlauts ????????????! > I have the same problem with french specific characters such '????' or '????'. > But i think it should be possible to control the readline interface of > bash with the .inputrc file? > > Where should this file reside to have an effect? Certainly in your home directory, located by the value of HOME environment variable. -- -------------------------------------------------------------- Stephane Guiboud-Ribaud NETMANSYS S.A. http://www.netmansys.fr/ mailto:guiboud@netmansys.fr http://www.netmansys.com/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gbrown@hpl.hp.com Wed Oct 8 14:08:00 1997 From: gbrown@hpl.hp.com (Geoffrey Brown) Date: Wed, 08 Oct 1997 14:08:00 -0000 Subject: ... called, and it's not done yet Message-ID: <3.0.1.32.19971008161952.00ded2f0@pop1.hpl.hp.com> I get messages similar to this when running less and starting rxvt. In the case of less, when I try to search for a regular expression: regcomp called, and it's not done yet. In the case of rxvt seteuid called, and it's not done yet Any ideas how to avoid these ? Geoffrey ------------------------------------------------------------------------ Geoffrey Brown Research Scientist HP Labs Cambridge 1 Main Street 10th Floor Cambridge, MA 02142 (617) 679-9338 (617) 679-9330 (fax) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mh@mike.franken.de Wed Oct 8 14:08:00 1997 From: mh@mike.franken.de (Michael Hirmke) Date: Wed, 08 Oct 1997 14:08:00 -0000 Subject: bash and non us keyboard References: Message-ID: <6fTzioR$pfB@mike.franken.de> Hi Fritz, >Hello, i saw a lot of questions but no answer: > >How can i use the AltGr keys together with bash? Just download the patched cygwin.dll from Sergey's homepage and you are set. URL is http://miracle.geol.msu.ru/sos/ . Be sure to read the hints on this page, too. > >Greetings Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh@mike.franken.de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ian@cygnus.com Wed Oct 8 14:47:00 1997 From: ian@cygnus.com (ian@cygnus.com) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: Bad linker behaviour References: <199710061729.NAA29946@tweedledumb.cygnus.com> <199710070945.KAA09363@zaphod.long.harlequin.co.uk> Message-ID: <199710081759.NAA09713@tweedledumb.cygnus.com> In gnu-win32 jont@harlequin.co.uk (Jon Thackray) writes: >This means that all link failures will report the actual symbol name, >which may not be so good for C++ but will work better for all other >users of ld. If ld is invoked standalone, this is definitely the way >it should behave (I also object to it stripping a leading _ from the >names it reports, this is making an assumption that the object files >I've linked have come from a C compiler which is untrue in my case). >If ld wishes to be more sophisticated in the cases where it is invoked >from gcc or g++, then it should be given additional command line >information requesting this behaviour, rather than doing this by >default. The normal case of using the linker is for C and C++ programs. When linking such programs, the linker should report symbols using names that are meaningful for C and C++. I would have no objection in principle to making this depend upon a command line option. Unfortunately, compilers traditionally do not pass any such command line option. gcc must work with either a native Unix linker or the GNU linker. It can not pass a command line option that will only be understood by the GNU linker. Therefore, I don't see any way to make this work correctly based on a command line option. My conclusion is the reverse of yours: we should provide a command line option which turns off the symbol name demangling. Ian - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gvetere@rs0.corinto.interbusiness.it Wed Oct 8 14:47:00 1997 From: gvetere@rs0.corinto.interbusiness.it (Guido Vetere) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: template argument nested type bug Message-ID: <343BA136.87A@corinto.interbusiness.it> Hi, I'm trying to compile a project previously build with MS Visual C++ 4.0 and IBM C-Set++ (AIX) with gnu-win32 (NT 4.0, b18). My code is full of expressions like this: template class C { public: typedef T temp_class; typedef temp_class::type1 type1; // line N }; which cause (gnu-win32) errors like this: (line N): syntax error before ; even if the context defines the appropriate nested type in the template argument: class T1 { public: typedef int type1; }; int main () { C::type1 t = 10; } A friend told me that the example above compiles with gnu for Os2 and Linux, so I argue that the syntax error is due to a win32 compiler bug. Any hint ? __________________________ Guido Vetere CONSORZIO CORINTO via Tridente 42, 70100 Bari +39 80 5498341 (tel) +39 80 5498333 (fax) gvetere@selfin.it gvetere@corinto.interbusiness.it __________________________ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gvetere@rs0.corinto.interbusiness.it Wed Oct 8 14:47:00 1997 From: gvetere@rs0.corinto.interbusiness.it (Guido Vetere) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: template argument nested type bug Message-ID: <9710081505.AA21582@rs0.corinto.interbusiness.it> I'm trying to compile a project previously build with MS Visual C++ 4.0 and IBM C-Set++ (AIX) with gnu-win32 (NT 4.0, b18). My code is full of expressions like this: template class C { public: typedef T temp_class; typedef temp_class::type1 type1; // line N }; which cause (gnu-win32) errors like this: (line N): syntax error before ; even if the context defines the appropriate nested type in the template argument: class T1 { public: typedef int type1; }; int main () { C::type1 t = 10; } A friend told me that the example above compiles with gnu for Os2 and Linux, so I argue that the syntax error is due to a win32 compiler bug. Any hint ? ________________________________________ Guido Vetere @ CONS. CORINTO Via N.Tridente 42, BARI, Italy tel +39 80 5498341 fax +39 80 5498333 cell 0347 2658120 email gvetere@corinto.interbusiness.it ________________________________________ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Wed Oct 8 14:47:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: GDBM Message-ID: <19971008113217.1916.qmail@hotmail.com> >From: dwayne.nielsen@langeninc.com >Date: Tue, 07 Oct 97 11:44:37 -0500 >To: >Subject: GDBM > > >Has there been any success using gdbm on both NT and SunOS using the >same data file. I compiled gdbm on NT and on Sun. When I create a >database on Sun and then use it on NT I get the following error: > >gdbm fatal: read error. > >Any help/suggestions. > gdbm needs the file system mounted in binary mode. To do this you use "mount -b". For more help on text=binary vs. text!=binary see the mail archives for September at http://www.cygnus.com/ml/gnu-win32 . - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- PS: I had sent this to Dwayne but his mailer thought that it was from a spammer. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Wed Oct 8 14:47:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: How to build an DLL ? Message-ID: <19971008112212.9107.qmail@hotmail.com> >Date: Tue, 07 Oct 1997 19:00:59 +0400 >From: flam >To: gnu-win32@cygnus.com >Subject: How to build an DLL ? > >Hi everybody, > > >I have created several functions in a file MY_LIBRARY.C > >I would like to create MY_LIBRARY.DLL. How can i do ? >Apparently i would have first to create a .DEF : > echo EXPORTS > MY_LIBRAIRIE.DEF >Then nm >Then ld --base-file >Then dlltool <) >I tried different maners and it does'nt work... > > >What is the difference between relocatable DLL and non-relocatable DLL ? > The URL http://www.cygnus.com/misc/gnu-win32/ will point you to the documentation available. See the section titled "Is there any documentation available?". - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurley@wyoming.com Wed Oct 8 14:47:00 1997 From: ccurley@wyoming.com (Charles Curley) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: [IIS] E/S standards via la console References: <3435DC63.35D8@oceanes.fr> <3.0.2.32.19971006162748.007f5100@mailhost.wyoming.com> <3439D1CE.2C03@oceanes.fr> Message-ID: <3.0.2.32.19971007185841.00970e30@mailhost.wyoming.com> At 10:08 AM 10/7/97 +0400, flam wrote: >Hi everybody, > > >I test to write in english (Sorry in advance). Your english is fine. It's better than some native speakers' english. > >I thank you for yours answers and Michael for his translation. > > >>Charles Curley wrote: >> >> (...) >> The only "IIS" I know about is Microsoft's Internet Information Server, >> which comes as a freebie with NT 4.0. Is that the one to which you are >> referring? > >Yes. > > >> Unfortunately, I have no idea what the E/S standards are to which you >> refer. Anyone else? > >I have readed "Golden book - Windows NT 3.5 Programmation" by Brian >Myers & Eric Hamer. (I don't know if it's the original title). > >In Chapter 17 - API of console, the I/O standards is : CONIN$ (equal >stdin) and CONOUT$ (stdout) using with CreateFile(). > >I hav'nt find example for use in this book. OK, that helps. stdin, stderr and stdout are three "files" that are always open for any C program. You should not need to run CreateFile to open them. stdin and stdout are re-directable, i.e. on the command line you can send the output to a file or another process. Stderr is also redirectable under most shells (redirection being a shell function, not a program function). What happens with a CGI program is this: the user input is formatted by the browser and shipped back to the server appended to the URL for a CGI program. The server feeds it to the program. The program picks up the input, some times from the environment, some times from stdin. It processes the data. All output that is intended for the user goes to stdout. Anything the programmer wants to have the server log goes to stderr. The server ships the stdout output to the browser verbatim. The server is the CGI program's shell. > > > >> I have used IIS Version 2, and recommend you stay away from it. Version 3 >> should be better. I do not believe either one runs on W95, but I have not >> tried it. >> (...) > >Even if CONIN$ and CONOUT$ don't exist with WindowsNT 4, it is possible >to create a C program to communicate with IIS (or any Internet Server). > MY_PROGRAM.EXE <--> C_PROGRAM_I/O <--> IIS CONIN$ and CONOUT$ do exist on VC++ 5.0 (They reside in the compiler libraries, not the OS). Read about consoles in Windows Base Services to find out what they do. I've never used them on VC++. On the basis of a brief reading of the doc, I think you can ignore them. Use stdin, etc. > >I want not to use IIS with Windows95. Actually i use Windows95 and >OmniHTTPd (Server). If my C program run with him, this program will run >with WindowsNT and IIS, i think. It should. I have Omnihttpd v 1.01 (1997), their last free version. It does have some problems with server side includes, but their interface to perl appears to work quite well. Their C sample CGI programs all work. You do need to specify the paths and do other setup, but that is documented. IIS supports the same interface, so anything that works on Omnihttpd should work with IIS. > > > >Other question concerning the console : The golden book indicate that >the option of compiling is : -subsystem:console >Have Gnu-win32 an equivalent of this option ? Anyone else? This is a MS VC++ option which forces the linker to use the command line start-up code for a command line (console) program, as opposed to the default of a GUI program. My experience with gcc is on linux. There the default mode is command line (console). >PS : I'm sorry if my text is direspectful, it's not my objective. >My "english" is very bad. Your writing is not disrespectful, and your english is quite good. Stick around, and you will pick up more and learn a lot. If you have any more questions about web servers, drop me a private note, as they are off topic here. However, this is a good place for questions about gcc on WNT/W95. -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From eric@cebnet.CEB.McMaster.CA Wed Oct 8 14:47:00 1997 From: eric@cebnet.CEB.McMaster.CA (Eric G. Bosch) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: Sun RPC / XDR port Message-ID: <199710082013.QAA17827@oberon.> I'm looking for a port of Sun's (ONC) version of the RPC / XDR mechanism to gnu-win32. Can anyone provide information? Alternatively, can anyone share experience in compiling with the Microsoft RPC / NDR libraries and gnu-win32? Does this work, and if so how is it done? Thanks in advance, Eric Bosch McMaster University egbosch@mcmaster.ca - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jont@harlequin.co.uk Wed Oct 8 14:47:00 1997 From: jont@harlequin.co.uk (Jon Thackray) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: How to build an DLL ? References: <343A4EAB.F80@oceanes.fr> Message-ID: <199710081026.LAA02419@zaphod.long.harlequin.co.uk> flam@oceanes.fr writes: > Hi everybody, > > > I have created several functions in a file MY_LIBRARY.C > > I would like to create MY_LIBRARY.DLL. How can i do ? > Apparently i would have first to create a .DEF : > echo EXPORTS > MY_LIBRAIRIE.DEF > Then nm nm | grep (see the website) > Then ld --base-file ld creates .base files. > Then dlltool <) > I tried different maners and it does'nt work... It does work, very well in fact. I suggest you visit the cygnus webiste at http://www.cygnus.com/misc/gnu-win32/ and read the article on building relocatable dlls. > What is the difference between relocatable DLL and non-relocatable DLL ? A relocatable dll is one that can be relocated by the loader during program startup. Relocation is required if two dlls try to live in the same place in memory. If you have two such dlls and the second one loaded can't be relocated, your program will get an initialisation error. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fritz.heinrichmeyer@FernUni-Hagen.de Wed Oct 8 14:47:00 1997 From: fritz.heinrichmeyer@FernUni-Hagen.de (Fritz Heinrichmeyer) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: bash and non us keyboard Message-ID: thank you, your information about the AltGr keys should go into the FAQs! - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From abirjandi@fr.ibm.com Wed Oct 8 14:47:00 1997 From: abirjandi@fr.ibm.com (Abbas Birjandi) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: CGI using gcc Message-ID: <5060200005471053000002L032*@MHS> FormName: SwipeFrom: Abbas Birjandi/France/IBM @ IBMFR ValidationTesting: 0 oldfrom: Abbas Birjandi/France/IBM Hi, I have a written a cgi code that compiles fine with gcc. But when I try it along my html page, I get the error that the CGI did not retrun correct header info... However, the same program compiled by MS C++ compiler, works fine and I do not get any such errors. I am running Windows NT 4.0 workstation. Can anyone help? Have you compiled any CGI using gcc that works? Thanks for the help. regards, Abbas - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From diddit@initco.net Wed Oct 8 14:47:00 1997 From: diddit@initco.net (Dan Davis) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: GNUPro C/C++ Compiler and Debugger Message-ID: <01bcd433$c2010a80$5daea2cd@dandavis> When I run gcc I get this: " GCC.EXE: instalation problem, cannot exec 'C:\CCYGNUS\H-i386-cygwin32\lib\ ???? ???? gcc-lib\i386cygwin32/cygnus-2.7.2-961023/../../../../i386-cygwin32/bin/as.exe': Not Owner ???? GCC.EXE: Internal comiler error: program as got fatal signal 127 " ???? What is the problem? ???? I purchased the " Teach your self C in 24 Hours " Complete starter kit which uses the GNUPro C/C++ Compiler and Debugger. ???? The book boastes that this is writen for the complete beginner, but the software has no operating instructions what so ever, and the FAQ & other Docs supplied with the CD-ROM are writen in terms that no beginner I know could understand. I had to call (Long Distance at My Expense) SAMS Publishing support to get just a little help.txt on how to install and run. I would appriciate a Manual of sum sort that explains the operation and function of this program, error codes, trubble shooting, etc. ???? I am running a 486DX-4, 100Mhz, 20MB RAM, Windows 95 OEM2 ???? PLEASE HELP!!!!!! Dan Davis diddit@initco.net From kkont@estia.iit.nrcps.ariadne-t.gr Wed Oct 8 14:47:00 1997 From: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovassilis) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: Consistent mode of file-opens Message-ID: <9710081631.AA00454@estia.iit.nrcps.ariadne-t.gr> Hello, fellows! Although it's several months I 've joined the list, this is my first stand-up-and-talk time; so, I guess, before anything else, I should send a couple of sincere THANK-YOU words both to the CYGNUS people and to the many persons on this list that keep on improving gnu-win32. The purpose of this message is the expression of my worries on the consistency of binary/text modes of opened files. Extensive (maybe too extensive) discussions have taken place on this subject and I definitely wouldn't want this message to regurgitate things already said. Thus, I consider all past discussions on default binary vs text translations an already known background and I 'm going to build on the (apparently now permanently adopted) proposition that the default file-open mode is determined by the mount-table flags in the registry. Consider now a system setup where all mount points have been flagged as binary. (As previous discussions on this list have fully explained, such a setting is virtually necessary, if binary-file-oriented applications are to behave properly without being individually modified.) The problem is that stdin, stdout and stderr are still opened in text mode. This breaks redirection and pipe operations dealing with binary data. Things like gunzip -c file.tar.gz | tar xvf - or tr < binfile -d some-funny-char | split or cat pieces of a big bin file > wholefile do no work properly, as is well known to most participants in this list. I find this a major flaw: redirections and pipes should be transparent to the operation of programs (and this includes programs operating on binary files). Why don't std{in,out,err} obey the default translation mode? Well, I haven't heard of an explicit reason for this, but I suppose a good reason is that these streams are by default connected to the console, and the console is inherently text-oriented. The default keyboard drivers forward lines ended by / and ^Z is valuable for signifying EOF from the keyboard. Furthermore, the default console driver requires / pairs to properly display lines on the screen. So, in effect, opening in text mode is the right thing to do, as long as the standard streams are connected to the console. However, if these streams are redirected, the streams should be opened in binary mode, if the rest of file opens have been setup so. There is some time that it has occurred to me that the right mode is not hard to find out, given the function isatty(). Try it out for yourselves; save this little program: #include #include #include void check_fd(int fd, FILE *ofp) { if (isatty(fd)) fprintf(ofp, "fd %d IS a tty:\t%s\n", fd, ttyname(fd)); else fprintf(ofp, "fd %d is NOT a tty\n", fd); } int main(int argc, char *argv[]) { /* where to report */ FILE *ofp = (argc > 1 && strcmp(argv[1], "-1") == 0) ? stdout : stderr; check_fd(0, ofp); check_fd(1, ofp); check_fd(2, ofp); } compile it to produce, say, test4tty, then try: test4tty test4tty > file test4tty < file echo | test4tty test4tty | cat with same results in all of COMMAND.COM, 4DOS and bash. In bash you may further wish to try things like test4tty < /dev/null test4tty -1 2>file test4tty < /dev/null 2>&1 | cat echo `test4tty` and you will see that isatty() does a pretty good job. Similarly, things work consistently with popen()/pclose(). So, this brings up the following question: couldn't the start-up code (maybe just before handing over to main, or at any other appropriate point) do things like: if (!isatty(0)) _setmode(0, O_BINARY); (and similarly for descriptors 1 and 2) if the default mode for (say) the root drive is binary? Or, if you don't like the "root" drive convention, add provision for a new registry key, governing the standard streams when they are !isatty(), this registry key being settable by some extended notation in the mount command. It seems so obvious to me that I 'm quite surprised that no-one else saw it before me. The feasibility of my solution, however, is purely speculative, as I haven't access to the source code. Maybe I 'm foolishly ignorant of some other major issue that prevents this solution :-) If so, I would definitely want to hear about it. Best regards, Kimon ----------------- Dr. Kimon Kontovasilis, Institute for Informatics & Telecommunications, National Center for Scientific Research Demokritos, GR-15310 AG. PARASKEVI ATTIKIS, PoB 60228, Greece - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From haack@ast.lmco.com Wed Oct 8 14:47:00 1997 From: haack@ast.lmco.com (Brad Haack) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: math lib, gamma, y0 Message-ID: <343BC4E3.923@ast.lmco.com> Whats up with these functions in the math lib? These aren't part of GCC on other platforms that I'm aware of, why are they here? I'm trying to port some code built on a SUN with GCC which uses variables with these names and I'm getting warnings. >From math.h: extern double gamma _PARAMS((double)); extern double gamma_r _PARAMS((double, int *)); extern double lgamma _PARAMS((double)); extern double lgamma_r _PARAMS((double, int *)); extern double y0 _PARAMS((double)); extern double y1 _PARAMS((double)); extern double yn _PARAMS((int, double)); extern double j0 _PARAMS((double)); extern double j1 _PARAMS((double)); extern double jn _PARAMS((int, double)); Brad Haack haack@ast.lmco.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jont@harlequin.co.uk Wed Oct 8 14:47:00 1997 From: jont@harlequin.co.uk (Jon Thackray) Date: Wed, 08 Oct 1997 14:47:00 -0000 Subject: How to build an DLL ? References: <343A4EAB.F80@oceanes.fr> <199710081026.LAA02419@zaphod.long.harlequin.co.uk> Message-ID: <199710081033.LAA02433@zaphod.long.harlequin.co.uk> Jon Thackray writes: > flam@oceanes.fr writes: > > Then dlltool <) > > I tried different maners and it does'nt work... > > It does work, very well in fact. > > I suggest you visit the cygnus webiste at > http://www.cygnus.com/misc/gnu-win32/ and read the article on building > relocatable dlls. Also look at http://www.cs.mu.oz.au/~fjh/gnu-win32 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Thu Oct 9 12:13:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Thu, 09 Oct 1997 12:13:00 -0000 Subject: Consistent mode of file-opens Message-ID: <19971009191302.24151.qmail@hotmail.com> >From: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovasilis) >Subject: Re: Consistent mode of file-opens >To: earnie_boyd@hotmail.com (Earnie Boyd) >Date: Thu, 9 Oct 1997 17:09:16 +0200 (EET) >Cc: gnu-win32@cygnus.com ---snip--- >I guess this renders obsolete most of my original message. However, since >all individual utilities work adequately well with the other dos-oriented >shells and since all the shells that I know of support redirection and >(simulated) pipes, it would be nice if the proper file mode selection worked >on these shells too. > I believe that the redirection file modes are controlled by the shells themselves. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From weo@recco.de Thu Oct 9 13:29:00 1997 From: weo@recco.de (Wolfgang Ocker) Date: Thu, 09 Oct 1997 13:29:00 -0000 Subject: Program runs on Win95 but not NT! (partial solution) Message-ID: <343D3972.F74B6392@recco.de> Greetings! About two weeks ago I reported problems when running gnuwin32 compiled programs under NT (NT refused to start them). I've found a partial solution: the linker option -S causes the linker to omit the .stab and .stabstr (debug info) sections from the binary ... and voila, the programs run! NT seems not to like these sections. Unfortunately, debugging becomes harder ... Thanks to Jean-Philippe Chancelier and Pedro A. Aranda Gutierrez for their help! Wolfgang -- | Wolfgang Ocker | D-86576 Schiltberg-Rapperzell | weo@recco.de | | reccoware systems | Phone +49-8259-1048, Fax 1049 | How do we sleep ...? | - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Anthony@computronix.com Thu Oct 9 13:38:00 1997 From: Anthony@computronix.com (Anthony Tuininga) Date: Thu, 09 Oct 1997 13:38:00 -0000 Subject: Licensing Issue Message-ID: <408173704E9ED011A9DB00009296CA00154DD2@alpha.computronix.com> According to the FAQ, the Cgywin API is covered by the GPL, which means that any work which includes the Cygwin API must be under the GPL itself. However, this doesn't seem quite right to me -- the Cygwin API is a LIBRARY and as such, the cygwin.dll and its source ought to be under the LGPL, which allows inclusion of cygwin.dll in applications without the requirement of providing source for said application. So.....my questions for this list are: Is the FAQ correct when it says that the Cygwin API is under the GPL? If so, does this mean that any application/utility which I write must have source provided to customers? Is there any possibility of the license being changed to LGPL? Can anyone give me a definitive answer to these questions? Anthony Tuininga - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From myanez@fenix.innova.capgemini.es Thu Oct 9 13:38:00 1997 From: myanez@fenix.innova.capgemini.es (myanez) Date: Thu, 09 Oct 1997 13:38:00 -0000 Subject: GNU programs Message-ID: <343CAE92.5B04@fenix.innova.capgemini.es> Hello, Recently I downloaded your beta version of GNU (b18), to evaluate it. I want to migrate some programs from a unix system (made with the Solaris GNU) to my NT system. I can compile and link my program but it don????t works correctly. The problem is that I use the signal and alarm functions. For example: signal(SIGALRM, catcher_function); alarm(5); The problem is that the program never execute the function "catcher_function" after the time established by the alarm function. (This program run perfectly in unix). The same occurs with the function kill. ???? What must I do to use this functions ? ???? Must I write the program on a different way or use other functions ? ???? WINDOWS NT support this features ? I'll hope that you can explain me, what is the problem. I am very interested in your project. Thank you very much. Mario Ya????ez (note: my Email is myanez@capgemini.es). - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From d95maa@csd.uu.se Thu Oct 9 13:38:00 1997 From: d95maa@csd.uu.se (Magnus Ahlkvist) Date: Thu, 09 Oct 1997 13:38:00 -0000 Subject: Help - unsubscribe References: <01bcd3e3$b87bf6a0$3408b9ce@local.localhost> Message-ID: <341C6553.62BBB104@csd.uu.se> ???? Christopher Nalley wrote: ???? email gnu-win32-request is not getting me off this list. Please unsubscribe???????? @247Sports.aye.net ???? Hmm... same goes for me. The majordomo don't take me off the list, although I've received a reply with a remove succesful message... d95maa@csd.uu.se From avernet@scdi.org Thu Oct 9 13:38:00 1997 From: avernet@scdi.org (Alessandro Vernet) Date: Thu, 09 Oct 1997 13:38:00 -0000 Subject: Assembler error Message-ID: <343D3448.85418226@scdi.org> I am trying to port the Newton ( http://diwww.epfl.ch/w3lco/Newton/ ) compiler to Windows NT. When compiling one of the source files of the compiler with gcc of the GNU-Win32 package (beta 19) I am getting the following error message (see below). Note that I have no problem compiling this file under Linux (also with gcc 2.7.2) or Digital UNIX. I will finally add that the source file I am trying to assemble takes about 15 Mb (the original C file was about 7 Mb). bash$ gcc -c sep_cfront_end.s BFD: sep_cfront_end.o: reloc overflow: 0x5815e > 0xffff sep_cfront_end.s: Assembler messages: sep_cfront_end.s:886904: Error: bfd_coff_swap_scnhdr_out failed gcc: Internal compiler error: program as got fatal signal 1 Thanks for your help, Alex -- +-------------------+--------------------------------------------------+ | Alessandro VERNET | email: avernet@scdi.org or avernet@di.epfl.ch | | Longeraie 3 | ProOnline Central Mail System. Non profit org. | | CH-1006 Lausanne | WWW pages: http://diwww.epfl.ch/~avernet/ | +-------------------+--------------------------------------------------+ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From desh@orp.pdc.com Thu Oct 9 15:19:00 1997 From: desh@orp.pdc.com (desh) Date: Thu, 09 Oct 1997 15:19:00 -0000 Subject: How To find what is Implemented Message-ID: <199710090900.OAA29889@marina.orp.pdc.com> Hi, Is there a way or a document available to find out which all Unix systems calls have been ported in b18. (and are working fine ). Do we have defect list some were ? thanks -desh - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Thu Oct 9 15:19:00 1997 From: garbanzo@hooked.net (Alex) Date: Thu, 09 Oct 1997 15:19:00 -0000 Subject: ... called, and it's not done yet References: <3.0.1.32.19971008161952.00ded2f0@pop1.hpl.hp.com> Message-ID: On Wed, 8 Oct 1997, Geoffrey Brown wrote: > I get messages similar to this when running less and starting rxvt. > In the case of less, when I try to search for a regular expression: > > regcomp called, and it's not done yet. > > In the case of rxvt > > seteuid called, and it's not done yet > > Any ideas how to avoid these ? To me those messages are a little ambiguious, but all it's telling you is that the function (say seteuid) is just a stub, that does nothing (at the moment). Unless you edit the source and comment out those lines (stub.cc or similar) there's no way around this. Perhaps if a syslog daemon is ever ported..... - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fjh@cs.mu.oz.au Thu Oct 9 15:19:00 1997 From: fjh@cs.mu.oz.au (Fergus Henderson) Date: Thu, 09 Oct 1997 15:19:00 -0000 Subject: ... called, and it's not done yet References: <3.0.1.32.19971008161952.00ded2f0@pop1.hpl.hp.com> Message-ID: <199710090735.RAA21717@mundook.cs.mu.OZ.AU> You write: >I get messages similar to this when running less and starting rxvt. >In the case of less, when I try to search for a regular expression: > > regcomp called, and it's not done yet. > >In the case of rxvt > > seteuid called, and it's not done yet > >Any ideas how to avoid these ? These messages indicate that a certain function, e.g. regcomp() or seteuid(), has not yet been implemented. To fix them, download the gnu-win32 source, grep the sources to find wheter the function is defined, implement it, build a new cygwin.dll with your modified sources, test it, and then if all goes well mail a patch to the gnu-win32 mailing list. Simple really ;-) -- Fergus Henderson | "I have always known that the pursuit WWW: < http://www.cs.mu.oz.au/~fjh > | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fritz.heinrichmeyer@FernUni-Hagen.de Thu Oct 9 15:19:00 1997 From: fritz.heinrichmeyer@FernUni-Hagen.de (jfh) Date: Thu, 09 Oct 1997 15:19:00 -0000 Subject: pipe in text mode Message-ID: <343CD037.400EB873@fernuni-hagen.de> with the gnu-win32 bash (newest patch) find . -type f -mtime -1 | tar cvvzf backup.tgz -T - did not work. The command worked with the NT standard shell instead. -- Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de FernUniversitaet Hagen, LG Elektronische Schaltungen, 58084 Hagen (Germany) tel:+49 2331/987-1166 fax:987-355 http://ES-sun1.fernuni-hagen.de/~jfh PGP fingerprint (mail for key): 160BDF84 3F2F63C0 5CA20D31 3E42D116 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From colin@bird.fu.is.saga-u.ac.jp Thu Oct 9 15:19:00 1997 From: colin@bird.fu.is.saga-u.ac.jp (Colin Peters) Date: Thu, 09 Oct 1997 15:19:00 -0000 Subject: corruption in socket layer? Message-ID: <01BCD4DF.0C74ADA0@gbird0> Khosla, Deepak[SMTP:DKhosla@Compaq.com] wrote: >We ran into a similar (yet different) problem - with WINSOCK you >cannot guarantee that on a close all the data is flushed. You better >do some application level handshaking. We saw that even if we did a >close with a timeout period, the lower level never told you whether >the timeout expired or whether the data was actually sent. It appears >that the state goes to FIN_WAIT even though a FIN has not been sent >out and then a close is successful!. The condition we saw this in was >if the remote had set the window size to zero while at the same time >we had only enough data left that would fit in the internal TCP >buffers. We would do a close, it would return successful and we would >go on trying to establish a new connection to the same remote and it >would send a reset back since from its point of view, the previous >session was alive. > >The bug was reported to MS a few months back - no response other than >that's how Winsock works :-) I don't want to start any big arguments, but, if you are using Winsock, and according to how I read the documentation I have available to me, that *is* how Winsock works... which is not to say that's good but... Even if you use setsockopt to turn off SO_DONTLINGER (which is on by default) and set a SO_LINGER timeout there is no guarantee that the data waiting in the TCP buffer has been sent when closesocket returns. I would expect closesocket to return WSAETIMEDOUT in such a case, but the documentation doesn't say that it should. Perhaps a newer version of the spec says that it will and in order to force a close you have to set SO_LINGER l_linger option to zero, but that type of thing isn't mentioned anywhere in the spec I have. It just says that closesocket waits until the timeout is up (if any) and then closes the connection, even if data is waiting (and obviously one shouldn't send a FIN if there is TCP data waiting to be sent... well, I guess that's obvious). If the WSAETIMEOUT (or some other) error was used, then at least we could be sure that the data got through if we didn't get a timeout. The man pages on the Sun here aren't clear on this point either (they don't indicate that a close will return ETIMEDOUT in such a case, or ever, and the setsockopt page does not discuss what happens exactly when the timeout expires for a SO_LINGER set socket when it is closed). >From Winsock's (or sockets') point of view when the application calls close it is saying (I think) "I am finished with this connection completely, free up the resources associated with it." You can't do anything with a socket after closesocket returns, but it would still be worth it to return a timeout error, so that applications could notify the user of improperly terminated connections. However, the specs don't seem to say anything about it. The way it is I suppose it is correct to say that applications must do some final handshaking to ensure that data transfer is complete, but I don't think it is, directly, the implementation's fault. Colin. -- Colin Peters - Saga Univ. Dept. of Information Science -- colin@bird.fu.is.saga-u.ac.jp - finger for PGP public key -- http://www.fu.is.saga-u.ac.jp/~colin/index.html -- http://www.geocities.com/Tokyo/Towers/6162/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From casley@ca.merl.com Thu Oct 9 15:49:00 1997 From: casley@ca.merl.com (Ross Casley) Date: Thu, 09 Oct 1997 15:49:00 -0000 Subject: Gnu-win32 beta release 18: make bug - 'export' has no effect Message-ID: <343D5F7D.3809@ca.merl.com> I've recently installed b18, and I'm having problems because the 'export' command in make seems to do nothing. That is, following FOO = bar baz export FOO any sub-make's expand $(FOO) to null. It doesn't work this way on Solaris, and I don't see what I could be doing wrong. Any tips would be appreciated. -Ross Casley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From erics@eastman.com Thu Oct 9 15:49:00 1997 From: erics@eastman.com (Smith, Eric) Date: Thu, 09 Oct 1997 15:49:00 -0000 Subject: FW: RE: make problem Message-ID: Eric M. Smith telephone : (423) 229-2254 profs/officevision : XGIB003 internet -- business : erics@eastman.com internet -- personal : burnsun@tricon.net Do not meddle in the affairs of wizards, for they are quick to anger. Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup. >-----Original Message----- >From: Smith, Eric >Sent: Wednesday, October 08, 1997 8:36 AM >To: 'hmwang@csit.edu.cn' >Subject: RE: make problem > >I also am interested in a port of PostrgeSQL to NT, unfortunately, I >don't have time to work on it. > >I copied your examples and tried to build. I also added a main() to see >what would occur. > >The only way I could compile and get the output without a stack trace >was to alter the C:\test\makefile as follows > > OBJS= common/heaptuple.o gist/gist.o > >With this in mind, I think you are having a problem with ld and it's >command line arguments. Check them out and make sure you only want > "-r -o SUBSYS.o {$OBJS)" > >You may need additional arguments based on the linking problems we've >seen. > >Eric M. Smith >telephone : (423) 229-2254 >profs/officevision : XGIB003 >internet -- business : erics@eastman.com >internet -- personal : burnsun@tricon.net > >Do not meddle in the affairs of wizards, for they are quick to anger. >Do not meddle in the affairs of dragons, for you are crunchy and taste good >with ketchup. > > >>-----Original Message----- >>From: Yang Shuqiang [SMTP:hmwang@csit.edu.cn] >>Sent: Monday, October 06, 1997 7:42 PM >>To: gnu-win32@cygnus.com >>Subject: make problem >> >>help! >>I want to use gnuwin32 to port postgresql to winNT. But when i run >>gmake,some errors exists. Now I build a simple project which has the same >>errors as the porting of postgresql. The project is list below in details. >>Can anybody know how to resolve this problem? The files and directories are >>organized as follows: >> / heaptuple.c >> / common - makefile >> / / gist.c >>c: - test -- gist - makefile >> \ makefile >> >>The contents of these files are as follows: >>1. c:\test\common\heaptuple.c: >> int ComputeDataSize() { return 1; } >> >>2. c:\test\common\makefile: >> OBJS = heaptuple.o >> all: SUBSYS.o >> SUBSYS.o: $(OBJS) >> $(CC) -r -o SUBSYS.o $(OBJS) >> >>3. c:\test\gist\gist.c: >> void gistbuild(){} >> >>4. c:\test\gist\makefile: >> OBJS = gist.o >> all: SUBSYS.o >> SUBSYS.o: $(OBJS) >> $(CC) -r -o SUBSYS.o $(OBJS) >> >>5. c:\test\makefile: >> OBJS = common/SUBSYS.o gist/SUBSYS.o >> all: submake SUBSYS.o >> SUBSYS.o: $(OBJS) >> $(LD) -r -o SUBSYS.o $(OBJS) >> submake: >> $(MAKE) -C common SUBSYS.o >> $(MAKE) -C gist SUBSYS.o >> >>When i make the project under gnuwin32, it reports the following errors: >>c:\temp> make >>make -C common SUBSYS.o >>gcc -c heaptuple.c -o heaptuple.o >>gcc -r -o SUBSYS.o heaptuple.o >>make -C gist SUBSYS.o >>gcc -c gist.c -o gist.o >>gcc -r -o SUBSYS.o gist.o >>ld -r -o SUBSYS.o common/SUBSYS.o gist/SUBSYS.o >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) In >>cygwin_except_handler >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) >>Exception trapped! >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) >>exception C0000005 at 42703A >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE >>1016) exception: ax 49E8ED0 bx 45E92DC cx 49E8ED0 dx >>427034 >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) exception: si >>45D7A84 di 45D7A84 bp 257F150 sp >>257F150 >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) exception is: >>STATUS_ACCESS_VIOLATION >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) >>Stack trace: >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 0: sp >>= 0x257EF68, pc = 0x1000CEC2 >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE >>1016) frame 1: sp = 0x257EF84, pc = >>0xBFF766B8 >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 2: sp = >>0x257EFA8, pc = 0xBFF85C48 >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE >>1016) frame 3: sp = 0x257F040, pc = >>0xFFECBAD7 >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 4: sp = >>0x257F150, pc = 0x43558A >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) >>frame 5: sp = 0x257F1A8, pc = >>0x437BF6 >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 6: sp = >>0x257F1F8, pc = 0x41AC9D >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) >>frame 7: sp = 0x257F334, pc = >>0x41AFCB >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 8: sp = >>0x257F348, pc = 0x4178DA >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) >>frame 9: sp = 0x257F36C, pc = >>0x422E32 >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 10: sp = >>0x257F3F0, pc = 0x43838A >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) >>frame 11: sp = 0x257F47C, pc = >>0x437FDB >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 12: sp = >>0x257F494, pc = 0x437F9F >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) >>frame 13: sp = 0x257F4A4, pc = >>0x412B3C >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) frame 14: sp = >>0x257F4C4, pc = 0x413010 >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) >>frame 15: sp = 0x257F4EC, pc = >>0x414F47 >>(C:\GNUWIN32\B18\H-I386-CYGWIN32\BIN\LD.EXE 1016) End of stack >>trace (more stack frames may be present) >>make: *** [SUBSYS.o] Error 2 >> >>I needs your help! Thanks! >>S.Q.Yang >>- >>For help on using this list (especially unsubscribing), send a message to >>"gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jont@harlequin.co.uk Thu Oct 9 15:49:00 1997 From: jont@harlequin.co.uk (Jon Thackray) Date: Thu, 09 Oct 1997 15:49:00 -0000 Subject: Bad linker behaviour References: <199710061729.NAA29946@tweedledumb.cygnus.com> <199710070945.KAA09363@zaphod.long.harlequin.co.uk> <199710081759.NAA09713@tweedledumb.cygnus.com> Message-ID: <199710090850.JAA04018@zaphod.long.harlequin.co.uk> ian@cygnus.com writes: > In gnu-win32 jont@harlequin.co.uk (Jon Thackray) writes: > > >This means that all link failures will report the actual symbol name, > >which may not be so good for C++ but will work better for all other > >users of ld. If ld is invoked standalone, this is definitely the way > >it should behave (I also object to it stripping a leading _ from the > >names it reports, this is making an assumption that the object files > >I've linked have come from a C compiler which is untrue in my case). > >If ld wishes to be more sophisticated in the cases where it is invoked > >from gcc or g++, then it should be given additional command line > >information requesting this behaviour, rather than doing this by > >default. > > The normal case of using the linker is for C and C++ programs. When > linking such programs, the linker should report symbols using names > that are meaningful for C and C++. I agree with this. > I would have no objection in principle to making this depend upon a > command line option. Unfortunately, compilers traditionally do not > pass any such command line option. gcc must work with either a native > Unix linker or the GNU linker. It can not pass a command line option > that will only be understood by the GNU linker. Therefore, I don't > see any way to make this work correctly based on a command line > option. > > My conclusion is the reverse of yours: we should provide a command > line option which turns off the symbol name demangling. Ok, I would be happy with this. I suggest one option to turn off C++ style mangling, and one to turn off underscore stripping. The language I am working with does not do either of these. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gbrown@hpl.hp.com Thu Oct 9 15:49:00 1997 From: gbrown@hpl.hp.com (Geoffrey Brown) Date: Thu, 09 Oct 1997 15:49:00 -0000 Subject: Direct IO Access with cygwin32? References: Message-ID: <3.0.1.32.19971009083219.00d8b3c0@pop1.hpl.hp.com> It's a pleasure for once to have an opportunity to answer rather than ask questions on this list. Direct I/O on NT and Windows 95 boxes is not just a gcc problem. NT does not support direct I/O without a device driver -- a significant development effort. There are a couple of "generic" device drivers available commercially (there was one distributed freely for non-comercial use, but I've lost that link). I've used one from Bluewater systems with reasonable success. On windows 95 there is not as much protection placed in your way by the OS, but the best solution is still a Vxd (a device driver). Again, I'd use a commercial driver. If you want a real adventure, you could get the DDK from microsoft (by subscribing to their technical support). I wouldn't recommend that path for your application. Geoffrey At 10:13 PM 10/7/97 +0200, Josef Wolf wrote: >Hello! > >I have read through the FAQ and through the archives of the cygwin-list but >could not find an answer to my problem. > >I need to do some direct IO access (drive an EPROM programmer over the >printer port). The only hint I could find in the archive was a question >about the function DirectIoControl(). > >Could someone point me to documentation (or some example code) which >describes how direct IO access is to be done? > >Thanks in Advance! >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ------------------------------------------------------------------------ Geoffrey Brown Research Scientist HP Labs Cambridge 1 Main Street 10th Floor Cambridge, MA 02142 (617) 679-9338 (617) 679-9330 (fax) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From lamb@sparta.com Thu Oct 9 15:57:00 1997 From: lamb@sparta.com (Patrick Lamb) Date: Thu, 09 Oct 1997 15:57:00 -0000 Subject: Installation instructions: suggestions Message-ID: <3.0.3.32.19971009084659.007b3db0@huntsville.sparta.com> I recently downloaded the b18 release, the split version, and ran into a problem with invalid files. After a bit of head-scratching, I moved the files over to a Linux box and ran the md5sum checksums on the files, and compared against the checksums posted on the ftp site. As you've probably guessed if you've read this far, one didn't match. I merrily ftp'ed the bad file over again, and this time it worked. But I hate to think of what things would have been like if I didn't have the Linux md5sum! Only another 3-5 hours of grabbing the whole kit and kaboodle again... So, in addition to the tar and gzip executables, how about posting an md5sum executable among the utils? And unfortunately, the md5sum file on the ftp site did matched neither the checksums nor the number or names of files in the CDK source distribution. Could somebody (Geoff?) fix this, please? Pat lamb@huntsville.sparta.com (205) 837-5282 x1253 voice, (205) 830-0287 FAX PGP key fingerprints: RSA 9EFE 9490 CFFD 845C 5D79 BF0C 960A 4BAB DH (new) 6EB8 1806 5D0C 4D53 3E00 D562 9853 28F8 8F04 A6D9 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ajs@stissbs.kordic.re.kr Thu Oct 9 15:57:00 1997 From: ajs@stissbs.kordic.re.kr (=?EUC-KR?B?vsjBpLz2?=) Date: Thu, 09 Oct 1997 15:57:00 -0000 Subject: [HELP] how to build DLL with gnu-win32 Message-ID: <199710090033.KAA14688@stissbs.kordic.re.kr> I would like to port my Unix libraries to Windows NT/95 without making significant changes to the source code. I'm brand new to building DLL's with GNU-WIN32. Unfortunately, I have not found any documentation. Please, let me know... 1. how to build DLL's that make use of the standard Microsoft Win32 API (not Cygwin32 API) 2. how to write another DLL that make use of these DLL's 3. how to write Win32 console or GUI applications that make use of the DLL's 4. where to find any documentation Thanks in advance. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From craft@alacritech.com Thu Oct 9 15:57:00 1997 From: craft@alacritech.com (Peter Craft) Date: Thu, 09 Oct 1997 15:57:00 -0000 Subject: How do I open an NT device driver? Message-ID: <343D62D0.4CC2@alacritech.com> I'm trying to issue an open to a simple NT device driver using the cygwin developement environment and I can't figure out how to do it.. For example, the NT DDK includes source for a "packet driver" which allows a user to connect to a NT protocol driver directly from user space. The included application does this by issueing a call to CreateFile with the unicode device name "\\.\Packet_Packet_". Is it possible to perform this same function using the GNU library? If so, I presume I would perform an "open" instead of the "CreateFile"? If so, what device name do I use? I've tried open("\\\\.\\Packet_Packet_".. but that didn't work. Sorry if this is a stupid question, but I'm a bit stumped here. Thanks very much, Pete - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Thu Oct 9 15:57:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Thu, 09 Oct 1997 15:57:00 -0000 Subject: Consistent mode of file-opens Message-ID: <19971009133008.272.qmail@hotmail.com> >From: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovassilis) >Subject: Consistent mode of file-opens >To: gnu-win32@cygnus.com >Date: Wed, 8 Oct 1997 18:31:19 +0200 (EET) >Cc: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovassilis) > >Hello, fellows! > ---snip--- > >Consider now a system setup where all mount points have been flagged as >binary. (As previous discussions on this list have fully explained, such a >setting is virtually necessary, if binary-file-oriented applications are to >behave properly without being individually modified.) >The problem is that stdin, stdout and stderr are still opened in text mode. >This breaks redirection and pipe operations dealing with binary data. >Things like > > gunzip -c file.tar.gz | tar xvf - You must be executing from the MSDosshell. I've done this sort of operation many times both on WNT3.51 and W95 within BASH without any problems. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kkont@estia.iit.nrcps.ariadne-t.gr Thu Oct 9 16:37:00 1997 From: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovasilis) Date: Thu, 09 Oct 1997 16:37:00 -0000 Subject: Consistent mode of file-opens References: <19971009133008.272.qmail@hotmail.com> Message-ID: <9710091509.AA04964@estia.iit.nrcps.ariadne-t.gr> Dear Earnie, > > >From: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovassilis) > >Subject: Consistent mode of file-opens > >To: gnu-win32@cygnus.com > >Date: Wed, 8 Oct 1997 18:31:19 +0200 (EET) > >Cc: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovassilis) > > > >Hello, fellows! > > > ---snip--- > > > >Consider now a system setup where all mount points have been flagged as > >binary. (As previous discussions on this list have fully explained, > such a > >setting is virtually necessary, if binary-file-oriented applications > are to > >behave properly without being individually modified.) > >The problem is that stdin, stdout and stderr are still opened in text > mode. > >This breaks redirection and pipe operations dealing with binary data. > >Things like > > > > gunzip -c file.tar.gz | tar xvf - > > You must be executing from the MSDosshell. I've done this sort of > operation many times both on WNT3.51 and W95 within BASH without any > problems. > > - \\||// > ---o0O0--Earnie--0O0o---- > -earnie_boyd@hotmail.com- > ------ooo0O--O0ooo------- > you 're indeed true. Thanks for your hint. I just checked and indeed verified that redirections and pipes, from within bash, indeed behave properly. (I must have been remarkably stupid not to try the test in the first place.) I guess this renders obsolete most of my original message. However, since all individual utilities work adequately well with the other dos-oriented shells and since all the shells that I know of support redirection and (simulated) pipes, it would be nice if the proper file mode selection worked on these shells too. Could it be that the start up code would check for a set PID variable and, if not, perform the isatty()/_setmode() trick I was talking about? (If I recall correctly, the PID check-trick is the mechanism used for invoking the globber, when a gnuwin32-based app. runs outside of bash.) Thanks again for your remark. Kimon Kontovasilis, NCSR "Demokritos". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From hhohenner@cisnc.canon.com Thu Oct 9 16:37:00 1997 From: hhohenner@cisnc.canon.com (Hohenner, Hans) Date: Thu, 09 Oct 1997 16:37:00 -0000 Subject: FW: Notification: Inbound Mail Failure Message-ID: <5F404EEF30B3CF11B76B0000000000018933B5@cisncdc.cissv.canon.com> Please forgive this intrusion. I am desperately trying to find a way to get an invalid email address off this mailing list, and am sending this email to the entire mailing list as a measure of last resort. I have tried: 1) Working with the Majordomo system. It reports that the person has been removed successfully, but the mail just keeps pouring on in... 2) Sending mail to postmaster@cygnus.com and abuse@cygnus.com. It doesn't seem to appear that the person who monitors these mailboxes is alive. 3) Calling Cygnus via telephone over this issue. All I get is a clueless secretary, or someone's voicemail in Sales. 4) Doing a whois on the Internic database for contact information for cygnus.com. All that is listed is their domain name and IP address. I'm getting tired of getting abused because Cygnus is not abiding by its responsibilities to monitor the mailing list. The person in the email below is not in our organization any longer. If anyone has any ideas on how to get this person off the mailing list, please let me know. Sincerely, Hans Hohenner email: HHohenner@cisnc.canon.com, phone: 408/342-2334 pager email: page_hans@canon.com, pager phone: 408/951-2467 ---------- From: zzMail Admins Sent: Thursday, October 09, 1997 5:12 AM To: zzMail Admins Subject: Notification: Inbound Mail Failure The following recipients did not receive the attached mail. A NDR was not sent to the originator for the following recipients for one of the following reasons: * The Delivery Status Notification options did not request failure notification, or requested no notification. * The message was of precedence bulk. NDR reasons are listed with each recipient, along with the notification requested for that recipient, or the precedence. Charles_Boatwright@cisnc.canon.com MSEXCH:IMS:Canon Information Systems:CISNC:CISNCDC 0 (000C05A6) Unknown Recipient Precedence: bulk The message that caused this notification was: From dahms@ifk20.mach.uni-karlsruhe.de Thu Oct 9 16:37:00 1997 From: dahms@ifk20.mach.uni-karlsruhe.de (dahms@ifk20.mach.uni-karlsruhe.de) Date: Thu, 09 Oct 1997 16:37:00 -0000 Subject: Consistent mode of file-opens Message-ID: <009BB8A7.EED2E700.25370@ifk20.mach.uni-karlsruhe.de> Hi Kimon, you wrote: : default file-open mode is determined by the mount-table flags in the registry. : The problem is that stdin, stdout and stderr are still opened in text mode. : This breaks redirection and pipe operations dealing with binary data. What about a mount flag in the registry for pipes, too? Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From e9225818@student.tuwien.ac.at Thu Oct 9 16:37:00 1997 From: e9225818@student.tuwien.ac.at (Joachim Eibl) Date: Thu, 09 Oct 1997 16:37:00 -0000 Subject: Header files for libwinmm.a? Message-ID: <343CFB0F.6153@student.tuwien.ac.at> Hi, I'm porting a program from Linux to Win95/NT using gnu-win32. Because I use low level sound routines I have to implement them for each sound system again. In the gnu-win32-distribution the appropriate lib exists (libwinmm.a) but I don't find the include files. In the FAQ under the topic "Why can't we redistribute Microsoft's Win32 headers?" it is mentioned that ".... Fortunately, we have our own Win32 headers which are pretty complete." But I don't know where to find them. The original MS-header don't seem to work with gcc/g++. (afxwin.h and mmsystem.h) The only workaround I know is to use both gcc and msvc for compiling and then linking everything using gcc & ld. Are some appropriate headers anywhere? Joachim PS: Thanks to all GNU contributors out there :-) -- ************************************************** * Joachim Eibl : e9225818@student.tuwien.ac.at * ************************************************** - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Tim.Writer@ftlsol.com Thu Oct 9 16:37:00 1997 From: Tim.Writer@ftlsol.com (Tim Writer) Date: Thu, 09 Oct 1997 16:37:00 -0000 Subject: Sun RPC / XDR port References: <199710082013.QAA17827@oberon.> Message-ID: eric@cebnet.CEB.McMaster.CA (Eric G. Bosch) writes: > I'm looking for a port of Sun's (ONC) version of the RPC / XDR mechanism > to gnu-win32. Can anyone provide information? I don't know of a port to gnu-win32, but there is: http://borneo.gmd.de/~mfg/oncrpc.html A free port of ONC RPC which works with Visual C++ and friends. > Alternatively, can anyone share experience in compiling with the > Microsoft RPC / NDR libraries and gnu-win32? Does this work, and if so > how is it done? I haven't tried it but Microsoft RPC is based on DCE RPC and, therefore, can't interoperate with ONC RPC clients and servers. -- Tim Writer Tim.Writer@ftlsol.com FTL Solutions Inc. Toronto, Ontario, CANADA - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kermit@ticnet.com Thu Oct 9 16:37:00 1997 From: kermit@ticnet.com (Kermit Tensmeyer) Date: Thu, 09 Oct 1997 16:37:00 -0000 Subject: CGI using gcc References: <5060200005471053000002L032*@MHS> Message-ID: <343D1E72.E431181E@ticnet.com> Abbas Birjandi wrote: > > FormName: > SwipeFrom: Abbas Birjandi/France/IBM @ IBMFR > ValidationTesting: 0 > oldfrom: Abbas Birjandi/France/IBM > > Hi, > I have a written a cgi code that compiles fine with gcc. But when I try it > along my html page, I get the error that the CGI did not retrun correct header > info... > However, the same program compiled by MS C++ compiler, works fine and > I do not get any such errors. > > I am running Windows NT 4.0 workstation. The general method to resolving this type of problem is to examine the headers that are being generated. try executing the program from the command line and pass in the correct parameters. examine the contents of the standard out file. examine the headers that the software sends out. You may find that the header is missing a "\n\n" just after the first line. -- ------- Kermit Tensmeyer (IBM E & T - Networking) Kermit@ticnet.com Dallas - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From marcus@bighorn.dr.lucent.com Thu Oct 9 16:37:00 1997 From: marcus@bighorn.dr.lucent.com (marcus@bighorn.dr.lucent.com) Date: Thu, 09 Oct 1997 16:37:00 -0000 Subject: Bad linker behaviour Message-ID: <199710091441.IAA12964@chorus.dr.lucent.com> In reference to ld doing demangling by default, Ian says: >I would have no objection in principle to making this depend upon a >command line option. Unfortunately, compilers traditionally do not >pass any such command line option. gcc must work with either a native >Unix linker or the GNU linker. It can not pass a command line option >that will only be understood by the GNU linker. Therefore, I don't >see any way to make this work correctly based on a command line >option. When gcc compiles a file, there are two symbols that it adds to the object module, `___gnu_compiled_c' and `gcc2_compiled.'. For a C++ file, I see that `__gnu_compiled_cplusplus' and `gcc2_compiled.' are defined. So, it seems that ld could watch for `___gnu_compiled_c' in an object file and flag it for removing the leading '_' on symbols from that module, and if it sees `__gnu_compiled_cplusplus' it would demangle symbols from that object module, otherwise it would leave the symbol alone. Of course, this would have to depend on the source object module, once the modules have started to be combined (or sub-linked via the -r flag) it gets a bit more difficult to pick out what symbols came from where. Does this have much merit? marcus hall - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ian@cygnus.com Thu Oct 9 16:37:00 1997 From: ian@cygnus.com (Ian Lance Taylor) Date: Thu, 09 Oct 1997 16:37:00 -0000 Subject: Bad linker behaviour References: <199710091441.IAA12964@chorus.dr.lucent.com> Message-ID: <199710091505.LAA13344@subrogation.cygnus.com> From: marcus@bighorn.dr.lucent.com Date: Thu, 9 Oct 1997 08:41:54 -0600 When gcc compiles a file, there are two symbols that it adds to the object module, `___gnu_compiled_c' and `gcc2_compiled.'. For a C++ file, I see that `__gnu_compiled_cplusplus' and `gcc2_compiled.' are defined. So, it seems that ld could watch for `___gnu_compiled_c' in an object file and flag it for removing the leading '_' on symbols from that module, and if it sees `__gnu_compiled_cplusplus' it would demangle symbols from that object module, otherwise it would leave the symbol alone. That sounds like a plausible idea to me. I'm not sure how difficult it would be to implement: I believe that there are a number of cases that print a symbol name which do not have any record of which module it was defined in. I don't plan to implement this myself, but I would be happy to look at patches for it. Ian - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From noer@cygnus.com Fri Oct 10 02:17:00 1997 From: noer@cygnus.com (Geoffrey Noer) Date: Fri, 10 Oct 1997 02:17:00 -0000 Subject: test message -- please ignore Message-ID: <199710100552.WAA00680@rtl.cygnus.com> Please ignore -- Geoffrey Noer noer@cygnus.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From neila@iona.com.au Fri Oct 10 02:17:00 1997 From: neila@iona.com.au (Neil Avery) Date: Fri, 10 Oct 1997 02:17:00 -0000 Subject: Version 19b When ?? Message-ID: <3.0.32.19971010130729.00986400@pop.iona.com.au> Hi, Could someone tell me the next version (after 18) is going to be available please ? Thankyou. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Fri Oct 10 02:17:00 1997 From: garbanzo@hooked.net (Alex) Date: Fri, 10 Oct 1997 02:17:00 -0000 Subject: How To find what is Implemented References: <199710090900.OAA29889@marina.orp.pdc.com> Message-ID: On Thu, 9 Oct 1997, desh wrote: > Hi, > > Is there a way or a document available to find out which all Unix systems > calls have been ported in b18. (and are working fine ). > Do we have defect list some were ? I think there's a list of all the functions included with the CDK source, or you can run cygwin.dll through nm or strings and then subtract all the functions in stubs.cc. This still won't tell you how well implemented the calls are though. Which functions were you interested in? - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ian@cygnus.com Fri Oct 10 02:17:00 1997 From: ian@cygnus.com (ian@cygnus.com) Date: Fri, 10 Oct 1997 02:17:00 -0000 Subject: Assembler error References: <343D3448.85418226@scdi.org> Message-ID: <199710100317.XAA27170@tweedledumb.cygnus.com> In gnu-win32 avernet@scdi.org (Alessandro Vernet) writes: >Note that I have no problem compiling this file under Linux (also with >gcc 2.7.2) or Digital UNIX. I will finally add that the source file I am >trying to assemble takes about 15 Mb (the original C file was about 7 >Mb). > bash$ gcc -c sep_cfront_end.s > BFD: sep_cfront_end.o: reloc overflow: 0x5815e > 0xffff > sep_cfront_end.s: Assembler messages: > sep_cfront_end.s:886904: Error: bfd_coff_swap_scnhdr_out failed > gcc: Internal compiler error: program as got fatal signal 1 The i386 PE format uses a 16 bit integer to represent the number of relocations in a single section. This message is telling you that the field overflowed: there are too many relocations in some section of your input file. I think the only solution is to break up the file. You could also try the -ffunction-sections gcc option; I don't know if it works for the i386 PE target, though. Ian - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sharp00@earthlink.net Fri Oct 10 02:17:00 1997 From: sharp00@earthlink.net (rale) Date: Fri, 10 Oct 1997 02:17:00 -0000 Subject: ... called, and it's not done yet References: <3.0.1.32.19971008161952.00ded2f0@pop1.hpl.hp.com> Message-ID: <343D98EA.63AA5877@earthlink.net> These are functions that arent yet implemented, but are included since alot of programs require them to compile. An example: how do you implement seteuid() on Win95?... If you want to avoid them, and have access to the source, put the stuff that calls these functions inside a #ifdef __CYGWIN32__ Geoffrey Brown wrote: > > I get messages similar to this when running less and starting rxvt. > In the case of less, when I try to search for a regular expression: > > regcomp called, and it's not done yet. > > In the case of rxvt > > seteuid called, and it's not done yet > > Any ideas how to avoid these ? > > Geoffrey > ------------------------------------------------------------------------ > > Geoffrey Brown > Research Scientist > HP Labs Cambridge > 1 Main Street 10th Floor > Cambridge, MA 02142 > > (617) 679-9338 > (617) 679-9330 (fax) > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kh@wg.icl.co.uk Fri Oct 10 02:17:00 1997 From: kh@wg.icl.co.uk (Kevin Hughes) Date: Fri, 10 Oct 1997 02:17:00 -0000 Subject: shared memory interface - mem.h etc Message-ID: <9710100916.AA11556@ss38.wg.icl.co.uk> I remember someone on the list saying they had ported (implemented?) the unix shared memory stuff. I thaught I had filed the reference but cant find it, nor can find it in the mail archive either. If any one knows of the implementation I would much appreciate a reference. Thanks in advance kevin - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurtin@trintech.com Fri Oct 10 03:18:00 1997 From: ccurtin@trintech.com (Colman Curtin) Date: Fri, 10 Oct 1997 03:18:00 -0000 Subject: forking vim gui Message-ID: <199710101018.LAA37535@muzak.trintech.ie> folks Having successfully compiled my fav editor vim a while back. How come when I launch it as 'gvim' or 'vim -g' which causes vim to fork the gui version I get an exception. However if I launch it as 'vim -g -f' which launches the gui but doesn't return to the shell it work fine. But if I launch it as above but use bash to background it 'vim -g -f &' it all works fine and I get bash back? vim5.0m, Sergey's latest dll and bash, win95 16MB any ideas? Colman. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurtin@trintech.com Fri Oct 10 06:25:00 1997 From: ccurtin@trintech.com (Colman Curtin) Date: Fri, 10 Oct 1997 06:25:00 -0000 Subject: serial ports Message-ID: <199710101325.OAA32089@muzak.trintech.ie> hi how does one access the serial ports under gnu-win32? My unix comms program takes a port as an argument '/dev/tty16' for example and operates fine but when I try to specify com1 or com2 using a version compiled under gnu-win32 I get permission denied. and any further attempts to communicate on that port are useless. I can do a redirect under 95 or NT eg set > com1 but have only managed to receive garbled output I have no idea what way the port is set up by default. it I try an stty command it pukes on com1 but 'stty < com1' reports a load of undef options. I know I can communicate between these two PCs using my comms stuff but have failed to get it going under cygnus. anyone any ideas? or code snippets that work. thanks in advance Colman - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kkont@estia.iit.nrcps.ariadne-t.gr Fri Oct 10 06:25:00 1997 From: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovasilis) Date: Fri, 10 Oct 1997 06:25:00 -0000 Subject: Consistent mode of file-opens References: <009BB8A7.EED2E700.25370@ifk20.mach.uni-karlsruhe.de> Message-ID: <9710101206.AA04165@estia.iit.nrcps.ariadne-t.gr> > > Hi Kimon, you wrote: > > : default file-open mode is determined by the mount-table flags in the registry. > > : The problem is that stdin, stdout and stderr are still opened in text mode. > : This breaks redirection and pipe operations dealing with binary data. > > What about a mount flag in the registry for pipes, too? > > > Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de) > As you might already have seen in the reply of Earnie Boyd to my original mail, things work correctly under bash, so in this environment nothing more needs to be done. Things are different with the "standard" MS-DOS based shells. For these, the scheme I proposed in my original post, as ammended in my reply to Earnie's comment, may still be applicable. Best regards, Kimon Kontovasilis, NCSR "Demokritos" - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Immanuel_Litzroth@i2.com Fri Oct 10 10:27:00 1997 From: Immanuel_Litzroth@i2.com (Immanuel_Litzroth@i2.com) Date: Fri, 10 Oct 1997 10:27:00 -0000 Subject: UNC and getcwd Message-ID: <8625652C.007BCB3C.00@smtpmta1.i2.com> I am doing a port of RCS and CVS to the cygnus win32 environment. So far no RCS problems. CVS compiles fine but it doesn't let me init the CVS_ROOT. This was because the rcs programs were on my C: drive and my CVS_ROOT on D:. CVS tries to save the current working directory somewhere through a call to getcwd() but this doesn't return the UNC name of the current drive. Is this normal? Is there any documentation on the UNC implementation in Cygwin32? Any has an elegant solution to this problem? Thanks Immanuel - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Fri Oct 10 11:15:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Fri, 10 Oct 1997 11:15:00 -0000 Subject: [HELP] how to build DLL with gnu-win32 Message-ID: <19971010181500.17418.qmail@hotmail.com> Let me point you to: ftp://ftp.cygnus.com/pub/gnu-win32/latest/ http://www.cygnus.com/pubs/gnupro/ http://www.cygnus.com/misc/gnu-win32/ http://www.cygnus.com/ml/gnu-win32 - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >From: =?EUC-KR?B?vsjBpLz2?= >Subject: [HELP] how to build DLL with gnu-win32 >To: gnu-win32@cygnus.com >Date: Thu, 9 Oct 1997 10:33:08 +0900 (GMT+9:00) > >I would like to port my Unix libraries to Windows NT/95 >without making significant changes to the source code. >I'm brand new to building DLL's with GNU-WIN32. >Unfortunately, I have not found any documentation. >Please, let me know... > > 1. how to build DLL's that make use of the standard > Microsoft Win32 API (not Cygwin32 API) > > 2. how to write another DLL that make use of these DLL's > > 3. how to write Win32 console or GUI applications > that make use of the DLL's > > 4. where to find any documentation > >Thanks in advance. > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tage.westlund@stockholm.mail.telia.com Fri Oct 10 15:04:00 1997 From: tage.westlund@stockholm.mail.telia.com (Tage Westlund) Date: Fri, 10 Oct 1997 15:04:00 -0000 Subject: How To find what is Implemented References: <199710090900.OAA29889@marina.orp.pdc.com> Message-ID: <343E428D.5967@stockholm.mail.telia.com> desh wrote: > Is there a way or a document available to find out which all Unix > systems calls have been ported in b18. (and are working fine ). To "desh"! There are simple methods to find at least the majority of the binary modules. Suppose you want to know if tar is implemented. Then its name is tar.exe Remember also that often the original UNIX command may have been altered (made better often). Then you could seek for it with a "g" in front of the UNIX command name. bash$ tar ( simply type tar and you get a few lines ) bash$ taxxx ( non existing ) BASH.EXE: tarxxx: command not found bash$ tar --help > /some_temp_dir/temp1.txt ( you will have a rather complete list of options. Those texts can give you a small manual ) Two directories where binary modules reside are: .../gnuwin32/b18/H-i386-cygwin32/bin .../gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/bin Using Win95 it is possible to search for tar.exe among all files starting from a root, for instance C:\gnuwin\b18 Tage - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kkont@estia.iit.nrcps.ariadne-t.gr Fri Oct 10 15:04:00 1997 From: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovasilis) Date: Fri, 10 Oct 1997 15:04:00 -0000 Subject: Consistent mode of file-opens References: <19971009191302.24151.qmail@hotmail.com> Message-ID: <9710101157.AA04054@estia.iit.nrcps.ariadne-t.gr> > >From: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovasilis) > >Subject: Re: Consistent mode of file-opens > >To: earnie_boyd@hotmail.com (Earnie Boyd) > >Date: Thu, 9 Oct 1997 17:09:16 +0200 (EET) > >Cc: gnu-win32@cygnus.com > ---snip--- > >I guess this renders obsolete most of my original message. However, > since > >all individual utilities work adequately well with the other > dos-oriented > >shells and since all the shells that I know of support redirection and > >(simulated) pipes, it would be nice if the proper file mode selection > worked > >on these shells too. > > > > I believe that the redirection file modes are controlled by the shells > themselves. > > - \\||// > ---o0O0--Earnie--0O0o---- > -earnie_boyd@hotmail.com- > ------ooo0O--O0ooo------- > Well, that's not true, at least for the "standard" MS-DOS based shells. The following are happening on a drive mounted -b (so that e.g., od reports all bytes in files). The shell in use is 4DOS.COM (same results occur with COMMAND.COM), on a Win95 machine. c:\tmp\gcc-trials> cat chkdos.c #include #include #include int main(int argc, char *argv[]) { char *test_str = "A test line\nAnother line\n"; if (argc > 1 && strcmp(argv[1], "-b") == 0) _setmode(1, O_BINARY); printf("%s", test_str); exit(0); } c:\tmp\gcc-trials> gcc chkdos.c -o chkdos c:\tmp\gcc-trials> chkdos A test line Another line c:\tmp\gcc-trials> chkdos -b A test line Another line c:\tmp\gcc-trials> chkdos > a c:\tmp\gcc-trials> od -c a 0000000 A t e s t l i n e \r \n A n o 0000020 t h e r l i n e \r \n 0000033 c:\tmp\gcc-trials> chkdos -b > a c:\tmp\gcc-trials> od -c a 0000000 A t e s t l i n e \n A n o t 0000020 h e r l i n e \n 0000031 The above show that 4DOS and COMMAND do not alter the file mode when redirecting. In contrast, as you remarked, bash does change things, so as to assure the right mode. c:\tmp\gcc-trials> bash -c "chkdos" A test line Another line c:\tmp\gcc-trials> bash -c "chkdos -b" A test line Another line c:\tmp\gcc-trials> bash -c "chkdos > a; od -c a" 0000000 A t e s t l i n e \n A n o t 0000020 h e r l i n e \n 0000031 c:\tmp\gcc-trials> bash -c "chkdos -b > a; od -c a" 0000000 A t e s t l i n e \n A n o t 0000020 h e r l i n e \n 0000031 It appeards, that the DOS-based shells take an approach similar to globbing: "let the program do it itself". Ugly and silly, I know, but a fact of life. That's why I proposed the startup code hack, in an attempt to try to remedy the problem in the same way it is done with globbing. Best regards, Kimon Kontovasilis, NCSR "Demokritos" - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From lhall@rfk.com Fri Oct 10 15:04:00 1997 From: lhall@rfk.com (Larry Hall) Date: Fri, 10 Oct 1997 15:04:00 -0000 Subject: Consistent mode of file-opens Message-ID: <2.2.32.19971010130802.0097fe74@ma.ultranet.com> At 06:30 AM 10/9/97 PDT, Earnie Boyd wrote: > > >>From: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovassilis) >>Subject: Consistent mode of file-opens >>To: gnu-win32@cygnus.com >>Date: Wed, 8 Oct 1997 18:31:19 +0200 (EET) >>Cc: kkont@estia.iit.nrcps.ariadne-t.gr (Kimon Kontovassilis) >> >>Hello, fellows! >> >---snip--- >> >>Consider now a system setup where all mount points have been flagged as >>binary. (As previous discussions on this list have fully explained, >such a >>setting is virtually necessary, if binary-file-oriented applications >are to >>behave properly without being individually modified.) >>The problem is that stdin, stdout and stderr are still opened in text >mode. >>This breaks redirection and pipe operations dealing with binary data. >>Things like >> >> gunzip -c file.tar.gz | tar xvf - > >You must be executing from the MSDosshell. I've done this sort of >operation many times both on WNT3.51 and W95 within BASH without any >problems. > Nope, Kimon is right on this count. Pipes, stdin, stdout, and stderr are "text" mode in gnu-win32 regardless of the mounting option. A code change is necessary to modify this. I forget exactly where this needs to be done but its either in bash or winsup code.... Larry - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From samstee@netnet.net Fri Oct 10 15:04:00 1997 From: samstee@netnet.net (Robert Steele) Date: Fri, 10 Oct 1997 15:04:00 -0000 Subject: FW: Notification: Inbound Mail Failure Message-ID: <3.0.32.19971010170054.00ebb4a4@netnet.net> At 10:44 AM 10/9/97 -0700, Hohenner, Hans wrote: >Please forgive this intrusion. I am desperately trying to find a way to >get an invalid email address off this mailing list, and am sending this >email to the entire mailing list as a measure of last resort. > >I have tried: >1) Working with the Majordomo system. It reports that the person >has been removed successfully, but the mail just keeps pouring on in... >2) Sending mail to postmaster@cygnus.com and abuse@cygnus.com. It >doesn't seem to appear that the person who monitors these mailboxes is >alive. >3) Calling Cygnus via telephone over this issue. All I get is a >clueless secretary, or someone's voicemail in Sales. >4) Doing a whois on the Internic database for contact information >for cygnus.com. All that is listed is their domain name and IP address. > >I'm getting tired of getting abused because Cygnus is not abiding by its >responsibilities to monitor the mailing list. The person in the email >below is not in our organization any longer. If anyone has any ideas on >how to get this person off the mailing list, please let me know. > >Sincerely, > >Hans Hohenner >email: HHohenner@cisnc.canon.com, phone: 408/342-2334 >pager email: page_hans@canon.com, pager phone: 408/951-2467 *************** I would like to get off this list too. I went through Major Domo with no success. WHAT DO WE HAVE TO DO TO GET OFF FROM THIS LIST ????????????? - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jim@hosaka.SmallWorks.COM Fri Oct 10 15:04:00 1997 From: jim@hosaka.SmallWorks.COM (Jim Thompson) Date: Fri, 10 Oct 1997 15:04:00 -0000 Subject: corruption in socket layer?] Message-ID: <199710101617.LAA02323@beavis.smallworks.com> Colin (and Microsoft) should read RFC793: CLOSE is an operation meaning "I have no more data to send." The notion of closing a full-duplex connection is subject to ambiguous interpretation, of course, since it may not be obvious how to treat the receiving side of the connection. We have chosen to treat CLOSE in a simplex fashion. The user who CLOSEs may continue to RECEIVE until he is told that the other side has CLOSED also. Thus, a program could initiate several SENDs followed by a CLOSE, and then continue to RECEIVE until signaled that a RECEIVE failed because the other side has CLOSED. We assume that the TCP will signal a user, even if no RECEIVEs are outstanding, that the other side has closed, so the user can terminate his side gracefully. A TCP will reliably deliver all buffers SENT before the connection was CLOSED so a user who expects no data in return need only wait to hear the connection was CLOSED successfully to know that all his data was received at the destination TCP. Users must keep reading connections they close for sending until the TCP says no more data. The second to last sentence makes the behavior of a conformant TCP clear. Jim - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jeffdbREMOVETHIS@netzone.com Fri Oct 10 21:25:00 1997 From: jeffdbREMOVETHIS@netzone.com (Mikey) Date: Fri, 10 Oct 1997 21:25:00 -0000 Subject: Header files for libwinmm.a? References: <343CFB0F.6153@student.tuwien.ac.at> Message-ID: <3441ff09.48966155@smtp.netzone.com> http://wwwdim.uqac.uquebec.ca/ftp/pub/gnuwin32/bin/MSSDK_4_ming_cygwin32.tar.gz The above url has patches/headers/instructions on using the platform SDK with mingw32/cygwin32. On Thu, 09 Oct 1997 17:41:03 +0200, you wrote: >Hi, > >I'm porting a program from Linux to Win95/NT using gnu-win32. Because >I use low level sound routines I have to implement them for each >sound system again. In the gnu-win32-distribution the appropriate lib >exists (libwinmm.a) but I don't find the include files. > >In the FAQ under the topic "Why can't we redistribute Microsoft's Win32 >headers?" it is mentioned that ".... Fortunately, we have our own Win32 >headers which are pretty complete." But I don't know where to find them. > >The original MS-header don't seem to work with gcc/g++. (afxwin.h and >mmsystem.h) The only workaround I know is to use both gcc and msvc for >compiling and then linking everything using gcc & ld. > >Are some appropriate headers anywhere? > >Joachim > > >PS: Thanks to all GNU contributors out there :-) >-- >************************************************** >* Joachim Eibl : e9225818@student.tuwien.ac.at * >************************************************** >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > (jeffdbREMOVETHIS@netzone.com) delete REMOVETHIS from the above to reply Mikey - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Fri Oct 10 23:40:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Fri, 10 Oct 1997 23:40:00 -0000 Subject: forking vim gui Message-ID: <01BCD632.343FDA40@sos> Colman Curtin wrote: > folks > Having successfully compiled my fav editor vim a while back. > How come when I launch it as 'gvim' or 'vim -g' which causes vim to fork the > gui version I get an exception. > However if I launch it as 'vim -g -f' which launches the gui but doesn't > return to the shell it work fine. > But if I launch it as above but use bash to background it 'vim -g -f &' it all > works fine and I get bash back? > > vim5.0m, Sergey's latest dll and bash, win95 16MB > > any ideas? It's a bug of cygwin - .bss/.data sections of dll's are not copied to a child on fork(). Someone in this list wrote about related fixes he made, but I never saw the fixes itself :-( -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fjh@cs.mu.OZ.AU Sat Oct 11 04:23:00 1997 From: fjh@cs.mu.OZ.AU (Fergus Henderson) Date: Sat, 11 Oct 1997 04:23:00 -0000 Subject: [HELP] how to build DLL with gnu-win32 References: <199710090033.KAA14688@stissbs.kordic.re.kr> Message-ID: <199710111122.VAA01516@mundook.cs.mu.OZ.AU> ajs@stissbs.kordic.re.kr writes: >I'm brand new to building DLL's with GNU-WIN32. >Unfortunately, I have not found any documentation. See < http://www.cs.mu.oz.au/~fjh/gnu-win32/how-to-build-dlls.html >. -- Fergus Henderson | "I have always known that the pursuit WWW: < http://www.cs.mu.oz.au/~fjh > | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Sat Oct 11 12:53:00 1997 From: garbanzo@hooked.net (Alex) Date: Sat, 11 Oct 1997 12:53:00 -0000 Subject: forking vim gui References: <199710101018.LAA37535@muzak.trintech.ie> Message-ID: On Fri, 10 Oct 1997, Colman Curtin wrote: > folks > Having successfully compiled my fav editor vim a while back. > How come when I launch it as 'gvim' or 'vim -g' which causes vim to fork the > gui version I get an exception. > However if I launch it as 'vim -g -f' which launches the gui but doesn't > return to the shell it work fine. > But if I launch it as above but use bash to background it 'vim -g -f &' it all > works fine and I get bash back? Under Win95, a program can't fork() or vfork() into the background, without raising an exception. NT will allow this as long as the shell remains open (I think). Using an '&' will not cause the launching program to fork, thus allowing it to work. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Sat Oct 11 12:53:00 1997 From: garbanzo@hooked.net (Alex) Date: Sat, 11 Oct 1997 12:53:00 -0000 Subject: ... called, and it's not done yet References: <343D98EA.63AA5877@earthlink.net> Message-ID: On Thu, 9 Oct 1997, rale wrote: > These are functions that arent yet implemented, but are included since > alot of programs require them to compile. An example: how do you > implement seteuid() on Win95?... If you want to avoid them, and have > access to the source, put the stuff that calls these functions inside a > #ifdef __CYGWIN32__ You mean #ifndef right? - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Sat Oct 11 16:45:00 1997 From: garbanzo@hooked.net (Alex) Date: Sat, 11 Oct 1997 16:45:00 -0000 Subject: ieee functions. Message-ID: In going through bsdish man pages, I've noticed that most of the ieee functions appear in the export list I gatherd with strings, however some of the double versions of the functions appear missing, and there are a few odd printfs found. However I was wondering how hard it would be to implement these, or if they are planned for b19. For instance powf(3) and logf(3), but not pow(3) and log(3). - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sharp00@earthlink.net Sat Oct 11 23:06:00 1997 From: sharp00@earthlink.net (rale) Date: Sat, 11 Oct 1997 23:06:00 -0000 Subject: ... called, and it's not done yet References: Message-ID: <344068BF.AD18EB2A@earthlink.net> Alex wrote: > > On Thu, 9 Oct 1997, rale wrote: > > > These are functions that arent yet implemented, but are included since > > alot of programs require them to compile. An example: how do you > > implement seteuid() on Win95?... If you want to avoid them, and have > > access to the source, put the stuff that calls these functions inside a > > #ifdef __CYGWIN32__ > > You mean #ifndef right? > > - alex > Err, ya, sorry.... well, how about: #ifdef __CYGWIN32__ /* workaround for unimplemented function */ #else /* normal code */ #endif =) -rale - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From vischne@ibm.net Sun Oct 12 10:20:00 1997 From: vischne@ibm.net (Victor Schneider) Date: Sun, 12 Oct 1997 10:20:00 -0000 Subject: Output redirection, file creation, and libjpeg.a Message-ID: <1.5.4.16.19971012132202.2567965e@pop1.ibm.net> There's a curious problem with porting the jpeg-6 and jpeg-6a libraries to cygwin32: They compile with no problem, and running `make test' confirms that they work, but the `cjpeg' and `djpeg' utilities appear to have problems (a) creating files and (b) using the input and output redirection operators (`<' and `>'). When you generate a .gif file from a .jpg file using djpeg, you get `spurious symbol' error messages from lview31.exe on the resulting .gif file. I think that results from some problem using `>' to generate the resulting .gif file. I get the impression that cygwin32 uses the Dos '>' operator and gets junk added in to the redirection process. Either that, or bash.exe is doing something. Using the `-outputfile' option in djpeg yields an output file of zero length. Since this all works under other operating systems like Linux, I have to assume that the problem is somewhere in the buck-passing between native Dos and cygwin32. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Sun Oct 12 16:02:00 1997 From: garbanzo@hooked.net (Alex) Date: Sun, 12 Oct 1997 16:02:00 -0000 Subject: ... called, and it's not done yet References: <344068BF.AD18EB2A@earthlink.net> Message-ID: On Sun, 12 Oct 1997, rale wrote: > #ifdef __CYGWIN32__ > /* workaround for unimplemented function */ > #else > /* normal code */ > #endif > > =) If ya have a workaround, an even better idea would be to send it to the mailing list, so you wouldn't have to work around it. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From hfernandes@mail.geocities.com Sun Oct 12 16:02:00 1997 From: hfernandes@mail.geocities.com (Fernandes, Hilton) Date: Sun, 12 Oct 1997 16:02:00 -0000 Subject: [IIS] E/S standards via la console References: <3439D1CE.2C03@oceanes.fr> <3.0.2.32.19971007185841.00970e30@mailhost.wyoming.com> Message-ID: <199710122300.QAA29240@geocities.com> Hi! Thanks for your very informative letter. Since i read it I'm considering to play with Omnihttpd. As far as i understand it is a web server for Win95, right? However, i'd like to tell you of a gotcha that i personally hit real hard. I'm sure you know about this, but just in case you've overlooked this particularity of Windows NT. Under Windows NT it is not true a program has the console trio (stdin, stdout and stderr) automatically open. That's only true for console programs. GUI applications must issue explicitly a AllocConsole() to have the consolo trio open. Best regards, ++Hilton ---- Hilton Fernandes hfernandes@geocities.com http://www.geocities.com/SiliconValley/Lakes/5657 URLs and help on C++ programming and Object-Oriented Design - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jmaltz@nema.com Sun Oct 12 18:11:00 1997 From: jmaltz@nema.com (Jon Maltz) Date: Sun, 12 Oct 1997 18:11:00 -0000 Subject: Kerberos 5 Message-ID: <3.0.3.32.19971012211135.00a5de80@nema.com> The ported page on the website says this was compiled and runs on NT...I gave it a shot for the hell of it, but out of the box the configure wouldn't run all the way through. Has anyone else gotten it going, and if so, any suggestions, .diffs I might need? Jon - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jmamer@anderson.ucla.edu Sun Oct 12 21:25:00 1997 From: jmamer@anderson.ucla.edu (John Mamer) Date: Sun, 12 Oct 1997 21:25:00 -0000 Subject: upper/lower case question Message-ID: Hi! Another newbie question: I have a bunch of files, originally written under UNIX, that have arrived at my gnu-win32 directory via DOS (am running on Windows NT 4.0-sp3). The problem is that in the process the file names have all been translated to upper case. I tried the obvious thing: cp FILE.C file.c but it didn't work. I wound up reading each file into emacs, and then copying it into a new directory using the lower case name. This worked, but it seems, somehow, inelegant. I know that this is the result of a DOS/UNIX incompatibility, and not strictly speaking gnu-win32's fault, but is there a neater way to do this? (I anticipate having to do this in the future). thanks j. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From desh@orp.pdc.com Sun Oct 12 21:25:00 1997 From: desh@orp.pdc.com (desh) Date: Sun, 12 Oct 1997 21:25:00 -0000 Subject: How To find what is Implemented Message-ID: <199710130435.JAA11816@marina.orp.pdc.com> Thanks Tage, I think I was not very clean in asking my question. What I am looking for is, how to find out if a particular UNIX **system call** is implementaed or not ?. Lets say, if signal() is implemaneted ? if yes, what all signal ? I could not locate any documant for this information. thanka for the reply. -desh ---- From: Tage Westlund To: desh@orp.pdc.com Cc: gnu-win32@cygnus.com Date: Saturday, October 11, 1997 10:49 PM Subject: Re: How To find what is Implemented >desh wrote: >> Is there a way or a document available to find out which all Unix > systems calls have been ported in b18. (and are working fine ). > >To "desh"! >There are simple methods to find at least the majority of the binary >modules. Suppose you want to know if tar is implemented. Then >its name is tar.exe Remember also that often the original UNIX >command may have been altered (made better often). Then you >could seek for it with a "g" in front of the UNIX command name. > >bash$ tar ( simply type tar and you get a few lines ) >bash$ taxxx ( non existing ) >BASH.EXE: tarxxx: command not found >bash$ tar --help > /some_temp_dir/temp1.txt > ( you will have a rather complete list of options. > Those texts can give you a small manual ) >Two directories where binary modules reside are: >.../gnuwin32/b18/H-i386-cygwin32/bin >.../gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/bin >Using Win95 it is possible to search for tar.exe among all >files starting from a root, for instance C:\gnuwin\b18 > >Tage > > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From flam@oceanes.fr Sun Oct 12 21:43:00 1997 From: flam@oceanes.fr (flam) Date: Sun, 12 Oct 1997 21:43:00 -0000 Subject: Thanks Message-ID: <3441A21A.4D36@oceanes.fr> Hi, Thanks at all for yours answers concerning I/O and DLL. Salutations. flam - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tonauak@geocities.com Sun Oct 12 22:05:00 1997 From: tonauak@geocities.com (Victor Hugo Ochoa Garza) Date: Sun, 12 Oct 1997 22:05:00 -0000 Subject: forking vim gui References: <01BCD632.343FDA40@sos> Message-ID: <3441BAC9.DEBE225C@geocities.com> Some one know if gynuss have a nice development platafform, or all the compilation have be done in ths dos window....like gcc -c bla bla bla Sorry for my poor english - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jmamer@anderson.ucla.edu Sun Oct 12 23:52:00 1997 From: jmamer@anderson.ucla.edu (John Mamer) Date: Sun, 12 Oct 1997 23:52:00 -0000 Subject: emacs newbie question Message-ID: Hi! I'm trying to use emacs (19.34-6) with gnu-win32. Everything seems to go O.K. except when I try to compile in a buffer. I set up emacs to use bash.exe as it's shell command. I can compile a program and get the errors put into a buffer exactly once. The second time I try to do this, I get an error and cygwin seems to get stuck (it keeps on sending me error messages until I kill it). The messages go like this: (unknown) In Cygwin_except_handler (unknown) Exception trapped! (unknown) Exception C0000005 at 10018910 (unknown) exception: ax 0 bx 3ED cx 91 dx 64 (unknown) exception: si 244FA28 di 0 bp 244FA3C sp 244FA18 (unknown) exception is: STATUS_ACCESS_VIOLATION (unknown) Stack trace: (unknown) frame 0: sp = 0x244F84C, pc = 0x1000CEC2 (unknown) frame 1: sp = 0x244F868, pc = 0x77F94512 ... and so on until it starts repeating . . . (unknown) frame 9: sp=0x244FFF0, pc = 0x0 (unknown) End of stack trace (unknown) In cygwin_except_hander (unknown) Error while dumping state (probably corrupted stack) and so on repeating the last two lines. What gives? Can I use bash.exe as the shell for emacs? If so, how do I do it? Oh, I'm running Windows NT 4.0 spc3 thanks j. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Mon Oct 13 01:45:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Mon, 13 Oct 1997 01:45:00 -0000 Subject: upper/lower case question Message-ID: <01BCD7D5.C8F84150@gater.krystalbank.msk.ru> John Mamer wrote: > 4.0-sp3). The problem is that in the process the file names > have all been translated to upper case. I tried the obvious > thing: > > cp FILE.C file.c > > but it didn't work. I wound up reading each file into mv FILE.C file.c works fine. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ahinds@dnai.com Mon Oct 13 03:25:00 1997 From: ahinds@dnai.com (Alexander Hinds) Date: Mon, 13 Oct 1997 03:25:00 -0000 Subject: "Unofficial " release of PilotUnix GNU/Cygnus WIN32 Port v0.8.6 Message-ID: <01bcd7c1$b6ad1e30$0a0a0a0a@ahinds> I've put a functioning, albeit hacked version of my port of pilot-unix 0.8.6 to WindowsNT on Stingersoft and PilotGear. All flames, hate-mail, etc to me: ahinds@dnai.com PS. If somebody could figure out why anthing lower or higher than 9600 baud doesn't work I'd be ecstatic. I've tried to no avail, and even looked at the GDB sources for clues... README as follows: ---------------------------- This is a first attempt at a port of the pilot-unix suite to cygnus' GNU WIN32 suite for 95/NT. Most of the programs seem to work, including: pilot-xfer: useful for making complete backups pilot-mail: retreives email from pop server to pilot mail app (haven't tried sending, but it should work if you use a command-line sendmail for NT) pilot-file They have only been tested on NT, and obviously need cygnus' (b18!!) libraries to be installed to run (see http://www.cygnus.com ). Things to note: 1. Communication only works at 9600 baud. I have no idea why and I've spent considerable time futzing; I know very little about terminal i/o under unix, and even less under NT. 2. I had to hack the original configure script a bit and the generated makefile. Since I don't know much about configure, I haven't attempted to reintegrate my changes...so getting here from there may not be a slam-dunk. Sorry. 3. Modified files have corresponding "orig"'s. I added a compiler def: "GNUWIN32" to mark off windows specific regions. 4. Serial i/o didn't work when linked against Sergey's modified cygnus libs. I've been meaning to spend more time with this but carpal tunnel is getting to me, and I didn't want what little progress I'd made sit here indefinitely as what there is may be useful to others. Many thanks to Kenneth and pilot-unix community for the *awesome* tools. If I can be of further assistance in this endeavor to anyone, please let me know! Send comments and flames to: Alexander S. Hinds ahinds@dnai.com 10/13/97 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From janne@mc.blackdown.org Mon Oct 13 03:47:00 1997 From: janne@mc.blackdown.org (Janne Kukonlehto) Date: Mon, 13 Oct 1997 03:47:00 -0000 Subject: Can't run shell scripts with b18 and NT 3.51sp5 Message-ID: I have a following small problem: When I try to run any shell script as "./scriptname" bash refuses to run it. For example: bash$ ./configure sh: ./configure: (null) bash$ sh configure creating cache ./config.cache configure: error: can not run ./config.sub Could someone please tell me how to fix this problem? Another problem: bash doesn't recognize the AltGr key. Therefore it is impossible to type characters like $, | and \ (AltGr-4, AltGr-< and AltGr-+ on the Finnish keyboard layout). I am including the contents of the environment below in case they are useful in solving the problem: !D:=D:\users\default !E:=E:\fetchmail-4.3.0 !EXITCODE=00000000 BASH=//e/usr/h-i386-cygwin32/bin/bash.exe BASH_VERSION=1.14.7(2) COMSPEC=D:\WINNT35\system32\cmd.exe EUID=500 GCC_EXEC_PREFIX=e:\usr\h-i386-cygwin32\lib\gcc-lib\ GDBTK_LIBRARY=e:/usr/share/gdbtcl HISTFILE=/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOMEDRIVE=D: HOMEPATH=\users\default HOSTTYPE=i386 IFS= MAILCHECK=60 OPTERR=1 OPTIND=1 OS=Windows_NT OS2LIBPATH=D:\WINNT35\system32\os2\dll; OSTYPE=win32 PATH=.://E/perl5/bin://E/BIN://e/usr/h-i386-cygwin32/bin://e/usr/tcl/bin://D/WINNT35/system32://D/WINNT35:.://E/SQL60/BINN PPID=1000 PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 5 Model 2 Stepping 11, GenuineIntel PROCESSOR_LEVEL=5 PROCESSOR_REVISION=020b PROMPT=$P$G PS1=bash\$ PS2=> PS4=+ PWD=//E/fetchmail-4.3.0 SHELL=/bin/sh SHLVL=1 SYSTEMDRIVE=D: SYSTEMROOT=D:\WINNT35 TCL_LIBRARY=e:/usr/tcl/lib/tcl7.6 TEMP=E:\TEMP TERM=dumb TMP=E:\TEMP UID=500 USERNAME=Administrator WINDIR=D:\WINNT35 - Janne - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From hasslauer@ee.hnt.heller-machines.com Mon Oct 13 03:53:00 1997 From: hasslauer@ee.hnt.heller-machines.com (hasslauer@ee.hnt.heller-machines.com) Date: Mon, 13 Oct 1997 03:53:00 -0000 Subject: asynchronous I/O Message-ID: Is it possible to use asynchronous I/O to notify the process that something of interest has happend on a descriptor ? gnu-win32 doesn't define SIGIO and SIGPOLL. Juergen - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurley@wyoming.com Mon Oct 13 05:01:00 1997 From: ccurley@wyoming.com (Charles Curley) Date: Mon, 13 Oct 1997 05:01:00 -0000 Subject: [IIS] E/S standards via la console References: <3.0.2.32.19971007185841.00970e30@mailhost.wyoming.com> <3439D1CE.2C03@oceanes.fr> <199710122300.QAA29240@geocities.com> Message-ID: <3.0.2.32.19971013060142.007dea80@mailhost.wyoming.com> At 21:02 12/10/97 +0000, Fernandes, Hilton wrote: >Hi! > >Thanks for your very informative letter. Since i read it I'm >considering to play with Omnihttpd. As far as i understand it is a >web server for Win95, right? As far as I know, W95 only. I haven't tried it on NT. If I need a web server for NT, I'll grab Apache. > >However, i'd like to tell you of a gotcha that i personally hit real >hard. I'm sure you know about this, but just in case you've >overlooked this particularity of Windows NT. > >Under Windows NT it is not true a program has the console trio >(stdin, stdout and stderr) automatically open. That's only true for >console programs. GUI applications must issue explicitly a >AllocConsole() to have the consolo trio open. Actually, I did not know about that. Thanks. Is that a compiler/library issue, or is that a OS issue? It makes sense, in that most GUI programs don't use console I/O, so why bother with it unless you need it. The question came up in the context of CGI programming. I would write a console program for CGI so I could test it, so I expect the issue has not come up. -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Mon Oct 13 05:07:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Mon, 13 Oct 1997 05:07:00 -0000 Subject: upper/lower case question Message-ID: <19971013120702.25109.qmail@hotmail.com> How were the files transfered? Was it a gzip file, tar file, zip file, or diskette copy? In general I've found that filenames tend to keep their case. However MSDOS on W95 and WNT have two filenames a short file name which is always in UPPERCASE and a long filename which is in whatever case the filename was created in. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >Date: Sun, 12 Oct 1997 21:25:13 -0700 (PDT) >From: John Mamer >To: gnu-win32@cygnus.com >Subject: upper/lower case question > >Hi! > Another newbie question: I have a bunch of files, >originally written under UNIX, that have arrived at my >gnu-win32 directory via DOS (am running on Windows NT >4.0-sp3). The problem is that in the process the file names >have all been translated to upper case. I tried the obvious >thing: > >cp FILE.C file.c > >but it didn't work. I wound up reading each file into >emacs, and then copying it into a new directory using the >lower case name. This worked, but it seems, somehow, >inelegant. > >I know that this is the result of a DOS/UNIX >incompatibility, and not strictly speaking gnu-win32's >fault, but is there a neater way to do this? (I anticipate >having to do this in the future). >thanks >j. > > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Mon Oct 13 05:07:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Mon, 13 Oct 1997 05:07:00 -0000 Subject: Output redirection, file creation, and libjpeg.a Message-ID: <19971013115458.20362.qmail@hotmail.com> How is your filesystems mounted? If they are mounted text!=binary then you will have a \r (^M) prepended to any \n. If they are mounted text=binary, then someone else will have to give you an answer. To mount / as text=binary: 1) cd to the bin directory 2) umount / 3) mount -b c:\\ / - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >Date: Sun, 12 Oct 1997 17:20:07 GMT >To: gnu-win32@cygnus.com >From: Victor Schneider >Subject: Output redirection, file creation, and libjpeg.a > >There's a curious problem with porting the jpeg-6 and jpeg-6a libraries to >cygwin32: They compile with no problem, and running `make test' confirms >that they work, but the `cjpeg' and `djpeg' utilities appear to have >problems (a) creating files and (b) using the input and output redirection >operators (`<' and `>'). > >When you generate a .gif file from a .jpg file using djpeg, you get >`spurious symbol' error messages from lview31.exe on the resulting .gif >file. I think that results from some problem using `>' to generate the >resulting .gif file. I get the impression that cygwin32 uses the Dos '>' >operator and gets junk added in to the redirection process. Either that, or >bash.exe is doing something. > >Using the `-outputfile' option in djpeg yields an output file of zero >length. Since this all works under other operating systems like Linux, I >have to assume that the problem is somewhere in the buck-passing between >native Dos and cygwin32. > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Mon Oct 13 05:16:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Mon, 13 Oct 1997 05:16:00 -0000 Subject: upper/lower case question Message-ID: <19971013121516.21844.qmail@hotmail.com> How were the files transfered? Was it a gzip file, tar file, zip file, or diskette copy? In general I've found that filenames tend to keep their case. However MSDOS on W95 and WNT have two filenames a short file name which is always in UPPERCASE and a long filename which is in whatever case the filename was created in. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >Date: Sun, 12 Oct 1997 21:25:13 -0700 (PDT) >From: John Mamer >To: gnu-win32@cygnus.com >Subject: upper/lower case question > >Hi! > Another newbie question: I have a bunch of files, >originally written under UNIX, that have arrived at my >gnu-win32 directory via DOS (am running on Windows NT >4.0-sp3). The problem is that in the process the file names >have all been translated to upper case. I tried the obvious >thing: > >cp FILE.C file.c > >but it didn't work. I wound up reading each file into >emacs, and then copying it into a new directory using the >lower case name. This worked, but it seems, somehow, >inelegant. > >I know that this is the result of a DOS/UNIX >incompatibility, and not strictly speaking gnu-win32's >fault, but is there a neater way to do this? (I anticipate >having to do this in the future). >thanks >j. > > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Bernd.Schilpp@brokat.de Mon Oct 13 06:48:00 1997 From: Bernd.Schilpp@brokat.de (Bernd Schilpp) Date: Mon, 13 Oct 1997 06:48:00 -0000 Subject: What about RSXNT instead of cygwin32??? Message-ID: <3442267F.D80D15EE@brokat.de> Hi everybody, Does anybody know about the RSXNT-Compiler ? I tried to get my stuff compiled with cygwin32 - but I have some problems, because the libaries are not threadsave, the socket-problems and so on. And there are always new problems reported in the mailinglist - you know it. Now I found RSXNT-Compiler( ftp://ftp.uni-bielefeld.de/pub/systems/msdos/misc/ or http://www.sjc.ox.ac.uk/users/williams/ ). The list of bugs and missing features is very short. The Libaries are threadsave and it seems to work quite good. Does anybody know the big difference to cygwin32 or is anybody experienced with RSXNT ? Are any problems known ? Please let me know your opinion. thanks in advance, Bernd - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Mon Oct 13 06:59:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Mon, 13 Oct 1997 06:59:00 -0000 Subject: mingw32 - noncygwin32 gcc - libwinserve.a Message-ID: <19971013135827.10624.qmail@hotmail.com> Colin, I have ported rman-3.0.3a12 using cygwin32 without much ado. I have ported mingw32 and gcc without the cygwin layer and "for grins" tried to port rman-3.0.3a12 vanilla WNT3.51. I used the object file rman.o from the cygwin32 build and try to create rman.exe. I have the paths set so that none of the gnuwin32 paths are searched. I resolved undefined references by adding the following libraries: -lg -liberty -lwinserve libg.a took care of a lot of _impure_ptr and __swbuf references. libiberty.a took care of the __progname reference introduced by libg.a. libwinserve.a took care of the _sbrk reference. Now I have an executable without the cygwin.dll reference. However, when I execute I get an this error "The dynamic link library winserve.dll could not be found in the specified path...". The final command line to build rman.exe is "gcc -O2 -finline-functions -o rman.exe rman.o -liberty -lg -lwinserve -v". The -v returns: ld -o rman.exe C:\users\bcoeeb0\mingw32\lib\crt0.o -LC:\users\bcoeeb0\mingw32\lib\gcc-lib\i386-mingw32\2.7.2.1 -LC:\users\bcoeeb0\mingw32\lib\gcc-lib -LC:\users\bcoeeb0\mingw32\lib -LC:\users\bcoeeb0\mingw32\win32\lib -L. rman.o -liberty -lg -lwinserve -lmingw32 -lgcc -lmoldname -lcrtdll -lkernel32 -lmingw32 -lgcc -lmoldname -lcrtdll What do I need to do that I'm not doing? Is what I am trying to do an impossibility? Thanks, - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From marc@reston.ans.net Mon Oct 13 08:17:00 1997 From: marc@reston.ans.net (Marc Sherman) Date: Mon, 13 Oct 1997 08:17:00 -0000 Subject: getting the routing table via code Message-ID: <199710131516.AA05875@interlock.reston.ans.net> A little off topic but does anyone know how I can programatically get the routing table on NT 4.0? The code needs to be win32 only and run entirely in user space. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jlm@compgen.com Mon Oct 13 09:19:00 1997 From: jlm@compgen.com (Jesse L. Marlin) Date: Mon, 13 Oct 1997 09:19:00 -0000 Subject: forking vim gui References: <3441BAC9.DEBE225C@geocities.com> Message-ID: On Mon, 13 Oct 1997, Victor Hugo Ochoa Garza wrote: If you have used Emacs or Xemacs it has support for debugging, highlighting syntax, etc. There is a version of Emacs (19.34) for 95/NT that is pretty functional. I don't know a site right off the bat but any search engine is bound to turn it up. > Some one know if gynuss have a nice development platafform, or all the > compilation have be done in ths dos window....like gcc -c bla bla bla > > Sorry for my poor english > > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Mon Oct 13 09:19:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Mon, 13 Oct 1997 09:19:00 -0000 Subject: asynchronous I/O Message-ID: <01BCD815.6DFE81C0@sos> hasslauer@ee.hnt.heller-machines.com wrote: > Is it possible to use asynchronous I/O to notify the process that something of interest has > happend on a descriptor ? > gnu-win32 doesn't define SIGIO and SIGPOLL. Cygwin.dll with my patches supports async I/O on sockets. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From lhall@ma.ultranet.com Mon Oct 13 09:19:00 1997 From: lhall@ma.ultranet.com (Larry Hall) Date: Mon, 13 Oct 1997 09:19:00 -0000 Subject: Output redirection, file creation, and libjpeg.a Message-ID: <2.2.32.19971013160906.00951028@ma.ultranet.com> Actually, regardless of how the file systems are mounted, if you are using the bash that came with the original b18, stdin, stdout, stderr, and pipes will be opened in text mode. The later version of bash (2.0.1) compiled by Sergey does NOT set all these to text mode and therefore you won't get carriage returns appended. I am uncertain whether mounting file systems as binary using the original version of bash would remove the carriage returns from stdin, stdout, and stderr (probably not) but the problem would persist for pipes. See Sergey's patches for the new bash (and patched cygwin DLL) - http://www.lexa.ru/sos . Larry At 04:54 AM 10/13/97 PDT, Earnie Boyd wrote: > >How is your filesystems mounted? If they are mounted text!=binary then >you will have a \r (^M) prepended to any \n. If they are mounted >text=binary, then someone else will have to give you an answer. > >To mount / as text=binary: >1) cd to the bin directory >2) umount / >3) mount -b c:\\ / > >- \\||// >---o0O0--Earnie--0O0o---- >-earnie_boyd@hotmail.com- >------ooo0O--O0ooo------- > >>Date: Sun, 12 Oct 1997 17:20:07 GMT >>To: gnu-win32@cygnus.com >>From: Victor Schneider >>Subject: Output redirection, file creation, and libjpeg.a >> >>There's a curious problem with porting the jpeg-6 and jpeg-6a libraries >to >>cygwin32: They compile with no problem, and running `make test' >confirms >>that they work, but the `cjpeg' and `djpeg' utilities appear to have >>problems (a) creating files and (b) using the input and output >redirection >>operators (`<' and `>'). >> >>When you generate a .gif file from a .jpg file using djpeg, you get >>`spurious symbol' error messages from lview31.exe on the resulting .gif >>file. I think that results from some problem using `>' to generate the >>resulting .gif file. I get the impression that cygwin32 uses the Dos >'>' >>operator and gets junk added in to the redirection process. Either >that, or >>bash.exe is doing something. >> >>Using the `-outputfile' option in djpeg yields an output file of zero >>length. Since this all works under other operating systems like Linux, >I >>have to assume that the problem is somewhere in the buck-passing >between >>native Dos and cygwin32. >> >>- >>For help on using this list (especially unsubscribing), send a message >to >>"gnu-win32-request@cygnus.com" with one line of text: "help". >> > > > > >______________________________________________________ >Get Your Private, Free Email at http://www.hotmail.com >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Mon Oct 13 10:17:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Mon, 13 Oct 1997 10:17:00 -0000 Subject: upper/lower case question Message-ID: <19971013171616.25696.qmail@hotmail.com> >Date: Mon, 13 Oct 1997 08:01:08 -0700 (PDT) >From: John Mamer >To: Earnie Boyd >Subject: Re: upper/lower case question > ---snip--- > >I've gotten a bunch of suggestions for how to unzip them in >lower case. I'm still curious why "cp FILENAME filename" >doesn't work. I thought maybe I'd set one of the parameters >wrong in the mount command........ > ---snip--- The reason "cp FILENAME filename" is because to the root filesystem (MSDOS) they are the same file and you can't copy a file onto itself. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Mon Oct 13 10:28:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Mon, 13 Oct 1997 10:28:00 -0000 Subject: Output redirection, file creation, and libjpeg.a Message-ID: <19971013171301.29831.qmail@hotmail.com> Well, I'm using bash 2.0.1 that I compiled from source with the original cygwin library. I can't use Sergey's version because of the amount of disk space used to store extended attributes on my FAT, the "EA DATA. SF" file. There was little problem with the make of bash 2.0.1, I remember I had to define _POSIX_SOURCE and I had to modify sig.c to not use SIGPROF if it wasn't defined. I've not had any problems with \r prepended to \n if the systems are mounted as text=binary and I use one directory I've called "text" a mounted as text!=binary to output/convert files I need to print on a shared printer that expects the \r to be there. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >Date: Mon, 13 Oct 1997 12:09:06 -0400 >To: "Earnie Boyd" , vischne@ibm.net >From: Larry Hall >Subject: Re: Output redirection, file creation, and libjpeg.a >Cc: gnu-win32@cygnus.com > >Actually, regardless of how the file systems are mounted, if you are using >the bash that came with the original b18, stdin, stdout, stderr, and pipes >will be opened in text mode. The later version of bash (2.0.1) compiled by >Sergey does NOT set all these to text mode and therefore you won't get >carriage returns appended. I am uncertain whether mounting file systems as >binary using the original version of bash would remove the carriage returns >from stdin, stdout, and stderr (probably not) but the problem would persist >for pipes. See Sergey's patches for the new bash (and patched cygwin DLL) - > http://www.lexa.ru/sos . > >Larry > >At 04:54 AM 10/13/97 PDT, Earnie Boyd wrote: >> >>How is your filesystems mounted? If they are mounted text!=binary then >>you will have a \r (^M) prepended to any \n. If they are mounted >>text=binary, then someone else will have to give you an answer. >> >>To mount / as text=binary: >>1) cd to the bin directory >>2) umount / >>3) mount -b c:\\ / >> >>- \\||// >>---o0O0--Earnie--0O0o---- >>-earnie_boyd@hotmail.com- >>------ooo0O--O0ooo------- >> >>>Date: Sun, 12 Oct 1997 17:20:07 GMT >>>To: gnu-win32@cygnus.com >>>From: Victor Schneider >>>Subject: Output redirection, file creation, and libjpeg.a >>> >>>There's a curious problem with porting the jpeg-6 and jpeg-6a libraries >>to >>>cygwin32: They compile with no problem, and running `make test' >>confirms >>>that they work, but the `cjpeg' and `djpeg' utilities appear to have >>>problems (a) creating files and (b) using the input and output >>redirection >>>operators (`<' and `>'). >>> >>>When you generate a .gif file from a .jpg file using djpeg, you get >>>`spurious symbol' error messages from lview31.exe on the resulting .gif >>>file. I think that results from some problem using `>' to generate the >>>resulting .gif file. I get the impression that cygwin32 uses the Dos >>'>' >>>operator and gets junk added in to the redirection process. Either >>that, or >>>bash.exe is doing something. >>> >>>Using the `-outputfile' option in djpeg yields an output file of zero >>>length. Since this all works under other operating systems like Linux, >>I >>>have to assume that the problem is somewhere in the buck-passing >>between >>>native Dos and cygwin32. >>> >>>- >>>For help on using this list (especially unsubscribing), send a message >>to >>>"gnu-win32-request@cygnus.com" with one line of text: "help". >>> >> >> >> >> >>______________________________________________________ >>Get Your Private, Free Email at http://www.hotmail.com >>- >>For help on using this list (especially unsubscribing), send a message to >>"gnu-win32-request@cygnus.com" with one line of text: "help". >> >> > > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From banders@ECD.Rockwell.COM Mon Oct 13 10:28:00 1997 From: banders@ECD.Rockwell.COM (Bartlee A. Anderson) Date: Mon, 13 Oct 1997 10:28:00 -0000 Subject: forking vim gui References: <01BCD632.343FDA40@sos> <3441BAC9.DEBE225C@geocities.com> Message-ID: <344259AA.4030@switch.rockwell.com> Do a web search for Bluegnu, it is an IDE for win32 and if you have a working version, then you need the bluegnu.exe and the bggaddon.exe (something like that). The web page should direct you. If you have trouble finding it via web search, let me know and I'll hunt down the URL for you. You will want to save your cygwin.dll before installing, or it will get whacked (windows/system). Then you just need to go into the options and point to your executables and the paths for c and c++ includes and then you're set. The resources compiler will cause you problems but what I just did was use cvtres from msvc++. You can get a replacement from lcc courtesy Jacob Navia (he frequents this list btw.. ;) Any body with better ideas, let me know.... Bart Victor Hugo Ochoa Garza wrote: > > Some one know if gynuss have a nice development platafform, or all the > compilation have be done in ths dos window....like gcc -c bla bla bla > > Sorry for my poor english > > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". -- Bartlee A. Anderson | Sys. Test (ISDN-Commands-Trans Link-Tools) Rockwell International | Electronic Commerce Division 300 Bauman Ct. | banders@ecd.rockwell.com MS 933-605 Opinions my own, not Rockwell's VOICE (630) 227-8975 Wood Dale, IL 60191 | FAX (630) 227-9771 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mitchell@cs.ucsd.edu Mon Oct 13 10:28:00 1997 From: mitchell@cs.ucsd.edu (Nicholas Mitchell) Date: Mon, 13 Oct 1997 10:28:00 -0000 Subject: bug in bash with sergey's latest patches? Message-ID: <199710131728.KAA07054@beowulf.ucsd.edu> bash, with the Sergey's latest patches, seems to have a bug. From the command line, this works: % export HOST=`hostname` % printenv HOST DULCEA # this is fine, notice all caps % export DISPLAY=$HOST:0.0 % printenv DISPLAY DULCEA:0.0 but if I stick these two lines in my .bashrc export HOST=`hostname` export DISPLAY=$HOST:0.0 I get this: % printenv HOST dulcea # fine, but notice lower case, now % printenv DISPLAY :0.0ea # oops! nick - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mark.n@usa.net Mon Oct 13 14:33:00 1997 From: mark.n@usa.net (Mark Newnham) Date: Mon, 13 Oct 1997 14:33:00 -0000 Subject: Problem opening socket Message-ID: <95DE24D1FCFED0118B910060940A33400488@mailhub.adacorp.com> Hi, can anyone tell me if there is there an obvious (or not so obvious) reason why the following code #include #include #include #include struct sockaddr_un sunx; char LogName[] = "/dev/log"; int funix; char *c; main() { sunx.sun_family = AF_UNIX; strncpy(sunx.sun_path, LogName, sizeof(sunx.sun_path)); funix = socket(AF_UNIX, SOCK_STREAM, 0); perror(c); } returns this error? Addresses in the specified family cannot be used with this socket. I am using sergey's cygwin.dll on Win95. Regards Mark ################################################## # Application Design Associates, Inc # # 6021 S.Syracuse Way #302 # # Englewood CO 80111 Tel +1 (303)779 8958 # # USA Fax +1 (303)779 0949 # ################################################## - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Mon Oct 13 14:33:00 1997 From: garbanzo@hooked.net (Alex) Date: Mon, 13 Oct 1997 14:33:00 -0000 Subject: Output redirection, file creation, and libjpeg.a References: <2.2.32.19971013160906.00951028@ma.ultranet.com> Message-ID: I've seen a few threads so far on this list about the default mode for opening pipes, and the arguments for and against each way. Along those lines, I've noticed that FreeBSD has a nice little interface to some of the system configuration stuff sysctl({3|8}), sysctl(8) being a wrapper of sorts. This got me to thinking, something like this could be really useful for enabling or disabling certian debugging stuff. I know that the mount table is stored in the registry already, what about something like this? For instance, one could say type sysctl -c debug.sigchld=1, and it would effect everything globally, and it would provide a more uniform way to check various options. Thoughts? On Mon, 13 Oct 1997, Larry Hall wrote: > Actually, regardless of how the file systems are mounted, if you are using > the bash that came with the original b18, stdin, stdout, stderr, and pipes > will be opened in text mode. The later version of bash (2.0.1) compiled by > Sergey does NOT set all these to text mode and therefore you won't get > carriage returns appended. I am uncertain whether mounting file systems as > binary using the original version of bash would remove the carriage returns > from stdin, stdout, and stderr (probably not) but the problem would persist > for pipes. See Sergey's patches for the new bash (and patched cygwin DLL) - > http://www.lexa.ru/sos . - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Mon Oct 13 14:33:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Mon, 13 Oct 1997 14:33:00 -0000 Subject: New patch available. Message-ID: <01BCD82F.1D3F4700@sos> Hi! - rcmd(), rexec(), rresvport(), socketpair() calls implemented. Signal handling in precompiled binary changed (no source provided for a now). Chris Faylor rewrote signal handling stuff with semaphores instead of window messages. With this changes new dll runs stable on Windows 95! I successfully rebuilt the whole b18 cdk from the scratch on Windows 95 with this dll. Try it! -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From h_rosemarin@hotmail.com Mon Oct 13 14:33:00 1997 From: h_rosemarin@hotmail.com (Hanan Rosemarin) Date: Mon, 13 Oct 1997 14:33:00 -0000 Subject: building standard utilities Message-ID: <19971013194937.18735.qmail@hotmail.com> hi, I tried building some standard gnu utilities for unix, using gnu-win32 (b18). I was unable to run the ./configure script (it reported a heap error, and exited to dos) any ideas? thanks in advance, hanan ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From newsham@aloha.net Mon Oct 13 19:00:00 1997 From: newsham@aloha.net (Tim Newsham) Date: Mon, 13 Oct 1997 19:00:00 -0000 Subject: How do I open an NT device driver? References: <343D62D0.4CC2@alacritech.com> Message-ID: <199710140104.PAA01737@haleakala.aloha.net> > For example, the NT DDK includes source for a "packet driver" > which allows a user to connect to a NT protocol driver directly > from user space. The included application does this by > issueing a call to CreateFile with the unicode device name > "\\.\Packet_Packet_". Is it possible to perform this > same function using the GNU library? If so, I presume I would > perform an "open" instead of the "CreateFile"? If so, what device > name do I use? I've tried open("\\\\.\\Packet_Packet_".. > but that didn't work. you can mount the device and open it after mounting: mount '\\.\Packet_Packet_foo' /dev/pack_foo in prog.c: int fd = open("/dev/pack_foo", O_RDWR); but if you are going to be using device io controls anyway, you're best off just sticking with the win32 calls to interact with the device. Cygwin does not support arbitrary ioctl's yet (ever?), just the specific ones implemented in the cygwin.dll. So what you should do is something like: #include [...] HANDLE devh; devh = CreateFile("\\\\.\\Packet_Packet_foo", GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0); if(handle == INVALID_HANDLE_VALUE) { ... } [...] if(!DeviceIoControl(devh, IOCTL_SOME_CODE, out, outlen, in, inlen, &retlen, 0)) { .... } and similarly use ReadFile/WriteFile to do normal IO to the device. > Pete Tim N. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From newsham@aloha.net Mon Oct 13 19:00:00 1997 From: newsham@aloha.net (Tim Newsham) Date: Mon, 13 Oct 1997 19:00:00 -0000 Subject: undefined reference Message-ID: <199710140049.OAA26629@haleakala.aloha.net> Hi, I found a reference to a function named "NetEnumerateTrustedDomains" and wanted to use it. I found it listed in the microsoft headers in as: NTSTATUS NetEnumerateTrustedDomains ( IN LPWSTR ServerName OPTIONAL, OUT LPWSTR *DomainNames ); so I made a test case using: #include DWORD STDCALL NetEnumerateTrustedDomains(LPWSTR, LPWSTR *); [... some code ...] but when I went to link it I got an unresolved error: C:\TEMP\cc0010491.o(.text+0x36):doms.c: undefined reference to `NetEnumerateTrustedDomains@8' so I checked through the libnetapi32.a and found it missing: % nm libnetapi32.a |grep NetEnum [nothing] If I look at the netapi32.dll in quikview, its in there: Export Table Ordinal Entry Point Name 0044 00010786 NetEnumerateTrustedDomains So the questions - why isnt this function in the generated .a? - how is it decided which functions are put into the generated .a's? - can I call this function without building a new .a? or can I generate a minimal .a that will let me call this function? - how can I make a new libnetapi32.a that has this function referenced? Tim N. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurley@wyoming.com Mon Oct 13 19:00:00 1997 From: ccurley@wyoming.com (Charles Curley) Date: Mon, 13 Oct 1997 19:00:00 -0000 Subject: emacs newbie question References: Message-ID: <3.0.2.32.19971013172324.0095a430@mailhost.wyoming.com> John try the NT Emacs list, at: ntemacs-users@cs.washington.edu At 11:52 PM 10/12/97 -0700, John Mamer wrote: >Hi! >I'm trying to use emacs (19.34-6) with gnu-win32. Everything >seems to go O.K. except when I try to compile in a buffer. >I set up emacs to use bash.exe as it's shell command. I can >compile a program and get the errors put into a buffer >exactly once. The second time I try to do this, I get an >error and cygwin seems to get stuck (it keeps on sending me >error messages until I kill it). The messages go like this: > >(unknown) In Cygwin_except_handler >(unknown) Exception trapped! >(unknown) Exception C0000005 at 10018910 >(unknown) exception: ax 0 bx 3ED cx 91 dx 64 >(unknown) exception: si 244FA28 di 0 bp 244FA3C sp 244FA18 >(unknown) exception is: STATUS_ACCESS_VIOLATION >(unknown) Stack trace: >(unknown) frame 0: sp = 0x244F84C, pc = 0x1000CEC2 >(unknown) frame 1: sp = 0x244F868, pc = 0x77F94512 > ... and so on until it starts repeating >. >. >. >(unknown) frame 9: sp=0x244FFF0, pc = 0x0 >(unknown) End of stack trace >(unknown) In cygwin_except_hander >(unknown) Error while dumping state (probably corrupted >stack) > >and so on repeating the last two lines. > >What gives? Can I use bash.exe as the shell for emacs? >If so, how do I do it? > >Oh, I'm running Windows NT 4.0 spc3 >thanks >j. > > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurley@wyoming.com Mon Oct 13 19:00:00 1997 From: ccurley@wyoming.com (Charles Curley) Date: Mon, 13 Oct 1997 19:00:00 -0000 Subject: forking vim gui References: <01BCD632.343FDA40@sos> <3441BAC9.DEBE225C@geocities.com> Message-ID: <3.0.2.32.19971013171618.00abc3e0@mailhost.wyoming.com> At 12:08 AM 10/13/97 -0600, Victor Hugo Ochoa Garza wrote: >Some one know if gynuss have a nice development platafform, or all the >compilation have be done in ths dos window....like gcc -c bla bla bla > >Sorry for my poor english Try NT Emacs. If you are familiar with it from Unix, you will find it works quite well on NT or W95. http://www.cs.washington.edu/homes/voelker/ntemacs.html -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From allen.chen@utoronto.ca Mon Oct 13 19:00:00 1997 From: allen.chen@utoronto.ca (Allen Chen) Date: Mon, 13 Oct 1997 19:00:00 -0000 Subject: gnu-win32 and winsock Message-ID: <3442D380.C05@utoronto.ca> Hi..I've just converted from 17.1 to 18, and the first thing I notice is that when I started the bash shell, it keeps starting the dial-up program I have, trying to go online. This is an extremely annoying behaviour. I understand that winsock is initialized in this new version when you start any app in the shell. Is it trying to get the name from a name server or something (a similar problem with older version of GNU NTEmacs)?? How do I disable it? If it couldn't be done, I just have to go back to 17.1. Any help will be greatly appreciated. Allen - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jrs@belltc.ctc.edu Mon Oct 13 19:00:00 1997 From: jrs@belltc.ctc.edu (Jonathan R. Seagrave) Date: Mon, 13 Oct 1997 19:00:00 -0000 Subject: gcc and windows api Message-ID: I have the following test program and when I compile it with the cygnus-win gcc compiler < http://www.cygnus.com/misc/gnu-win32/ > gcc version cygnus-2.7.2-970404 this is what happens when I compile: > gcc bg.c C:\WINDOWS\TEMP\cc0010001.o(.text+0x20):bg.c: undefined reference to 'SystemParametersInfoA@16' GCC.EXE: Internal compiler error: program ld got fatal signal 1 can anyone tell me what I might do to get gcc to compile this simple program? thanks. /* BOOL SystemParametersInfo( UINT uiAction, // system parameter to query or set UINT uiParam, // depends on action to be taken PVOID pvParam, // depends on action to be taken UINT fWinIni // user profile update flag ); */ #include #include #include int main () { SystemParametersInfo( SPI_SETDESKWALLPAPER, 0, "test.bmp", SPIF_UPDATEINIFILE ); } - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From stepp@adelphia.net Mon Oct 13 19:00:00 1997 From: stepp@adelphia.net (Patrick Stepp) Date: Mon, 13 Oct 1997 19:00:00 -0000 Subject: Fw: Permission to re-distribute cygwin.dll file? Message-ID: <01bcd83a$eb820200$56163018@user.pbc.adelphia.net> I have ported a UNIX program (which is distributed FREE with the source code and binaries) to work under Windows NT using the gnu-win32 tool. However for it to run I need to also package the cygwin.dll file. Am I allowed to do this? I hope to hear from you soon so I can post the program to other users across the Internet. Thank you. Patrick Stepp -----Original Message----- From: Kathy Powers To: Patrick Stepp Date: Monday, October 13, 1997 8:09 PM Subject: Re: Permission to re-distribute cygwin.dll file? >Thanks for your email; however Cygwin32 is an unsupported product. Sorry. >The best I can suggest is to send email to: gnu-win32@cygnus.com. Our web >site gives this information as well http://www.cygnus.com/misc/gnu-win32/ . > >We are looking at porting our full GNUPro C/C++ development toolchain to >Windows NT/95 Native in the future. Let me know if you would like me to >keep your name on file for updated information on this availability. > >Additionally, we do support our GNUPro toolchain on over 150 different >platform combinations. Please see our web site for details: > http://www.cygnus.com . Let me know if you might have interest in GNUPro on >any of our supported platforms. > >Good luck, >Kathy > > >At 01:06 AM 10/12/97 -0400, you wrote: >>>>> > >I have helped a port a FREEWARE UNIX only Chat CGI program to Windows NT using your b18 version of Cygwin32. However in order for it to work, I must use the cygwin.dll file. This is fine. However since we'd like to enable other people to use this free product, I'd like to ask permission to re-distribute ONLY your cygwin.dll file along with the chat softwares pre-compiled binaries and source of the FreeChat software. Thanks for such a great product, and hope to hear from you soon. Patrick Stepp stepp@adelphia.net > > > > > > > > >Kathy Powers >Cygnus Solutions >Account Manager >Phone: +1-425-888-6002 >Fax: +1-425-888-6145 >Email: kpowers@cygnus.com >Web site: http://www.cygnus.com > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurley@wyoming.com Mon Oct 13 19:00:00 1997 From: ccurley@wyoming.com (Charles Curley) Date: Mon, 13 Oct 1997 19:00:00 -0000 Subject: upper/lower case question References: Message-ID: <3.0.2.32.19971013172034.00907da0@mailhost.wyoming.com> At 09:25 PM 10/12/97 -0700, John Mamer wrote: >Hi! > Another newbie question: I have a bunch of files, >originally written under UNIX, that have arrived at my >gnu-win32 directory via DOS (am running on Windows NT >4.0-sp3). The problem is that in the process the file names >have all been translated to upper case. I tried the obvious >thing: > >cp FILE.C file.c > >but it didn't work. I wound up reading each file into >emacs, and then copying it into a new directory using the >lower case name. This worked, but it seems, somehow, >inelegant. > >I know that this is the result of a DOS/UNIX >incompatibility, and not strictly speaking gnu-win32's >fault, but is there a neater way to do this? (I anticipate >having to do this in the future). >thanks Quick & dirty (from BASH): mv FILE.C foo.c; mv foo.c file.c You can probably put together a quick alias to do that in one command. A little more development would be a perl script to do the same for the entire directory or tree. -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sharp00@earthlink.net Mon Oct 13 23:09:00 1997 From: sharp00@earthlink.net (rale) Date: Mon, 13 Oct 1997 23:09:00 -0000 Subject: New patch available. References: <01BCD82F.1D3F4700@sos> Message-ID: <34430C5E.4413D5A3@earthlink.net> hi, Just grabbed the new bins, and so far, it seems to be working perfect under Win98. Thanks, great job. -rale Sergey Okhapkin wrote: > > Hi! > > - rcmd(), rexec(), rresvport(), socketpair() calls implemented. > > Signal handling in precompiled binary changed (no source provided for a now). > Chris Faylor rewrote signal handling stuff with semaphores instead of window > messages. With this changes new dll runs stable on Windows 95! I successfully > rebuilt the whole b18 cdk from the scratch on Windows 95 with this dll. Try it! > > -- > Sergey Okhapkin, http://www.lexa.ru/sos > Moscow, Russia > Looking for a job > > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Tue Oct 14 00:17:00 1997 From: garbanzo@hooked.net (Alex) Date: Tue, 14 Oct 1997 00:17:00 -0000 Subject: New patch available. References: <01BCD82F.1D3F4700@sos> Message-ID: On Mon, 13 Oct 1997, Sergey Okhapkin wrote: > Hi! > > - rcmd(), rexec(), rresvport(), socketpair() calls implemented. > > Signal handling in precompiled binary changed (no source provided for a now). > Chris Faylor rewrote signal handling stuff with semaphores instead of window > messages. With this changes new dll runs stable on Windows 95! I successfully > rebuilt the whole b18 cdk from the scratch on Windows 95 with this dll. Try it! Congratulations! I'm really glad to be able to use the gnu-win32 tools on my computer again. Any word on when b19 is comming out? With a little bit more kludging, I hope to have a chrooted rpm 2.4.7 (right now i #define'd chroot (x) return 0;). However I also took the coolview.tar.gz and put just the .a and .dll libs in a little tar file on my web page, for those who have faster connections to the usa than to Russia. ( http://www.hooked.net/~garbanzo/gnuwin32 ) - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From arlindo@niteroi.gsfc.nasa.gov Tue Oct 14 04:29:00 1997 From: arlindo@niteroi.gsfc.nasa.gov (Arlindo da Silva) Date: Tue, 14 Oct 1997 04:29:00 -0000 Subject: gnu-win32 and winsock References: <3442D380.C05@utoronto.ca> Message-ID: <199710141132.HAA08394@woodmore.gsfc.nasa.gov> > > Hi..I've just converted from 17.1 to 18, and the first thing I notice is > that when I started the bash shell, it keeps starting the dial-up > program I have, trying to go online. This is an extremely annoying > behaviour. I understand that winsock is initialized in this new version > when you start any app in the shell. Is it trying to get the name from > a name server or something (a similar problem with older version of GNU > NTEmacs)?? How do I disable it? You disable it from the Control Panel: Click on [start]/[settings]/[control panel]/[Internet] Click on the [Connection] tab, then uncheck the box -- [] Connect to the Internet as needed That should do it. -- Arlindo da Silva dasilva@alum.mit.edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From p.dalgaard@kubism.ku.dk Tue Oct 14 04:29:00 1997 From: p.dalgaard@kubism.ku.dk (Peter Dalgaard BSA) Date: Tue, 14 Oct 1997 04:29:00 -0000 Subject: What about RSXNT instead of cygwin32??? References: <3442267F.D80D15EE@brokat.de> Message-ID: Bernd Schilpp writes: > Now I found > RSXNT-Compiler( ftp://ftp.uni-bielefeld.de/pub/systems/msdos/misc/ > or http://www.sjc.ox.ac.uk/users/williams/ ). > The list of bugs and missing features is very short. The Libaries are > threadsave and it seems to work quite good. > Does anybody know the big difference to cygwin32 or is anybody > experienced with RSXNT ? Are any problems known ? > Please let me know your opinion. Yes, I've tried that and it certainly seems to be a class act, although not as ambitious as cygwin32. The most obvious difference is that there are no Unix utilities beyond 'make' coming with it. In particular, there's no shell, so configure scripts can't work. In contrast, cygwin32 is trying to reach a state where you can take Unix sources and just type "./configure; make". On the other hand, RSXNT includes a resource compiler and working samples of several native win32 applications, which makes it attractive for purely windows-based programs. For people coming from a Unix background, I think it can quite easily beat all of the commercial Win32 C compilers. Also, even though RSXNT implements fork() and some other Unix calls, I bet that there are things that you can't do (not that I've checked, but e.g. it took a while for cygwin32 to figure out how to do select() on a mixture of files, pipes and sockets, so I wouldn't expect to find it in RSXNT). -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Bernd.Schilpp@brokat.de Tue Oct 14 04:29:00 1997 From: Bernd.Schilpp@brokat.de (Bernd Schilpp) Date: Tue, 14 Oct 1997 04:29:00 -0000 Subject: What about RSXNT instead of cygwin32??? References: <3442267F.D80D15EE@brokat.de> Message-ID: <34432E80.9D7EA899@brokat.de> Peter Dalgaard BSA wrote: > Yes, I've tried that and it certainly seems to be a class act, > although not as ambitious as cygwin32. The most obvious difference is > that there are no Unix utilities beyond 'make' coming with it. In > particular, there's no shell, so configure scripts can't work. In > contrast, cygwin32 is trying to reach a state where you can take Unix > sources and just type "./configure; make". Thank you for writing of your experience with RSXNT. I agree with you, that it is very convenient, if you have a development-environment - like cygwin32 offers - where you can act just like in a unix-environment. But my Problem is, that threads are very important for the purpose of my Programs - so I need threadsave libaries. Does anybody know, when cygwin32 is going to have threadsave libaries ? -- Greetings, Bernd - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Tue Oct 14 04:29:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Tue, 14 Oct 1997 04:29:00 -0000 Subject: Problem opening socket Message-ID: <01BCD896.B07B5CE0@gater.krystalbank.msk.ru> Mark Newnham wrote: > can anyone tell me if there is there an obvious (or not so obvious) > reason why the following code > > #include > returns this error? > > Addresses in the specified family cannot be used with this socket. The only address family supported by winsock is AF_INET. You can't use unix domain sockets. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Tue Oct 14 04:29:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Tue, 14 Oct 1997 04:29:00 -0000 Subject: building standard utilities Message-ID: <19971014111114.28704.qmail@hotmail.com> Let me point you to: ftp://ftp.cygnus.com/pub/gnu-win32/latest/ http://www.cygnus.com/pubs/gnupro/ http://www.cygnus.com/misc/gnu-win32/ http://www.cygnus.com/ml/gnu-win32 - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >From: "Hanan Rosemarin" >To: gnu-win32@cygnus.com >Subject: building standard utilities >Date: Mon, 13 Oct 1997 12:49:34 PDT > >hi, > >I tried building some standard gnu utilities for unix, using gnu-win32 >(b18). I was unable to run the ./configure script (it reported a heap >error, and exited to dos) >any ideas? > > thanks in advance, hanan > > >______________________________________________________ >Get Your Private, Free Email at http://www.hotmail.com >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gunther.ebert@ixos-leipzig.de Tue Oct 14 04:29:00 1997 From: gunther.ebert@ixos-leipzig.de (Gunther Ebert) Date: Tue, 14 Oct 1997 04:29:00 -0000 Subject: undefined reference References: <199710140049.OAA26629@haleakala.aloha.net> Message-ID: <34434031.590@ixos-leipzig.de> Tim Newsham wrote: > > Hi, > > I found a reference to a function named "NetEnumerateTrustedDomains" > and wanted to use it. I found it listed in the microsoft headers > in as: > > NTSTATUS > NetEnumerateTrustedDomains ( > IN LPWSTR ServerName OPTIONAL, > OUT LPWSTR *DomainNames > ); > > so I made a test case using: > > #include > > DWORD STDCALL NetEnumerateTrustedDomains(LPWSTR, LPWSTR *); > [... some code ...] > > but when I went to link it I got an unresolved error: > > C:\TEMP\cc0010491.o(.text+0x36):doms.c: undefined > reference to `NetEnumerateTrustedDomains@8' > > so I checked through the libnetapi32.a and found it missing: > > % nm libnetapi32.a |grep NetEnum > [nothing] > It is really not there. You will either have to build a new import library for netapi32.dll. Look for netapi32.def in the CDK source tree (winsup/sysdef I believe) and add a line NetEnumerateTrustedDomains@8 without any @xx stuff. If the other function names in the netapi32.def file have preceding underscores add one also the new line. Build the import library by executing dlltool: dlltool -k --dllname netapi32.dll --output-lib libnetapi32.a --def netapi32.def If the functions names in netapi32.def have preceding underscores add the '-U' option to the dlltool command line. > If I look at the netapi32.dll in quikview, its in there: > > Export Table > Ordinal Entry Point Name > 0044 00010786 NetEnumerateTrustedDomains > > So the questions > > - why isnt this function in the generated .a? It has probably been forgotten, perhaps because this function isn't documented at least in the MSDN library. > - how is it decided which functions are put into the generated .a's? One has to write the import definition files manually. > - can I call this function without building a new .a? or can > I generate a minimal .a that will let me call this function? I think it doesn't make much sense to create a new minimal import library for just one function. Create a new libnetapi32.a library instead. However, you can call this function also without creating a new import library (error checking code omitted): typedef DWORD STDCALL (*fntype)(LPWSTR, LPWSTR *); void foo(LPWSTR servername, LPWSTR *domains) { HANDLE hNetApiDLL = LoadLibrary("netapi32.dll"); fntype fptr = (fntype) GetProcAddress(hNetApiDLL, "NetEnumerateTrustedDomains"); (*fptr)(servername, domains); } > - how can I make a new libnetapi32.a that has this function referenced? described above > > Tim N. > > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". -- Gunther Ebert iXOS Anwendungs-Software GmbH Angerstrasse 40-42 D-04177 Leipzig Phone : +49 341 48503-0 Fax : +49 341 48503-99 E-mail: mailto:gunther.ebert@ixos-leipzig.de www : http://www.ixos-leipzig.de - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From juolja@utu.fi Tue Oct 14 06:21:00 1997 From: juolja@utu.fi (Juha Jäykkä) Date: Tue, 14 Oct 1997 06:21:00 -0000 Subject: Problem with b18 Message-ID: <344371B9.700CC3C0@utu.fi> I'm using an international keyboard (namely Finnish) with my computer and the gnu-win32 BASH will not accept my backslash or bracket characters (or any characters produced on a Finnish keyboard with the right "alt" button pressed: @, ????, $, {, [, ], }. \, ~ and |.) I consider these quite vital in operating with a bash shell. I have tried to the "standard trick" of "stty pass8" but it does me no good. Any other suggestions? (And since I'm not a list subscriber, please answer me directly. -- ----------------------------------------------- | Juha J????ykk????, juolja@utu.fi | | home: http://www.utu.fi/~juolja/ | | pgp-key: http://www.utu.fi/~juolja/pgp.txt | ----------------------------------------------- S/MIME Cryptographic Signature -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/octet-stream Size: 4235 bytes Desc: not available URL: From earnie_boyd@hotmail.com Tue Oct 14 06:21:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Tue, 14 Oct 1997 06:21:00 -0000 Subject: mingw32 - noncygwin32 gcc - libwinserve.a Message-ID: <19971014132016.16049.qmail@hotmail.com> >From: Colin Peters >To: "'Earnie Boyd'" >Subject: RE: mingw32 - noncygwin32 gcc - libwinserve.a >Date: Tue, 14 Oct 1997 13:23:59 +0900 > >Earnie Boyd[SMTP:earnie_boyd@hotmail.com] wrote: >>I have ported rman-3.0.3a12 using cygwin32 without much ado. I have >>ported mingw32 and gcc without the cygwin layer and "for grins" tried to >>port rman-3.0.3a12 vanilla WNT3.51. I used the object file rman.o from >>the cygwin32 build and try to create rman.exe. I have the paths set so >>that none of the gnuwin32 paths are searched. >> >>I resolved undefined references by adding the following libraries: >> >> -lg -liberty -lwinserve >> >> libg.a took care of a lot of _impure_ptr and __swbuf references. >> >> libiberty.a took care of the __progname reference introduced by >>libg.a. >> >> libwinserve.a took care of the _sbrk reference. >> >>Now I have an executable without the cygwin.dll reference. However, >>when I execute I get an this error "The dynamic link library >>winserve.dll could not be found in the specified path...". > >It might be more straightforward to compile the rman.o object file >in a mingw32 environment, though you may have to work around missing >system calls (if any) in the source. I'm not sure that the approach >you are taking will work. > ---snip--- Thanks for your reply Colin. I have recompiled with the mingw32 environment and the program works fine. I had previously copied all of the include files from cygwin to a directory I called "cinclude" and added it to the gcc search path. I had to, however, mutz with combining the sys/types.h file from cygwin. This led to also futzing with time.h. But I finally got the things compiled and linked and working. I have found a bug in the mingw32 version of gcc though: If you have spaces in a -Dmacro='"this that something"' gcc comes back with: gcc: that: No such file or directory gcc: something": Invalid argument this happens with both MSDOS and BASH so it is not a shell thing. The work around was to do a #define in the program. ??TOTALLY UNRELATED?? Is there an escape character such as the \ in BASH for MSDOS? I ask this because the Makefile script has "%s(%s)" as part of a macro definition and in MSDOS you end up with s) as it tries to resolve %s(% as an environment variable. Thanks again, - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kermit@ticnet.com Tue Oct 14 06:53:00 1997 From: kermit@ticnet.com (Kermit Tensmeyer) Date: Tue, 14 Oct 1997 06:53:00 -0000 Subject: New patch available. References: <01BCD82F.1D3F4700@sos> Message-ID: <34437AA8.5D3D8616@ticnet.com> Sergey Okhapkin wrote: > > Hi! > > - rcmd(), rexec(), rresvport(), socketpair() calls implemented. > > Signal handling in precompiled binary changed (no source provided for a now). > Chris Faylor rewrote signal handling stuff with semaphores instead of window > messages. Wonderful! Is there an include file where prototypes for these functions are available? -- ------- Kermit Tensmeyer (E & T - Networking) Kermit@ticnet.com Dallas - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From papresco@technologist.com Tue Oct 14 07:14:00 1997 From: papresco@technologist.com (Paul Prescod) Date: Tue, 14 Oct 1997 07:14:00 -0000 Subject: GUI Help References: <1.5.4.32.19970925053815.00691704@dana.ucc.nau.edu> Message-ID: <34437EB9.96F95F44@technologist.com> Mike Ryan wrote: > > I am looking to start programming windows 95 applications, is using the > gnu-win32 a good choice. I want to program GUI applications like Explorer, > or Netscape, or something along those lines. Mike, I would say that if you want to program GUI networked apps like Explorer and Netscape you are going to have to learn a great deal. I would urge that the nicest "package" for learning about networked, GUI programming is Java. If you pick up any decent Java book, you will know how to do networked GUI programming by the end of it. Furthermore, most of the components you need are already either built in or easily downloadable (e.g. HTML viewers, HTTP libraries etc.). You will get "up to speed" faster because Java is easier to program in than C++ and Java GUIs are easier to program than the Windows API. If you are not happy with your Java program when you are done, then you can rewrite it in C++. At least you will already be familiar with networking, GUI stuff, OOP and component programming. Then all you will have to learn is C++ and the Windows API. You will know by then that you are serious and will not be as easily discouraged as you would be if you tackled C++ and the WINAPI directly and at the same time as everything else. Paul Prescod - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From haneke@uran.informatik.uni-bonn.de Tue Oct 14 13:01:00 1997 From: haneke@uran.informatik.uni-bonn.de (Elmar Haneke) Date: Tue, 14 Oct 1997 13:01:00 -0000 Subject: Tape? Message-ID: <199710141639.SAA21452@jod.informatik.uni-bonn.de> Hello, how can the tape-device be used using the cygwin-Tools? There is an mount-Entry for /dev/st0, but tar cannot read the tape. Is there a tar available for NT, which can read tapes? Elmar - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From casley@VSISInc.COM Tue Oct 14 13:01:00 1997 From: casley@VSISInc.COM (Ross Casley) Date: Tue, 14 Oct 1997 13:01:00 -0000 Subject: Gnu-win32 beta release 18: make bug - 'export' has no effect Message-ID: <199710141925.MAA02970@aussie.vsisinc.com> annakam@lmc.com noticed in the last week that the export command in make doesn't do what it should. I had the same problem. Here's the deal. make expects to change a process's environment by assigning to the global variable environ. Specifically, it constructs a new environment in envp and starts off a new program using this code: environ = envp; execvp(argv[0], argv); Unfortunately, that doesn't work in gnu-win32. Assigning to environ does not change the environment seen after an execvp() (or the environment used by getenv() and putenv()). One obvious fix is to replace execvp() with execve() so as to set the environment explicitly. But a nice thing about execvp() is that it searches the path itself to find argv[0]. With execve() you have to search the path yourself. Can anybody point me to either - A good way to set the current environment to be envp, or - A good way to search for a program on PATH? [Note that it is not really correct just to use putenv() to change the current environmant, since an 'unexport' command may require you to remove variables from the environment.] Many thanks in advance, -Ross Casley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sunblaze@customized.com Tue Oct 14 13:01:00 1997 From: sunblaze@customized.com (Andrew Clements, Jr.) Date: Tue, 14 Oct 1997 13:01:00 -0000 Subject: [Fwd: Update] Message-ID: <3440D271.609B@customized.com> To : gnu-win32 at cygnus dot com Subject : Update >From : "Andrew Clements, Jr." Date : Sat, 04 Oct 1997 23:36:42 -0600 Reply-To : sunblaze at customized dot com Please let me know when you have a running copy of TinyFugue for Win95. Thanks. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From annakam@lmc.com Tue Oct 14 13:01:00 1997 From: annakam@lmc.com (annakam@lmc.com) Date: Tue, 14 Oct 1997 13:01:00 -0000 Subject: "Exporting shell variables problem in GNU-Win32 B18" Message-ID: <199710141959.MAA00787@suncpu2.pdxuxbre.lmc.com> I got this known bug fixed by using Sergey Okhapkin's patched cygwin.dll from his web page. You can go to his web page from Cygnus web page. _Anna. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From raf2@zip.com.au Tue Oct 14 18:09:00 1997 From: raf2@zip.com.au (raf) Date: Tue, 14 Oct 1997 18:09:00 -0000 Subject: question & suggestion Message-ID: <3.0.1.32.19971015110406.0091d5c0@zip.com.au> greetings gnu-winners, question: what's the best approach when porting something that wants to use AF_UNIX socket addresses? suggestion: add a search facility to the mailing-list archive. thanksinadvance, raf - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From weiqigao@a.crl.com Tue Oct 14 19:54:00 1997 From: weiqigao@a.crl.com (Weiqi Gao) Date: Tue, 14 Oct 1997 19:54:00 -0000 Subject: What about RSXNT instead of cygwin32??? References: <3442267F.D80D15EE@brokat.de> Message-ID: <3442C01C.B6D8406A@a.crl.com> Bernd Schilpp wrote: > > Hi everybody, > > Does anybody know about the RSXNT-Compiler ? > I tried to get my stuff compiled with cygwin32 - but I have some > problems, because the libaries are not threadsave, the socket-problems > and so on. > And there are always new problems reported in the mailinglist - you know > it. > > Now I found > RSXNT-Compiler( ftp://ftp.uni-bielefeld.de/pub/systems/msdos/misc/ > or http://www.sjc.ox.ac.uk/users/williams/ ). > The list of bugs and missing features is very short. The Libaries are > threadsave and it seems to work quite good. > Does anybody know the big difference to cygwin32 or is anybody > experienced with RSXNT ? Are any problems known ? > Please let me know your opinion. RSXNTDJ v.1.31 and DJGPP v2.01 (not exactly RSXNT, I know) worked really well on Windows 95 machines as a Win32 compiler. You won't e able to port UNIX code quite easily as you could with GNU-Win32 though. -- Weiqi Gao weiqigao@a.crl.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From newsham@aloha.net Tue Oct 14 19:54:00 1997 From: newsham@aloha.net (Tim Newsham) Date: Tue, 14 Oct 1997 19:54:00 -0000 Subject: undefined reference References: <34434031.590@ixos-leipzig.de> Message-ID: <199710142213.MAA24628@haleakala.aloha.net> > It is really not there. You will either have to build a new import library > for netapi32.dll. Look for netapi32.def in the CDK source tree (winsup/sysdef I believe) > and add a line > > NetEnumerateTrustedDomains@8 > > without any @xx stuff. If the other function names in the netapi32.def file > have preceding underscores add one also the new line. > > Build the import library by executing dlltool: > > dlltool -k --dllname netapi32.dll --output-lib libnetapi32.a --def netapi32.def thanks. That worked. I had to leave the "@8" on though (following the exaple of the other entries in the file). Btw, what is the @8 used for and how is it generated? Tim N. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From raucd@sk.sympatico.ca Tue Oct 14 19:54:00 1997 From: raucd@sk.sympatico.ca (Darren Rauckman) Date: Tue, 14 Oct 1997 19:54:00 -0000 Subject: Help on programming Message-ID: <344430AE.6AD@sk.sympatico.ca> This may not be the right place to ask this, but you know alot or quite a bit about windows programming. I would like to program in windows, I have knowledge of programming dos applications. I tried looking for a good online tuturial for programming in windows. Not programming in VC++ or using MFC or OWL but plain old programming in windows. If any of you know of a very good, good, or any programmin place that carrys a tuturial please let me know and send the site address. Thanks Darren - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kunglao@prairienet.org Tue Oct 14 19:54:00 1997 From: kunglao@prairienet.org (Bizzaro) Date: Tue, 14 Oct 1997 19:54:00 -0000 Subject: building standard utilities References: <19971014111114.28704.qmail@hotmail.com> Message-ID: <3443EED6.D4AC8D69@prairienet.org> Earnie Boyd wrote: > > Let me point you to: > > ftp://ftp.cygnus.com/pub/gnu-win32/latest/ > > http://www.cygnus.com/pubs/gnupro/ > > http://www.cygnus.com/misc/gnu-win32/ > > http://www.cygnus.com/ml/gnu-win32 A little suggestion, can we leave the little "check the FAQ first" answers to simple, everyday questions off the list and just send the msg to the users? The way I figure it, most of us on the list already have figured out where the FAQ, mail list archives (a search feature there would REALLY help find problems/solutions), etc are. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Tue Oct 14 23:13:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Tue, 14 Oct 1997 23:13:00 -0000 Subject: New patch available. Message-ID: <01BCD950.EAA98300@gater.krystalbank.msk.ru> rale wrote: > hi, > Just grabbed the new bins, and so far, it seems to be working perfect > under Win98. Thanks, great job. > > - rcmd(), rexec(), rresvport(), socketpair() calls implemented. > > > > Signal handling in precompiled binary changed (no source provided for a now). > > Chris Faylor rewrote signal handling stuff with semaphores instead of window > > messages. With this changes new dll runs stable on Windows 95! I successfully > > rebuilt the whole b18 cdk from the scratch on Windows 95 with this dll. Try it! > > Please, address your congratulations to Chris! He made a gread work on signal handling rewritting. His changes allows the new dll to run stable on Win9X. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From desh@orp.pdc.com Tue Oct 14 23:13:00 1997 From: desh@orp.pdc.com (desh) Date: Tue, 14 Oct 1997 23:13:00 -0000 Subject: Cygnus used in a Product ? Message-ID: <199710150524.KAA29980@marina.orp.pdc.com> Anybody, Anyone aware of any commercial application ported from UNIX to NT using Cygnus ? I would appreciate suggestion/Issues and experience related to porting a commercial Unix based product on Windows NT. thanks -desh - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jeffdbREMOVETHIS@netzone.com Tue Oct 14 23:13:00 1997 From: jeffdbREMOVETHIS@netzone.com (Mikey) Date: Tue, 14 Oct 1997 23:13:00 -0000 Subject: Warning to win95 coolview users Message-ID: <344b5dbc.14901145@smtp.netzone.com> Make sure you do not do set -a in your ~/.bashrc or any other shell startup script, or if you do, make sure you do set +a as the last command, otherwise nested shell's will give you a kernel stack fault, during ./configure's and make's that define lots of variable's Guess how I figured this out ;^) (jeffdbREMOVETHIS@netzone.com) delete REMOVETHIS from the above to reply Mikey - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Wed Oct 15 00:10:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Wed, 15 Oct 1997 00:10:00 -0000 Subject: Gnu-win32 beta release 18: make bug - 'export' has no effect Message-ID: <01BCD95A.E42DC4A0@gater.krystalbank.msk.ru> Ross Casley wrote: > environ = envp; > execvp(argv[0], argv); > > Unfortunately, that doesn't work in gnu-win32. Assigning to environ does > not change the environment seen after an execvp() (or the environment used > by getenv() and putenv()). > It should work with cygwin.dll provided on my web page. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Jean-Luc.Parouty@imag.fr Wed Oct 15 00:43:00 1997 From: Jean-Luc.Parouty@imag.fr (Jean-Luc.Parouty) Date: Wed, 15 Oct 1997 00:43:00 -0000 Subject: Problem with b18 References: <344371B9.700CC3C0@utu.fi> Message-ID: <344474B7.FBBD1D9@imag.fr> I have the same problem with a.. french keyboard! if someone have a solution :-) pjluc Juha J????ykk???? wrote: > I'm using an international keyboard (namely Finnish) with my computer and > the gnu-win32 BASH will not accept my backslash or bracket characters (or any > characters produced on a Finnish keyboard with the right "alt" button > pressed: @, ????, $, {, [, ], }. \, ~ and |.) I consider these quite vital in > operating with a bash shell. I have tried to the "standard trick" of "stty > pass8" but it does me no good. Any other suggestions? (And since I'm not a > list subscriber, please answer me directly. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Wed Oct 15 00:56:00 1997 From: garbanzo@hooked.net (Alex) Date: Wed, 15 Oct 1997 00:56:00 -0000 Subject: New patch available. References: <34437AA8.5D3D8616@ticnet.com> Message-ID: On Tue, 14 Oct 1997, Kermit Tensmeyer wrote: > Sergey Okhapkin wrote: > > > > Hi! > > > > - rcmd(), rexec(), rresvport(), socketpair() calls implemented. Ack. I took a quick look at the patch, and I was thinking, wouldn't it be better to trap any non AF_INET sockets, and then return EPROTONOSUPPORT or EAFNOSUPPORT? > > Signal handling in precompiled binary changed (no source provided for a now). > > Chris Faylor rewrote signal handling stuff with semaphores instead of window > > messages. > > Wonderful! Is there an include file where prototypes for these > functions are available? Assuming the functions follow basic BSDisms, the prototypes should be as follows: /* unistd.h */ int rcmd (char **, int, char *, char *, char *, int *); int rresvport (int); /* sys/socket.h */ int socketpair (int, int, int, int *); /* ? */ int rexec (char **, int, char *, char *, char *, int *); - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From williams@xserver.sjc.ox.ac.uk Wed Oct 15 04:47:00 1997 From: williams@xserver.sjc.ox.ac.uk (Anthony Williams) Date: Wed, 15 Oct 1997 04:47:00 -0000 Subject: What about RSXNT instead of cygwin32??? References: <3442267F.D80D15EE@brokat.de> Message-ID: Bernd, I am glad that you found RSXNT on my web page! I reckon it works really well, and I have used it to produce several Win32 programs without hassles - GUI programs, and command line apps, and DLLs, with both C and C++. However, I don't know how compatible it is with CygWin32 (~100%, since the libraries are standard?) and it doesn't contain all the utilities that come with cygwin (not that I've ever found need for them) It's also good for those who use compilers and assembles (such as older Borland ones) that generate OMF object files, since it provides a conversion utility to/from the GCC object format and OMF format. Anthony On Mon, 13 Oct 1997, Bernd Schilpp wrote: > Hi everybody, > > Does anybody know about the RSXNT-Compiler ? > I tried to get my stuff compiled with cygwin32 - but I have some > problems, because the libaries are not threadsave, the socket-problems > and so on. > And there are always new problems reported in the mailinglist - you know > it. > > Now I found > RSXNT-Compiler( ftp://ftp.uni-bielefeld.de/pub/systems/msdos/misc/ > or http://www.sjc.ox.ac.uk/users/williams/ ). > The list of bugs and missing features is very short. The Libaries are > threadsave and it seems to work quite good. > Does anybody know the big difference to cygwin32 or is anybody > experienced with RSXNT ? Are any problems known ? > Please let me know your opinion. > > thanks in advance, > Bernd > > > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From 025668b@dragon.acadiau.ca Wed Oct 15 05:24:00 1997 From: 025668b@dragon.acadiau.ca (Rocky Burt) Date: Wed, 15 Oct 1997 05:24:00 -0000 Subject: concerning win32 platfrom SDK patch Message-ID: <01bcd965$3f138760$d015ba89@notebook.acadiau.ca> I've downloaded the necessary patch to patch up my platform SDK but I've tried following the instructions in the file to no avail. I just cannot comprehend what to do. Has anyone else had any luck? ************************************ Rocky Burt 100025668 025668b@dragon.acadiau.ca http://dragon.acadiau.ca/~025668b ************************************ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Kjell.Myksvoll@kjeller.fou.telenor.no Wed Oct 15 07:25:00 1997 From: Kjell.Myksvoll@kjeller.fou.telenor.no (Kjell.Myksvoll@kjeller.fou.telenor.no) Date: Wed, 15 Oct 1997 07:25:00 -0000 Subject: "error 0" from bash? Message-ID: <8055> <97/10/15> <16:24*/G=Kjell/S=Myksvoll/OU=kjeller/O=fou/PRMD=telenor/ADMD=TELEMAX/C=no/"@MHS> Hello, After ugrading with Sergey Okhapkin's latest coolview "patch", bash prints the message "D:\home\kjellm/.bashrc: error 0" and quits reading the ~/.bashrc file. (There is nothing wrong with the rc file, since the same thing happens when every line in it is commented out.) Any suggestions to what might be wrong? (I'm using gnuwin32 on a NT 4.0 installation.) best regards, kjell m. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mark@solcom.co.uk Wed Oct 15 07:51:00 1997 From: mark@solcom.co.uk (mark@solcom.co.uk) Date: Wed, 15 Oct 1997 07:51:00 -0000 Subject: Help on programming Message-ID: --- On Tue, 14 Oct 1997 20:55:43 -0600 Darren Rauckman wrote: >This may not be the right place to ask this, but you know alot or quite >a bit about windows programming. I would like to program in windows, I >have knowledge of programming dos applications. I tried looking for a >good online tuturial for programming in windows. Not programming in >VC++ or using MFC or OWL but plain old programming in windows. If any >of you know of a very good, good, or any programmin place that carrys a >tuturial please let me know and send the site address. > >Thanks >Darren > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > -----------------End of Original Message----------------- Me too! Mark. _______________________________________________ Mark G Hannah Email:mark@solcom.co.uk SolCom Systems SolCom House Tel: +44 1506 461707 Meikle Road Fax: +44 1506 461717 Kirkton Campus Livingston http://www.solcom.co.uk EH54 7DE 10/15/97 3:49:50 PM _______________________________________________ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From hasslauer@ee.hnt.heller-machines.com Wed Oct 15 07:51:00 1997 From: hasslauer@ee.hnt.heller-machines.com (hasslauer@ee.hnt.heller-machines.com) Date: Wed, 15 Oct 1997 07:51:00 -0000 Subject: books about porting from unix to nt Message-ID: Are there any useful books about porting software from unix to nt available ? Juergen - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Lassi.Tuura@cern.ch Wed Oct 15 07:51:00 1997 From: Lassi.Tuura@cern.ch (Lassi A. Tuura) Date: Wed, 15 Oct 1997 07:51:00 -0000 Subject: upper/lower case question References: <3.0.2.32.19971013172034.00907da0@mailhost.wyoming.com> Message-ID: <3444B673.6B4C5508@cern.ch> Charles Curley wrote: > Quick & dirty (from BASH): > > mv FILE.C foo.c; mv foo.c file.c The following script might also work, although you may have to do `mv' twice: for f in $*; do new="`echo $f | tr '[:upper:]' '[:lower:]'`" [ "$f" = "$new" ] || mv $f $new || exit 1 done Surprisingly enough, it converts all arguments file names from upper case to lower case :-) If you call this script `lc', then invoking it with `lc *' will lowercase all files in a directory. //lat -- Lassi.Tuura@cern.ch There's no sunrise without a night - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From darogers@tempest.pdnt.com Wed Oct 15 07:51:00 1997 From: darogers@tempest.pdnt.com (David A. Rogers) Date: Wed, 15 Oct 1997 07:51:00 -0000 Subject: Why are screen updates so slow? Message-ID: <3.0.1.32.19971015083522.00cb97dc@mail.pdnt.com> I just got usertools.exe from /latest. It's slooooooow. I hunted around the net and found a recommendation for setting term= and termcap. It wasn't much of an improvement. I understand that the code is compiled with debug on. Even so, it doesn't seem right that a simple ls command should list so slowly. Is it something I can tweak or is it inevitable? BTW Pentium 166 48M ram Regards, David - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From claus_brod@bbn.hp.com Wed Oct 15 07:51:00 1997 From: claus_brod@bbn.hp.com (Claus Brod) Date: Wed, 15 Oct 1997 07:51:00 -0000 Subject: Cygnus used in a Product ? References: <199710150524.KAA29980@marina.orp.pdc.com> Message-ID: <3444D840.63B2@bbn.hp.com> desh wrote: > Anybody, > > Anyone aware of any commercial application ported from UNIX to NT using > Cygnus ? > I would appreciate suggestion/Issues and experience related to porting a > commercial Unix based product on Windows NT. I'm not a licensing expert, but the license for the gnuwin32 stuff sounds as if you are required to ship source code for your app if it is based on gnuwin32 - I don't think that's acceptable for most commercial applications. But maybe I'm completely wrong on the licensing agreement? --claus_brod@hp.com----------------------------------------------------- Claus Brod, CoCreate Software Have you hugged your manager today? CoCreate Software GmbH A Hewlett-Packard Company Phone: +49 7031 951 152 -- http://www.geocities.com/SiliconValley/3366 ---#include -- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ccurtin@trintech.com Wed Oct 15 07:51:00 1997 From: ccurtin@trintech.com (Colman Curtin) Date: Wed, 15 Oct 1997 07:51:00 -0000 Subject: compiling perl5 Message-ID: <199710151352.OAA33783@muzak.trintech.ie> Hi folks using the latest coolview, the one that works on 95, I tried to build perl. Configure ran ok as did make depend but make stops on the following error make: *** No rule to make target `c:\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-l ib\\i386-cygwin32\\cygnus-2.7.2-970404\\../../../../i386-cygwin32/include/_ans i. h', needed by `miniperlmain.o'. Stop. :usr/src/perl5.004_01> why I ask?? thanks in advance Colman. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Wed Oct 15 08:14:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Wed, 15 Oct 1997 08:14:00 -0000 Subject: building standard utilities Message-ID: <19971015123244.1949.qmail@hotmail.com> >Date: Tue, 14 Oct 1997 17:14:46 -0500 >From: Bizzaro >To: GNU Win 32 >Subject: Re: building standard utilities > >Earnie Boyd wrote: >> >> Let me point you to: >> >> ftp://ftp.cygnus.com/pub/gnu-win32/latest/ >> >> http://www.cygnus.com/pubs/gnupro/ >> >> http://www.cygnus.com/misc/gnu-win32/ >> >> http://www.cygnus.com/ml/gnu-win32 > >A little suggestion, can we leave the little "check the FAQ first" answers to >simple, everyday questions off the list and just send the msg to the users? The >way I figure it, most of us on the list already have figured out where the FAQ, >mail list archives (a search feature there would REALLY help find >problems/solutions), etc are. >- I've included them on the list just so that anyone who would stumble into the mail archives would have them. Let's take a vote: Send them to the list? Don't send them to the list? Send your responses just to me please. Thanks, - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Richard.Hughes@aspect.com Wed Oct 15 08:14:00 1997 From: Richard.Hughes@aspect.com (Hughes, Richard) Date: Wed, 15 Oct 1997 08:14:00 -0000 Subject: Using find on shared drives. Message-ID: Hi find.exe doesnt seem to work on shared network file systems. ( either accessed using samba or mapped network drives) for example . find . -name "*" -type d -print. finds the first directory , the rest of the directories are reported on with find: "./ XXX No such file or directory"..... any answers ? Cheers Rich. ------------------------------------------------------------------------ ------ Richard Hughes Aspect Telecommunications, Open CTI Technology, Sovereign Gate, Richmond, Surrey, TW9 2NA. Tel: +44 (0)181 948 6000 email: richard.hughes@aspect.com Fax: +44 (0)181 948 6712 Direct: +44 (0)181 614 7428 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From lhall@rfk.com Wed Oct 15 08:14:00 1997 From: lhall@rfk.com (Larry Hall (RFK Partners Inc)) Date: Wed, 15 Oct 1997 08:14:00 -0000 Subject: Problem with b18 Message-ID: <2.2.32.19971015151158.0095fe20@ma.ultranet.com> At 09:45 AM 10/15/97 +0200, Jean-Luc.Parouty wrote: >I have the same problem with a.. french keyboard! >if someone have a solution :-) >pjluc > > >Juha J????ykk???? wrote: > >> I'm using an international keyboard (namely Finnish) with my computer and >> the gnu-win32 BASH will not accept my backslash or bracket characters (or any >> characters produced on a Finnish keyboard with the right "alt" button >> pressed: @, ????, $, {, [, ], }. \, ~ and |.) I consider these quite vital in >> operating with a bash shell. I have tried to the "standard trick" of "stty >> pass8" but it does me no good. Any other suggestions? (And since I'm not a >> list subscriber, please answer me directly. > > This should be in the FAQ if it is not already. For all those with this problem, you need a patched DLL from Sergey. Please see his web site at http://www.lexa.ru/sos . Larry Hall lhall@rfk.com RFK Partners, Inc. (781) 239-1053 8 Grove Street (781) 239-1655 - FAX Wellesley, MA, 02181 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Wed Oct 15 08:14:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Wed, 15 Oct 1997 08:14:00 -0000 Subject: mingw32 - noncygwin32 gcc - libwinserve.a Message-ID: <19971015122722.11288.qmail@hotmail.com> >Date: Wed, 15 Oct 1997 07:44:51 +0100 >From: "Pedro A. Aranda Guti\irrez" >To: Earnie Boyd >Cc: colin@bird.fu.is.saga-u.ac.jp, J.J.vanderHeijden@student.utwente.nl >Subject: Re: mingw32 - noncygwin32 gcc - libwinserve.a > ---snip--- > >Which bash are you using. The CYGWIN-bash, an MSDOS bash or a MINGW32 >versionof bash. If it is the latter, I'd like to know how you got it >compiled. It's been my main headache >for the last couple of months. I do refuse to install the cygwin.dll >monster in my PC. > As for BASH I'm currently using bash-2.01 that I compiled with the out-of-the-box version of cygwin.dll. As for compilation I chose the package rman-3.0.3a12 as it was small (1 module) in size. To get it to compile I had to remove the -D options from gcc and insert them into a header file that I then included in the source. I then issued the necessary build command from MSDOShell. I've also noted that the mingw32 version of gcc (I say that it is gcc because it doesn't matter which shell is used) removes all quotes from the command line. E.G.: The makefile from bash-2.01 has a command line definition of -DPROGRAM='"bash"'; when the compiler sees this it is trying to resolve the reference to bash as a variable not as a literal. As for the cygwin.dll, Cygnus Support and all involved have made a great contribution to the process of making programs portable. However, if there license prevents anyone from using it for whatever purpose desired, even compilers, I question whether I can totally support it. However, I have been given the use of it and will use it and have enjoyed using it and will help others use it. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From noer@cygnus.com Wed Oct 15 14:31:00 1997 From: noer@cygnus.com (Geoffrey Noer) Date: Wed, 15 Oct 1997 14:31:00 -0000 Subject: What about RSXNT instead of cygwin32??? References: Message-ID: <199710152130.OAA20769@cirdan.cygnus.com> > Yes, I've tried that and it certainly seems to be a class act, > although not as ambitious as cygwin32. >From what I have heard, RSXNT sounds like it does significantly less but isn't beta quality. I've also heard that nobody is actively maintaining RSXNT -- anyone know differently? I hope Cygwin32 will be a class act some day. :-) > On the other hand, RSXNT includes a resource compiler BTW, future GNU-Win32 releases will include one. -- Geoffrey Noer noer@cygnus.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From john.cook@kla-tencor.com Wed Oct 15 15:59:00 1997 From: john.cook@kla-tencor.com (John Cook) Date: Wed, 15 Oct 1997 15:59:00 -0000 Subject: bash problems: with cp with a for loop Message-ID: Hi. The following works with bash 1.14.0(5) under SCO but not with bash-1.14.7(5) under gnuwin32 (i.e., the bash that came with b18). for fname in `ls` do cp $fname /tmp; done I get an error such as the following for each filename `ls` spits out: cp: Acr99.tmp: No such file or directory Can anyone tell me what I'm doing wrong or if this is a known problem with gnuwin32 bash? --John (novice shell programmer, trying to escape from CMD.EXE) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From JCASEY@smaug.devry.ca Wed Oct 15 16:39:00 1997 From: JCASEY@smaug.devry.ca (Jeff) Date: Wed, 15 Oct 1997 16:39:00 -0000 Subject: Please get a mirror!!! Message-ID: <3445634D.3E4A@smaug.devry.ca> I was downloading for a t1 from you last night, and it was only going 4ks per sec?? How about getting a few mirrors? - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cmeis@hcia.com Wed Oct 15 16:39:00 1997 From: cmeis@hcia.com (cmeis@hcia.com) Date: Wed, 15 Oct 1997 16:39:00 -0000 Subject: ** does any publisher sell the development tools on a CD? Message-ID: <85256531.006B0511.00@notes.ba.hcia.com> Chris Meisenzahl 10/15/97 03:33 PM All, I am brand new to this list and have been using VC++ 4.0 and 5.0. I would like to try these tools. Does anyone know where they might be available on a CD? Maybe Walnut Creek or something like that? Also, could someone point me in the direction of a document detailing what C++ features are supported? With regards to the latest C++ draft spec. Thanks in advance, Christopher Meisenzahl - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jimb@pathcom.com Wed Oct 15 16:39:00 1997 From: jimb@pathcom.com (JB) Date: Wed, 15 Oct 1997 16:39:00 -0000 Subject: GNUpro C/C++ compiler setup... Message-ID: <199710152122.RAA10416@pathway1.pathcom.com> I just bought "Teach yourself C in 24 hours" from SAMS publishing and it comes with Cygnus GNUPro C/C++ compiler and debugger on CD. I think I did most of the install properly but i have trouble with the part(s) converning editing autoexec.bat. By the way, the gnu version is 17. In the faq that comes with the CD, it says to modify the autoexec.bat under win95. The faq reads like this: Assuming the D:\cygnus install location: 1) Set the GCC_EXEC_PREFIX enviroment variable to D:\cygnus\H-i386-cygwin32\lib\gcc-lib\ The trailing slash is important! 2) Add D:\cygnus\H-i386-cygwin32\bin to your $PATH. This is where your executables live. 3) MAKE needs to be able........ I'm confused!! I have edited autoexec.bat and config.sys before but could you please show me detailed examples of how my autoexec.bat should read, please? Also should I edit C:\autoexec.bat or C:\windows\autoexec.bat? Dumb questions or what!!! Help please! All these and any other tips you could provide for a good install of the compiler will be greatly appreciated. TIA Jim jimb@pathcom.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From john.cook@kla-tencor.com Wed Oct 15 16:39:00 1997 From: john.cook@kla-tencor.com (John Cook) Date: Wed, 15 Oct 1997 16:39:00 -0000 Subject: bash problems: with cp with a for loop Message-ID: OK, I found my own problem. I had this alias in .bashrc: alias ls='ls -F --color' which I have since changed to alias ls='ls -F --color=auto' and now everything is much better. Sorry to bother everyone... --John >---------- >From: John Cook >Sent: Wednesday, October 15, 1997 3:58 PM >To: 'gnuwin32' >Subject: bash problems: with cp with a for loop > > >Hi. > >The following works with bash 1.14.0(5) under SCO but >not with bash-1.14.7(5) under gnuwin32 (i.e., the bash >that came with b18). > > for fname in `ls` > do cp $fname /tmp; done > >I get an error such as the following for each filename >`ls` spits out: > > cp: Acr99.tmp: No such file or directory > >Can anyone tell me what I'm doing wrong or if this is a >known problem with gnuwin32 bash? > >--John >(novice shell programmer, trying to escape from CMD.EXE) > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From d-vang@students.uiuc.edu Wed Oct 15 17:59:00 1997 From: d-vang@students.uiuc.edu (David Vang) Date: Wed, 15 Oct 1997 17:59:00 -0000 Subject: GCC Message-ID: <199710160059.TAA02170@ux5.cso.uiuc.edu> To Whom It May Concern: I'm new to programming. I just downloaded the GNU-WIN32 software, and I want to run gcc, but when I run gcc, it gives me an error message saying, "mp3.c:1 No include path in which to find stdio.h GCC.EXE: Internal compiler error: program cpp got fatal signal 33" Can anyone help me in trying to put a path for gcc to find the standard include files? Thanks, David Vang E-Mail: d-vang@students.uiuc.edu URL: http://www.students.uiuc.edu/~d-vang/ University of Illinois at Urbana-Champaign - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From majick@jqo.dyndns.com Wed Oct 15 19:03:00 1997 From: majick@jqo.dyndns.com (Joshua O'Keefe) Date: Wed, 15 Oct 1997 19:03:00 -0000 Subject: Ported: NcFTP Message-ID: <3.0.1.32.19971015190313.007d7d40@gateway> I didn't see this listed in the "Successful Ports" document, so I thought I'd comment. Downloaded the current NcFTP source, ran configure and added -lreadline into the Makefile. Compiles and runs fine, although I haven't thoroughly tested it. Next challenge: the Foothills version of the EW-too talker. That'll be interesting. -- majick@jqo.dyndns.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Wed Oct 15 20:01:00 1997 From: garbanzo@hooked.net (Alex) Date: Wed, 15 Oct 1997 20:01:00 -0000 Subject: Problem with b18 References: <344474B7.FBBD1D9@imag.fr> Message-ID: On Wed, 15 Oct 1997, Jean-Luc.Parouty wrote: > I have the same problem with a.. french keyboard! > if someone have a solution :-) > pjluc Yes. Try getting the latest cygwin.dll, ps.exe, and bash.exe from http://www.lexa.ru/sos or www.wenet.net/~garbanzo/gnuwin32 - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Fuehrer@seabase.com Wed Oct 15 20:01:00 1997 From: Fuehrer@seabase.com (Gary Fuehrer) Date: Wed, 15 Oct 1997 20:01:00 -0000 Subject: SML-NJ for CygWin32 Message-ID: <6CC63E2E4FC1D011A2A700609716117A266F51@seawolf> Not a whole lot has happened. The SML-NJ team has my stuff, but I haven't heard where they are with it. You probably know that 109.32 came out and the cygwin platform support is not in there yet. This worried me because they are trying to go golden soon. On the cygwin side, the exception handling changes are getting hard to follow. It seems like several parties are fooling with it without much coordination of effort. This worries me because I don't know what to expect for beta19. Let me check on some things, and I'll post some more answers. Was there anything in particular you are hoping to see advanced right away? Gary > ---------- > From: Andrew Stevens[SMTP:Andrew.Stevens@comlab.ox.ac.uk] > Sent: Wednesday, October 15, 1997 10:20 AM > To: Gary Fuehrer > Subject: Re: SML-NJ for CygWin32 > > Hi Gary, > > has there been any further progress on > the SML port to cygwin yet? > > Andrew > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cowan@pswtech.com Wed Oct 15 20:01:00 1997 From: cowan@pswtech.com (Chris Cowan) Date: Wed, 15 Oct 1997 20:01:00 -0000 Subject: books about porting from unix to nt References: Message-ID: <3445202A.93798751@pswtech.com> hasslauer@ee.hnt.heller-machines.com wrote: > > Are there any useful books about porting software from unix to nt available ? > > Juergen This is going to appear like a shameless plug, but ... A co-worker and friend of mine, Andy Lowe just finished one. It's titled "Porting Unix Applications to Windows NT", published by MacMillan. See http://www.pswtech.com/article/ntbook.html and http://www.pswtech.com/porting for more details. -- Chris Cowan PSW Technologies, Inc. cowan@pswtech.com Business Systems Solutions (512) 342-3635 6300 Bridgepoint Pkwy, Bldg 3, Suite 200 (512) 345-4976 (fax) Austin, TX 78730 begin: vcard fn: Chris Cowan n: Cowan;Chris org: PSW Technologies, Inc. adr;dom: 6300 Bridgepoint Parkway, Building 3;;Suite 200;Austin;TX;78730; email;internet: cowan@pswtech.com title: Senior Software Engineer tel;work: 512-342-3635 tel;fax: 512-345-4976 x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard From jlm@compgen.com Wed Oct 15 20:01:00 1997 From: jlm@compgen.com (Jesse L. Marlin) Date: Wed, 15 Oct 1997 20:01:00 -0000 Subject: Help on programming References: <344430AE.6AD@sk.sympatico.ca> Message-ID: On Tue, 14 Oct 1997, Darren Rauckman wrote: This seems to be a trend in Windows programming, in order to learn how to do it, you have to buy a book. I haven't heard of an online tutorial, or FAQ, but there is a newsgroup called comp.os.windows.programming.win32, I think (its pretty close), but all they talk about are the MFC (microsoft foudation classes), which are fancy smancy classes that microsoft has rolled for use with their compiler. Compilers like microsoft include some tools to do interface design with, called resource kits or something to that effect, that allow you to design a gui with little effort. I think you can do as much or more with straight win32 calls, but it is confusing and difficult. I would suggest you search for wxWindows. Which is a free OS independent set of classes to aid in gui development. This implementation offers almost as much as MFC does. http://web.ukonline.co.uk/julian.smart/wxwin/ Though I have not used it, because I don't really like C++ all that much, it will be easier to start with, and better than trying to learn the ins and outs of win32. I think there are some #defines for the cygwin32 compiler, and be warned it is still in beta, but I have seen the code and it looks pretty good. Almost as ambitious as cygwin32. Does microsoft block anybody from posting information about the win32 interface, I was just wondering why information was so scarce about it on the net. > This may not be the right place to ask this, but you know alot or quite > a bit about windows programming. I would like to program in windows, I > have knowledge of programming dos applications. I tried looking for a > good online tuturial for programming in windows. Not programming in > VC++ or using MFC or OWL but plain old programming in windows. If any > of you know of a very good, good, or any programmin place that carrys a > tuturial please let me know and send the site address. > > Thanks > Darren > > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From colin@bird.fu.is.saga-u.ac.jp Wed Oct 15 20:01:00 1997 From: colin@bird.fu.is.saga-u.ac.jp (Colin Peters) Date: Wed, 15 Oct 1997 20:01:00 -0000 Subject: mingw32 - noncygwin32 gcc - libwinserve.a Message-ID: <01BCDA1C.88ECEFE0@gbird0> Earnie Boyd[SMTP:earnie_boyd@hotmail.com] wrote: >I've also noted that the mingw32 version of gcc (I say that it is gcc >because it doesn't matter which shell is used) removes all quotes from >the command line. E.G.: The makefile from bash-2.01 has a command line >definition of -DPROGRAM='"bash"'; when the compiler sees this it is >trying to resolve the reference to bash as a variable not as a literal. With the version of gcc I am using (the mingw32 native version linked to from my homepage) this can be solved by doing the following, extremely ugly, escaping: gcc junk.c "-DX=\"\\\"the X string\\\"\"" gcc gets -DX="\"the X string\"" as a single argument, which is then passed on to cpp, which does similar stripping and escaping to get -DX="the X string" as a single argument (gcc junk.c -DX="\"\\\"the X string\\\"\"" should work too, as should gcc junk.c "\"-DX=\\\"the X string\\\"\""). My source file: #define Y "the Y string" char szX = X; char szY = Y; Gets expanded (-E output) as: # 1 "junk.c" char szX = "the X string" ; char szY = "the Y string" ; Which sounds like what you want. This is, of course, with both gcc and cpp compiled using mingw32. There are options in Mingw32 (at least since 0.1.4, if not earlier) for turning off "globbing" of the command line from inside a program, but they do not seem to turn off this escaping and quoting. However, I don't think it is done by command.com, because it also happens when a program is invoked through spawn* (I think), and the Win32 API GetCommandLine returns the command line with the quotes intact in any case. (If you really needed complete control over the command line under Mingw32 GetCommandLine plus your own processing is probably the best you can do.) Anyway, the short answer to your question of a few days ago about escaping quotes and such is: yes. There are ways of escaping things so they get where they need to go in the right form, but you have to know how many times the escaping is going to be done to get it right. How this all plays out when bash or another shell is in the mix trying to do escaping and quoting as well has not been investigated (by me). Hope this helps a bit. Colin. -- Colin Peters - Saga Univ. Dept. of Information Science -- colin@bird.fu.is.saga-u.ac.jp - finger for PGP public key -- http://www.fu.is.saga-u.ac.jp/~colin/index.html -- http://www.geocities.com/Tokyo/Towers/6162/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fritz.heinrichmeyer@FernUni-Hagen.de Wed Oct 15 23:27:00 1997 From: fritz.heinrichmeyer@FernUni-Hagen.de (Fritz Heinrichmeyer) Date: Wed, 15 Oct 1997 23:27:00 -0000 Subject: Problem with b18 References: <344371B9.700CC3C0@utu.fi> <344474B7.FBBD1D9@imag.fr> Message-ID: look for the thread "bash and non us keyboard in" http://www.cygnus.com/ml/gnu-win32/1997-Oct Btw: my readline commands in .inputrc seem to be ignored. Is someone out there who uses it? - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From bcorrell@tarheel.net Wed Oct 15 23:27:00 1997 From: bcorrell@tarheel.net (bman) Date: Wed, 15 Oct 1997 23:27:00 -0000 Subject: error starting prog : mkpasswd.exe and a few others Message-ID: <01bcd9f4$35b78b00$3529cdcf@bcorrell> beta 18 when trying to execute various commands from bash such as (mkpasswd ) and a few others the shell returns to windows with a error stating this exactly : error starting prog the mkpasswd.exe file is linked to missing export netapi32.dll:netuserenum. I have a file of the same name in c:\windows\system (8k netapi32.dll). I dont understand this problem . thanks . hope this helps. Brian correll webmaster@cdtech2000.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From flam@oceanes.fr Thu Oct 16 01:55:00 1997 From: flam@oceanes.fr (flam) Date: Thu, 16 Oct 1997 01:55:00 -0000 Subject: Where can i find the cygwin.dll to the B17.1 release ? Message-ID: <3445D65C.6864@oceanes.fr> Hi, Where can i find the cygwin.dll to the B17.1 release (because if i understand makefile.DLLs isn't using with B18) ? I try ftp.cygnus.com and all mirors sites and i can't download this dll (The download appears in HTML format...) I have downloaded Tar.exe and Gunzip.exe but not cygwin.dll ! If it's not possible can you send me by e-mail this cygwin.dll. I thank you in advance. Salutations. flam - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Andrew.Stevens@comlab.ox.ac.uk Thu Oct 16 03:16:00 1997 From: Andrew.Stevens@comlab.ox.ac.uk (Andrew Stevens) Date: Thu, 16 Oct 1997 03:16:00 -0000 Subject: Accessing pathname translation... Message-ID: <3445E944.FB5E91C1@comlab.ox.ac.uk> Is there any of accessing the cygwin library's functions mapping UNIX-style pathnames into native Win32 ones? grep-ing around in the headers hasn't revealed anything other than the official UNIX syscalls etc. I'm trying to build a patch for NT Emacs to support Cygnus-style pathnames, a full port onto GNUWin32 is not practical or even really necessary. All that is required is consistent mapping of filenames. Andrew - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fjh@cs.mu.OZ.AU Thu Oct 16 03:16:00 1997 From: fjh@cs.mu.OZ.AU (Fergus Henderson) Date: Thu, 16 Oct 1997 03:16:00 -0000 Subject: Cygnus used in a Product ? References: <199710150524.KAA29980@marina.orp.pdc.com> <3444D840.63B2@bbn.hp.com> Message-ID: <199710160612.QAA05577@mundook.cs.mu.OZ.AU> Claus Brod writes: >desh wrote: >> Anyone aware of any commercial application ported from UNIX to NT using >> Cygnus ? >> I would appreciate suggestion/Issues and experience related to porting a >> commercial Unix based product on Windows NT. > >I'm not a licensing expert, but the license for the gnuwin32 stuff >sounds as if you are required to ship source code for your app if it is >based on gnuwin32 - I don't think that's acceptable for most commercial >applications. But maybe I'm completely wrong on the licensing agreement? Yes, you're wrong. You don't need to ship source code unless your app is a "derivative work" of the DLL, and if it just uses that standard POSIX interfaces it won't be. Disclaimer: I do not represent Cygnus, I am not a lawyer, this is not legal advice, yadda yadda yadda... | From fjh Fri Aug 8 19:00:24 1997 | Subject: Re: [gnu-win32@cygnus.com] Revised licensing terms | To: win32@lists.debian.org (win32) | Date: Fri, 8 Aug 1997 19:00:24 +1000 (EST) | In-Reply-To: from Bruce Perens at "Aug 6, 97 03:10:00 pm" | | > As long as they use a straight GPL as one of their licenses all of the | > tools will be OK with us, and only the library a problem. We could still | > work on a GLIBC 2.0 based library if we wished an LGPL platform. | | There should be no need for that. As far as I can see, commercial | software can still use cygwin.dll, so long as it is not a derivative | work. And since cygwin.dll just provides a standard POSIX interface, | it would be very hard for Cygnus to argue that a commercial application | that made use of it was a derivative work. (A Cygnus employee said as | much on the cygwin mailing list.) Linking with the beta18 libcygwin.a | should be fine too, because they've declared that we can use beta18 | under the terms of the Cygwin Licence, which basically says that | libcygwin.a can be used by anyone without any conditions applying. | | Thus the only thing we need to do is to continue to provide a version | of libcygwin.a that can be used with commercial software and that | works with future releases of cygwin.dll. Even that may be unnecessary. | | Disclaimer: I'm not a lawyer, this is not legal advice, yadda yadda yadda... -- Fergus Henderson | "I have always known that the pursuit WWW: < http://www.cs.mu.oz.au/~fjh > | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Thu Oct 16 04:34:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Thu, 16 Oct 1997 04:34:00 -0000 Subject: ** does any publisher sell the development tools on a CD? Message-ID: <19971016113326.988.qmail@hotmail.com> Let me point you to: ftp://ftp.cygnus.com/pub/gnu-win32/latest/ http://www.cygnus.com/pubs/gnupro/ http://www.cygnus.com/misc/gnu-win32/ http://www.cygnus.com/ml/gnu-win32 - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >From: cmeis@hcia.com >To: gnu-win32@cygnus.com >Date: Wed, 15 Oct 1997 15:33:20 -0400 >Subject: ** does any publisher sell the development tools on a CD? > > > > >Chris Meisenzahl >10/15/97 03:33 PM >All, > >I am brand new to this list and have been using VC++ 4.0 and 5.0. I would >like to try these tools. Does anyone know where they might be available on >a CD? Maybe Walnut Creek or something like that? > >Also, could someone point me in the direction of a document detailing what >C++ features are supported? With regards to the latest C++ draft spec. > > >Thanks in advance, > >Christopher Meisenzahl > > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Thu Oct 16 04:37:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Thu, 16 Oct 1997 04:37:00 -0000 Subject: bash problems: with cp with a for loop Message-ID: <19971016113622.11312.qmail@hotmail.com> Let me point you to: ftp://ftp.cygnus.com/pub/gnu-win32/latest/ http://www.cygnus.com/pubs/gnupro/ http://www.cygnus.com/misc/gnu-win32/ http://www.cygnus.com/ml/gnu-win32 - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >From: John Cook >To: "'gnuwin32'" >Subject: bash problems: with cp with a for loop >Date: Wed, 15 Oct 1997 15:54:47 -0700 > > >Hi. > >The following works with bash 1.14.0(5) under SCO but >not with bash-1.14.7(5) under gnuwin32 (i.e., the bash >that came with b18). > > for fname in `ls` > do cp $fname /tmp; done > >I get an error such as the following for each filename >`ls` spits out: > > cp: Acr99.tmp: No such file or directory > >Can anyone tell me what I'm doing wrong or if this is a >known problem with gnuwin32 bash? > >--John >(novice shell programmer, trying to escape from CMD.EXE) >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Thu Oct 16 04:40:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Thu, 16 Oct 1997 04:40:00 -0000 Subject: GNUpro C/C++ compiler setup... Message-ID: <19971016113919.7212.qmail@hotmail.com> Let me point you to: ftp://ftp.cygnus.com/pub/gnu-win32/latest/ http://www.cygnus.com/pubs/gnupro/ http://www.cygnus.com/misc/gnu-win32/ http://www.cygnus.com/ml/gnu-win32 - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >From: "JB" >To: >Subject: GNUpro C/C++ compiler setup... >Date: Wed, 15 Oct 1997 17:26:47 -0400 > >I just bought "Teach yourself C in 24 hours" from SAMS publishing and it >comes with Cygnus GNUPro C/C++ compiler and debugger on CD. I think I did >most of the install properly but i have trouble with the part(s) converning >editing autoexec.bat. >By the way, the gnu version is 17. >In the faq that comes with the CD, it says to modify the autoexec.bat under >win95. >The faq reads like this: > > Assuming the D:\cygnus install location: > >1) Set the GCC_EXEC_PREFIX enviroment variable to > D:\cygnus\H-i386-cygwin32\lib\gcc-lib\ > >The trailing slash is important! > >2) Add D:\cygnus\H-i386-cygwin32\bin to your $PATH. This is where >your executables live. > >3) MAKE needs to be able........ >I'm confused!! >I have edited autoexec.bat and config.sys before but could you please show >me detailed examples of how my autoexec.bat should read, please? Also >should I edit C:\autoexec.bat or C:\windows\autoexec.bat? Dumb questions or >what!!! >Help please! >All these and any other tips you could provide for a good install of the >compiler will be greatly appreciated. >TIA >Jim >jimb@pathcom.com >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From 025668b@dragon.acadiau.ca Thu Oct 16 11:31:00 1997 From: 025668b@dragon.acadiau.ca (Rocky Burt) Date: Thu, 16 Oct 1997 11:31:00 -0000 Subject: Cygnus Foundry Message-ID: <199710161830.PAA24883@dragon.acadiau.ca> To all: Recently I found out about Cygnus' new IDE type program called Cygnus Foundry. Does anyone know if this will be released free anytime in the near future for Win95/NT users? On IBM-compatible machines? Just curious, I was liking the idea of being able to use a IDE to write my Win95 applications Rocky Burt - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From eichin@cygnus.com Thu Oct 16 13:32:00 1997 From: eichin@cygnus.com (Mark Eichin) Date: Thu, 16 Oct 1997 13:32:00 -0000 Subject: cygwin32 emacs Message-ID: I'm attempting to build emacs 19.34 (the Geoff Voelker NT port) with cygwin32 (mostly to have a version of emacs that handles paths consistently with other cygwin32-built utilities, like nsgmls and jade.) This mostly involves tweaking configure.in a little, and bludgeoning windowsnt.h and some of the DOS_NT or WINDOWSNT ifdefs. Much of of lib-src compiles (emacsclient/server need unix domain sockets for example), and probably about 2/3 of src itself. Tricky parts remain, however. For example, unexnt.c uses both PIMAGE_DOS_HEADER and PIMAGE_NT_HEADERS; the former is defined in Windows32/Structures.h, the latter isn't defined at all. unexnt (the nt-specific unexec) is kind of important, I think I can work around most of the problems that remain... is anyone else working on this, and would like to compare notes, or make suggestions? _Mark_ Cygnus Solutions, Eastern USA - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From blair@xvn.ds.boeing.com Thu Oct 16 13:32:00 1997 From: blair@xvn.ds.boeing.com (Rick Blair) Date: Thu, 16 Oct 1997 13:32:00 -0000 Subject: Pthreads for gnu-win32? Message-ID: <9710161332.ZM9552@xvn.ds.boeing.com> Hi all, Anyone know of a port of pthreads for gnu-win32 or if gnu-win32 supports posix threads? Thanks in advance Rick Blair -- ************************************************************************** * email: blair@xvn.ds.boeing.com * The contents of this message in * * voice: (206)773-8962 * in no way reflect the opinions * * usSnail: P.O. Box 3707 M/S 3E-28 * of the Boeing Company. Opinions * * Seattle, Wa 98124 * expressed here are strictly my own * * ------------- SUPPORT YOUR LOCAL POP3 SERVER -------------- * ************************************************************************** - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From JONCKHEERE@d0tng.fnal.gov Thu Oct 16 13:32:00 1997 From: JONCKHEERE@d0tng.fnal.gov (JONCKHEERE@d0tng.fnal.gov) Date: Thu, 16 Oct 1997 13:32:00 -0000 Subject: Using find on shared drives. Message-ID: <971016085046.35e02bc8@d0tng.fnal.gov> find works fine on my system: bash$ cd //u/test-dir bash$ find . -name "*" -type d -print ./Bloomington ./boston ./public_html ./public_html/my-stuff ./temp I'm using Sergey's patched cygwin32.dll. You might try that. Alan =========================================================================== Date: Wed, 15 Oct 1997 08:20:10 -0700 From: "Hughes, Richard" Subject: Using find on shared drives. Sender: owner-gnu-win32@cygnus.com To: "'gnu-win32@cygnus.com'" Message-id: < c=GB%a=_%p=Aspect_Telecommu%l=EUEMS2-971015152010Z-2871@galactus.aspect.com > MIME-version: 1.0 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52 Content-type: text/plain; charset="us-ascii" Content-transfer-encoding: 7bit Precedence: bulk Hi find.exe doesnt seem to work on shared network file systems. ( either accessed using samba or mapped network drives) for example . find . -name "*" -type d -print. finds the first directory , the rest of the directories are reported on with find: "./ XXX No such file or directory"..... any answers ? Cheers Rich. ------------------------------------------------------------------------ ------ Richard Hughes Aspect Telecommunications, Open CTI Technology, Sovereign Gate, Richmond, Surrey, TW9 2NA. Tel: +44 (0)181 948 6000 email: richard.hughes@aspect.com Fax: +44 (0)181 948 6712 Direct: +44 (0)181 614 7428 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Thu Oct 16 13:32:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Thu, 16 Oct 1997 13:32:00 -0000 Subject: Please get a mirror!!! References: <3445634D.3E4A@smaug.devry.ca> Message-ID: In article < 3445634D.3E4A@smaug.devry.ca >, Jeff wrote: >I was downloading for a t1 from you last night, and it was only going >4ks per sec?? How about getting a few mirrors? Actually, I have bought a few mirrors but they keep cracking whenever I walk by. I have no idea why... -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Thu Oct 16 17:15:00 1997 From: garbanzo@hooked.net (Alex) Date: Thu, 16 Oct 1997 17:15:00 -0000 Subject: Ported: NcFTP References: <3.0.1.32.19971015190313.007d7d40@gateway> Message-ID: On Wed, 15 Oct 1997, Joshua O'Keefe wrote: > I didn't see this listed in the "Successful Ports" document, so I thought > I'd comment. > > Downloaded the current NcFTP source, ran configure and added -lreadline > into the Makefile. > > Compiles and runs fine, although I haven't thoroughly tested it. Yip. It should compile out of the box with ncurses, and termcap, though termcap doesn't really work AFAIK. Just set TERM to linux, and get Sergey's latest dll. I have v2.4.2 and ncurses 1.9.9g on my web page. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mh@mike.franken.de Thu Oct 16 17:15:00 1997 From: mh@mike.franken.de (Michael Hirmke) Date: Thu, 16 Oct 1997 17:15:00 -0000 Subject: Problem with b18 References: <344474B7.FBBD1D9@imag.fr> Message-ID: <6fzpgmGKpfB@mike.franken.de> Hi Jean-Luc.Parouty, >I have the same problem with a.. french keyboard! >if someone have a solution :-) Very easy - get Sergey's patched cygwin.dll off his homepage: http://miracle.geol.msu.ru/sos/ And be sure to read the hints on this page, too ! >pjluc Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh@mike.franken.de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From p.dalgaard@kubism.ku.dk Thu Oct 16 17:15:00 1997 From: p.dalgaard@kubism.ku.dk (Peter Dalgaard BSA) Date: Thu, 16 Oct 1997 17:15:00 -0000 Subject: What about RSXNT instead of cygwin32??? References: <199710152130.OAA20769@cirdan.cygnus.com> Message-ID: Geoffrey Noer writes: > > > Yes, I've tried that and it certainly seems to be a class act, > > although not as ambitious as cygwin32. > > From what I have heard, RSXNT sounds like it does significantly > less but isn't beta quality. I've also heard that nobody is actively > maintaining RSXNT -- anyone know differently? As far as I can tell, the author is still around, but hasn't posted anything on the net since the summer holidays. The current version is from March 97, so it's not exactly rapidly changing, but it's probably a bit early to declare it dead. What you may have heard is what I've also seen on dejanews, namely that Rainer Schnitker at some point abandoned RSXWIN *in favor of* RSXNT. BTW. It's probably fair to mention that also RSXNT has strings attached when it comes to commercial development. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Thu Oct 16 17:15:00 1997 From: garbanzo@hooked.net (Alex) Date: Thu, 16 Oct 1997 17:15:00 -0000 Subject: error starting prog : mkpasswd.exe and a few others References: <01bcd9f4$35b78b00$3529cdcf@bcorrell> Message-ID: On Thu, 16 Oct 1997, bman wrote: > when trying to execute various commands from bash such as (mkpasswd ) and a > few others the shell returns to windows with a error stating this exactly : > > error starting prog > > the mkpasswd.exe file is linked to missing export netapi32.dll:netuserenum. > > I have a file of the same name in c:\windows\system (8k netapi32.dll). I > dont understand this problem . mkpassword is designed for WinNT, not 95. If you're using nt, netapi32.dll would have the function netuserenum. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From david.foulds@xaqti.com Thu Oct 16 17:15:00 1997 From: david.foulds@xaqti.com (David Foulds) Date: Thu, 16 Oct 1997 17:15:00 -0000 Subject: Problem with b18 Message-ID: <199710162358.QAA00229@redhat1.xaqti.COM> Hi fellow cygwin-32ers! I tried to access the www.wenet.net location for Sergey's dll but it said 'client not authorized' under Netscape and (shame) IE. And the russian location is very slow. Help! Cheers, David On Wed, 15 Oct 1997, Jean-Luc.Parouty wrote: > I have the same problem with a.. french keyboard! > if someone have a solution :-) > pjluc Yes. Try getting the latest cygwin.dll, ps.exe, and bash.exe from http://www.lexa.ru/sos or www.wenet.net/~garbanzo/gnuwin32 - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From flam@oceanes.fr Thu Oct 16 17:15:00 1997 From: flam@oceanes.fr (flam) Date: Thu, 16 Oct 1997 17:15:00 -0000 Subject: [Fwd: Where can i find the cygwin.dll to the B17.1 release ?] Message-ID: <3446A0CA.560@oceanes.fr> To : gnu-win32 at cygnus dot com Subject : Where can i find the cygwin.dll to the B17.1 release ? >From : flam Date : Thu, 16 Oct 1997 12:54:52 +0400 Hi, Where can i find the cygwin.dll to the B17.1 release (because if i understand makefile.DLLs isn't using with B18) ? I try ftp.cygnus.com and all mirors sites and i can't download this dll (The download appears in HTML format...) I have downloaded Tar.exe and Gunzip.exe but not cygwin.dll ! If it's not possible can you send me by e-mail this cygwin.dll. I thank you in advance. Salutations. flam - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Thu Oct 16 17:15:00 1997 From: garbanzo@hooked.net (Alex) Date: Thu, 16 Oct 1997 17:15:00 -0000 Subject: Problem with b18 References: <199710162358.QAA00229@redhat1.xaqti.COM> Message-ID: On Thu, 16 Oct 1997, David Foulds wrote: > Hi fellow cygwin-32ers! I tried to access the www.wenet.net > location for Sergey's dll but it said 'client not authorized' > under Netscape and (shame) IE. And the russian location is > very slow. Help! > > Cheers, David Whoops!! Totally my fault. I was reorganizing some things on my web page and forgot to set the dir gnuwin32-bin +x. *doh*. It should now work just fine. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Thu Oct 16 17:16:00 1997 From: garbanzo@hooked.net (Alex) Date: Thu, 16 Oct 1997 17:16:00 -0000 Subject: Accessing pathname translation... References: <3445E944.FB5E91C1@comlab.ox.ac.uk> Message-ID: On Thu, 16 Oct 1997, Andrew Stevens wrote: > Is there any of accessing the cygwin library's functions mapping > UNIX-style pathnames into native Win32 ones? grep-ing around > in the headers hasn't revealed anything other than the official > UNIX syscalls etc. > > I'm trying to build a patch for NT Emacs to support Cygnus-style > pathnames, a full port onto GNUWin32 is not practical or > even really necessary. All that is required is consistent > mapping of filenames. cygwin32_conv_to_win32_path cygwin32_conv_to_full_win32_path cygwin32_conv_to_full_posix_path cygwin32_conv_to_posix_path I'm not exactly sure what a "full path" signifies. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Bernd.Schilpp@brokat.de Thu Oct 16 17:16:00 1997 From: Bernd.Schilpp@brokat.de (Bernd Schilpp) Date: Thu, 16 Oct 1997 17:16:00 -0000 Subject: What about RSXNT instead of cygwin32??? References: <199710152130.OAA20769@cirdan.cygnus.com> Message-ID: <34462208.B3FC3369@brokat.de> Peter Dalgaard BSA wrote: > Geoffrey Noer writes: > > > > > > Yes, I've tried that and it certainly seems to be a class act, > > > although not as ambitious as cygwin32. > > > > From what I have heard, RSXNT sounds like it does significantly > > less but isn't beta quality. I've also heard that nobody is actively > > maintaining RSXNT -- anyone know differently? > > As far as I can tell, the author is still around, but hasn't posted > anything on the net since the summer holidays. The current version is > from March 97, so it's not exactly rapidly changing, but it's probably > a bit early to declare it dead. I know from Rainer Schnitker that there will be a new version (1.4) of RSXNT with some improvements. But 1.4 will not come this October. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mh@mike.franken.de Thu Oct 16 17:16:00 1997 From: mh@mike.franken.de (Michael Hirmke) Date: Thu, 16 Oct 1997 17:16:00 -0000 Subject: "error 0" from bash? References: <8055> <97/10/15> <16:24*/G=Kjell/S=Myksvoll/OU=kjeller/O=fou/PRMD=telenor/ADMD=TELEMAX/C=no/"@MHS> Message-ID: <6fzph1MKpfB@mike.franken.de> Hi Kjell.Myksvoll, >Hello, > >After ugrading with Sergey Okhapkin's latest coolview "patch", bash >prints the message "D:\home\kjellm/.bashrc: error 0" and quits reading >the ~/.bashrc file. (There is nothing wrong with the rc file, since >the same thing happens when every line in it is commented out.) > >Any suggestions to what might be wrong? You didn't read the hints on Sergey's homepage. You have to use binary mounts and change line breaks from DOS to U*ix style. > >(I'm using gnuwin32 on a NT 4.0 installation.) > >best regards, >kjell m. Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh@mike.franken.de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mh@mike.franken.de Thu Oct 16 17:16:00 1997 From: mh@mike.franken.de (Michael Hirmke) Date: Thu, 16 Oct 1997 17:16:00 -0000 Subject: Using find on shared drives. References: Message-ID: <6fzphIn$pfB@mike.franken.de> Hi Hughes,, [...] > find: "./ XXX No such file or directory"..... > > > any answers ? Sorry, no answer - but a me too 8-( Here this not only happens for network drives, but also for local ones. Therefore things like updatedb won't work correctly. > > Cheers > Rich. Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh@mike.franken.de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Thu Oct 16 20:09:00 1997 From: garbanzo@hooked.net (Alex) Date: Thu, 16 Oct 1997 20:09:00 -0000 Subject: ircu and cygwin.dll Message-ID: Arg. I was hoping that now we have socketpair() and ircu (Undernet's IRCD) uses GNU's autoconf, that I could give it a shot at trying to compile it. Yeah, I know, it's like giving kids nukes, but hey it's fun. However on untaring the ircu arcive (www.xs4all.nl/~carlo17/ircd-dev) tar gpf'd and resumed when I hit the close button. running configure caused each new sh to do similar things. Really puzzling to me. Anyone else try this? - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Thu Oct 16 20:09:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Thu, 16 Oct 1997 20:09:00 -0000 Subject: GCC Message-ID: <19971016150848.29377.qmail@hotmail.com> Let me point you to: ftp://ftp.cygnus.com/pub/gnu-win32/latest/ http://www.cygnus.com/pubs/gnupro/ http://www.cygnus.com/misc/gnu-win32/ http://www.cygnus.com/ml/gnu-win32 - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >Date: Wed, 15 Oct 1997 19:59:05 -0500 (CDT) >To: Experts >From: David Vang >Subject: GCC > >To Whom It May Concern: > >I'm new to programming. I just downloaded the GNU-WIN32 software, and I >want to run gcc, but when I run gcc, it gives me an error message saying, > "mp3.c:1 No include path in which to find stdio.h > GCC.EXE: Internal compiler error: program cpp got fatal signal 33" > >Can anyone help me in trying to put a path for gcc to find the standard >include files? > >Thanks, > >David Vang >E-Mail: d-vang@students.uiuc.edu >URL: http://www.students.uiuc.edu/~d-vang/ >University of Illinois at Urbana-Champaign > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From colin@bird.fu.is.saga-u.ac.jp Thu Oct 16 23:27:00 1997 From: colin@bird.fu.is.saga-u.ac.jp (Colin Peters) Date: Thu, 16 Oct 1997 23:27:00 -0000 Subject: mingw32 - noncygwin32 gcc - libwinserve.a Message-ID: <01BCDB11.0B047620@gbird0> Jan-Jaap van der Heijden[SMTP:janjaap@Wit381304.student.utwente.nl] wrote: >On Wed, 15 Oct 1997, Pedro A. Aranda Gutiirrez wrote: > >> Earnie Boyd wrote: >> > I have found a bug in the mingw32 version of gcc though: >> > If you have spaces in a -Dmacro='"this that something"' gcc comes back [snip: an error] >> >> I would say that it is ***AND*** it isn't a bug in gcc. It's the >> behaviour of manyGNU tools once recompiled to use CRTDLL.DLL . It >> has something to do >> with the way we pass arguments to the spawn...() functions. As far as I [snip] > >This is supposed to be fixed in the test "prerelease" which is in > ftp://agnes.dida.physik.uni-essen.de/home/janjaap/private/mingw32/ > >To quote the source: > >/* This is a kludge to get around the Microsoft C spawn functions' > propensity to remove the outermost set of double quotes from all > arguments. */ It's only partially spawn's fault. Spawn doesn't do anything to quotes in args, or slashes, backslashes, or anything else. Unfortunately what we have here (if I am correct) is a basic limitation of the OS. Arguments are not passed between processes as a block of null-terminated strings, but as a single command line string (curse the programmer who made this coding decision). Spawnv can do nothing but attempt to create a reasonable command line from the argv block, and what it does is concatinate all the members of the block together, with a single space between each. Then the mingw32 startup code calls _GetMainArgs, which is implemented in crtdll, to break up the command line into tokens and put them in an __argv block. Of course, if any of the args passed to spawnv contained spaces then the tokenization will not be the same. In order to allow args with spaces _GetMainArgs allows args to be quoted, and quotes to be escaped with backslashes, and backslashes in front of quotes to be escaped with backslashes. To get exactly the same thing that you mean to pass with spawn in the argv array of a mingw32 program (or probably any MS program-- confirmations for VC++ behavior anyone?) you have to follow these rules (I think): - Double all backslashes preceeding a quote (including sets of multiple backslashes e.g. \\" -> \\\\", if you don't do this \\" -> \\\" and after the next step \\\\", and that ends up as \\ in the called program, with the quote dropped). Do not double backslashes that are not in front of a quote. - Put a backslash in front of all quotes within an arg. - Put quotes around all args containing whitespace. This is ugly ugly ugly... and it's also one of the things I wish MS would break compatibility to fix. The shell or calling process should tokenize the args, not the new process, and pass them as a block, like UNIX does (if I understand correctly). Still, I am not yet decided whether, in the context of mingw32, this is a problem that should be fixed at all. Basically my argument is: 1) Most of the time this does not cause problems, and many of those problems can be solved by properly quoting args on the command line. 2) Mingw32 makes a best effort to be compatible, but it is, essentially, a way of morphing GCC into a Win32 complier. Offering total UNIX compatibility is much better done with a completely independent C run time-- Mingw32 cannot hope to implement fork, signals, etc. in a UNIX compatible way without completely abandoning any pretense of "minimalism". It's possible that spawn wrappers, like the dirent implementation, will be small and useful enough to warrent their inclusion. I would be more convinced if it was more than just an unusual argument to gcc that was breaking. I don't think it is a good idea to patch gcc to fix this problem. If we are going to fix it, instead of working around it on the command line itself, then we should do it by fixing the library underneath the spawn calls. Patching gcc for this failure in Win32 will only incur the ire of anti-win32 elements within the GNU community, as well as being inefficient. Of course, this isn't "my" code, and I have no real authority, but I just wanted to put some of the issues I see on the table. Just fishing for opinions, Colin. PS. I'm willing to make some work towards implementing those wrappers, although I can't say how quickly it will be done. PPS. Jan-Jaap: I'd like to pass you a version of mingw32 0.1.5 to do a once-over before I release it, if you have time. That would be some time next week I hope. PPPS. Direct flames straight to me and keep the list free of napalm. :) -- Colin Peters - Saga Univ. Dept. of Information Science -- colin@bird.fu.is.saga-u.ac.jp - finger for PGP public key -- http://www.fu.is.saga-u.ac.jp/~colin/index.html -- http://www.geocities.com/Tokyo/Towers/6162/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mjiinas@ix.netcom.com Fri Oct 17 02:59:00 1997 From: mjiinas@ix.netcom.com (mjiinas@ix.netcom.com) Date: Fri, 17 Oct 1997 02:59:00 -0000 Subject: No Subject Message-ID: <1997101755940641@> Hi... I'm an experienced C programmer, but new to C++ and Windows programming. I recently bought a book on Win95 programming, and it contained some source code for a very simple example program of which I'll include later. I've tried to compile this simple program, but failed. I get spammed with several "undefined reference to" error messages. Also, on another note, is there a way to download all the Cygnus docs off the net without doing it page by page? This is extremely annoying. DJGPP has a very informative and useful INFO command. I don't want to spend hours on-line every time I want to refer to the docs, or have a folder full of a jumble of documents with a confusing list of pages. Okay, back to the code... They are listed as follows. 1: compile command line. 2: LISTING2.H 3: LISTING2.CPP 4: LISTING2.RC Any help will be greatly appreciated. Thanks... ^_^ g++ listing2.cpp -lstdc++ LISTING2.H #define IDM_EXIT 100 #define IDM_TEST 200 #define IDM_ABOUT 301 #define IDC_TEXT 101 #define IDC_EDIT 102 #define IDC_BTN 103 LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About (HWND, UINT, WPARAM, LPARAM); LISTING2.CPP #include #include "listing2.h" #if defined (WIN32) #define IS_WIN32 TRUE #else #define IS_WIN32 FALSE #endif #define IS_NT IS_WIN32 && (BOOL)(GetVersion() < 0x80000000) #define IS_WIN32S IS_WIN32 && (BOOL)(!(IS_NT) && (LOBYTE(LOWORD(GetVersion()))<4)) #define IS_WIN95 (BOOL)(!(IS_NT) && !(IS_WIN32S)) && IS_WIN32 HINSTANCE hInst; // current instance LPCTSTR lpszAppName = "MyApp"; LPCTSTR lpszTitle = "Listing 3-2"; BOOL RegisterWin95( CONST WNDCLASS* lpwc ); int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { MSG msg; HWND hWnd; WNDCLASS wc; // Register the main application window class. //............................................ wc.style = CS_HREDRAW | CS_VREDRAW; wc.lpfnWndProc = (WNDPROC)WndProc; wc.cbClsExtra = 0; wc.cbWndExtra = 0; wc.hInstance = hInstance; wc.hIcon = LoadIcon( hInstance, lpszAppName ); wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wc.lpszMenuName = lpszAppName; wc.lpszClassName = lpszAppName; if ( IS_WIN95 ) { if ( !RegisterWin95( &wc ) ) return( FALSE ); } else if ( !RegisterClass( &wc ) ) return( FALSE ); hInst = hInstance; // Create the main application window. //.................................... hWnd = CreateWindow( lpszAppName, lpszTitle, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL ); if ( !hWnd ) return( FALSE ); ShowWindow( hWnd, nCmdShow ); UpdateWindow( hWnd ); while( GetMessage( &msg, NULL, 0, 0) ) { TranslateMessage( &msg ); DispatchMessage( &msg ); } return( msg.wParam ); } BOOL RegisterWin95( CONST WNDCLASS* lpwc ) { WNDCLASSEX wcex; wcex.style = lpwc->style; wcex.lpfnWndProc = lpwc->lpfnWndProc; wcex.cbClsExtra = lpwc->cbClsExtra; wcex.cbWndExtra = lpwc->cbWndExtra; wcex.hInstance = lpwc->hInstance; wcex.hIcon = lpwc->hIcon; wcex.hCursor = lpwc->hCursor; wcex.hbrBackground = lpwc->hbrBackground; wcex.lpszMenuName = lpwc->lpszMenuName; wcex.lpszClassName = lpwc->lpszClassName; // Added elements for Windows 95. //............................... wcex.cbSize = sizeof(WNDCLASSEX); wcex.hIconSm = LoadImage(wcex.hInstance, lpwc->lpszClassName, IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR ); return RegisterClassEx( &wcex ); } LRESULT CALLBACK WndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) { static HWND hText = NULL; static HWND hEdit = NULL; static HWND hBtn = NULL; switch ( uMsg ) { case WM_COMMAND : switch( LOWORD( wParam ) ) { case IDM_TEST : hText = CreateWindow( "STATIC", "Static Text", WS_CHILD | WS_VISIBLE | SS_LEFT, 10, 10, 100, 15, hWnd, (HMENU)IDC_TEXT, hInst, NULL ); hEdit = CreateWindow( "EDIT", "", WS_CHILD | WS_VISIBLE | ES_LEFT | WS_BORDER, 110, 8, 100, 20, hWnd, (HMENU)IDC_EDIT, hInst, NULL ); hBtn = CreateWindow( "BUTTON", "Push Button", WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, 50, 50, 100, 32, hWnd, (HMENU)IDC_BTN, hInst, NULL ); break; case IDM_ABOUT : DialogBox( hInst, "AboutBox", hWnd, (DLGPROC)About ); break; case IDM_EXIT : DestroyWindow( hWnd ); break; } break; case WM_DESTROY : PostQuitMessage(0); break; default : return( DefWindowProc( hWnd, uMsg, wParam, lParam ) ); } return( 0L ); } LRESULT CALLBACK About( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_INITDIALOG: return (TRUE); case WM_COMMAND: if ( LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) { EndDialog(hDlg, TRUE); return (TRUE); } break; } return (FALSE); } LISTING2.RC #include "windows.h" #include "listing2.h" MYAPP ICON DISCARDABLE "GENERIC.ICO" MYAPP MENU DISCARDABLE BEGIN POPUP "&File" BEGIN MENUITEM "E&xit", IDM_EXIT END MENUITEM "Test!", IDM_TEST POPUP "&Help" BEGIN MENUITEM "&About Listing 3-2...", IDM_ABOUT END END ABOUTBOX DIALOG 22, 17, 171, 43 STYLE DS_MODALFRAME | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU CAPTION "Listing 3-2" FONT 8, "MS Sans Serif" { CONTROL "MyApp", -1, "STATIC", SS_ICON | WS_CHILD | WS_VISIBLE, 3, 2, 16, 16 CONTROL "Generic Application", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 28, 4, 100, 8 CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 116, 26, 50, 14 } - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From arlindo@niteroi.gsfc.nasa.gov Fri Oct 17 04:57:00 1997 From: arlindo@niteroi.gsfc.nasa.gov (Arlindo da Silva) Date: Fri, 17 Oct 1997 04:57:00 -0000 Subject: New patch breaks some X clients Message-ID: <199710171200.IAA14319@woodmore.gsfc.nasa.gov> One problem that I encounter off and on, is long delays when starting some X clients (mostly those using Xaw). The last one of my problems had been fixed with Serguey's patch of 19Sep97 (may be before that, I did not try). The fact is, I just installed Serguey's most recent patch and the long delays came back (X Servers: MI/X or X-Win32, the ones I tried). The package I am refering to is Ncview, an X11 based visualization tool; it builds out of the small (200K) tarfile available from: ftp://niteroi.gsfc.nasa.gov/pub/win32/ncview/ncview-1.70w.tar.g (see README.win32). Any help greatly appreciated. Arlindo. -- Arlindo da Silva dasilva@alum.mit.edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From arlindo@niteroi.gsfc.nasa.gov Fri Oct 17 04:57:00 1997 From: arlindo@niteroi.gsfc.nasa.gov (Arlindo da Silva) Date: Fri, 17 Oct 1997 04:57:00 -0000 Subject: Accessing pathname translation... References: <3445E944.FB5E91C1@comlab.ox.ac.uk> Message-ID: <199710171139.HAA14254@woodmore.gsfc.nasa.gov> > I'm trying to build a patch for NT Emacs to support Cygnus-style > pathnames, Does that includes symlinks? > a full port onto GNUWin32 is not practical or > even really necessary. All that is required is consistent > mapping of filenames. > I see myself more and more logging on to my NT remotely from a SGI. What would be really lovely is networl transparency X windows support, so that I could pop up a NT emacs window on my workstation. You don't really need gnuwin32 for that as X11R6.3 compiles out of the tarfile with MSVC. Arlindo. -- Arlindo da Silva dasilva@alum.mit.edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From claus_brod@bbn.hp.com Fri Oct 17 05:16:00 1997 From: claus_brod@bbn.hp.com (Claus Brod) Date: Fri, 17 Oct 1997 05:16:00 -0000 Subject: Commercial license for Cygwin32 library Message-ID: <344756EC.7A79@bbn.hp.com> Hi, I just found the following on the GNU-Win32 homepage: In future GNU-Win32 releases (possibly starting with beta 19), Cygwin32 itself may be available for license under both the GPL, and under a separate Cygwin32 commercial license. The precise terms of the Cygwin32 commercial license have yet to be determined. Cygwin32 is used by the GNU-Win32 tools, and can be used more generally to port other Unix applications to Windows. Does somebody have more details on the commercial license? Thanks, Claus --claus_brod@hp.com----------------------------------------------------- Claus Brod, CoCreate Software Have you hugged your manager today? CoCreate Software GmbH A Hewlett-Packard Company Phone: +49 7031 951 152 -- http://www.geocities.com/SiliconValley/3366 ---#include -- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From nick.brealey@aeat.co.uk Fri Oct 17 08:23:00 1997 From: nick.brealey@aeat.co.uk (Nicholas J Brealey) Date: Fri, 17 Oct 1997 08:23:00 -0000 Subject: Problem with test -r Message-ID: <199710171455.PAA03910@sdssuna.culham.aeat.co.uk> Hi I am using the CYGWIN32 port of bash with great success but I have just encountered one minor problem with test -r: On Windows NT 4.0 SP3 I get: bash$ touch xxxx bash$ ls -l xxxx -rw-rw-rw- 1 1010 everyone 0 Oct 17 14:31 xxxx bash$ if test -r xxxx ; then echo ok ;fi ok bash$ chmod o-rwx xxxx bash$ ls -l xxxx -rw-rw---- 1 1010 everyone 0 Oct 17 14:31 xxxx bash$ On Solaris 2.5 with bash 2.01.0 I get: bash$ touch xxxx bash$ ls -l xxxx -rw-r--r-- 1 nick users 0 Oct 17 15:46 xxxx bash$ if test -r xxxx ; then echo OK ; fi OK bash$ chmod o-rwx xxxx bash$ ls -l xxxx -rw-r----- 1 nick users 0 Oct 17 15:46 xxxx bash$ if test -r xxxx ; then echo OK ; fi OK bash$ I am using b18 with the original bash but with Sergey's cygwin.dll's from 24 September 1997. The output of mount looks like: bash$ mount mount Device Directory Type Flags \\.\tape1: /dev/st1 native no-mixed,text!=binary \\.\tape0: /dev/st0 native no-mixed,text!=binary \\.\b: /dev/fd1 native no-mixed,text!=binary \\.\a: /dev/fd0 native no-mixed,text!=binary f:\gnuwin32\b18\H-i386-cygwin32 / native no-mixed,text!=binary bash$ Does anyone have any ideas? Regards Nick - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From emmess@bml.se.org Fri Oct 17 08:23:00 1997 From: emmess@bml.se.org (Martin Svenningsson) Date: Fri, 17 Oct 1997 08:23:00 -0000 Subject: icmp again.. Message-ID: <3.0.3.32.19971017172211.00919940@triton.tripnet.se> Hello. I wonder if someone can tell me how to use ICMP with cygnus wunderful gcc.exe. The icmp.h and ip_icmp.h is empty, and I read in this lists archive that winsock don't handle ICMP in the same way as unix, but there was .h's fixing it and calling icmp.dll(?). The guy who wrote that mail said that I (well, us;P) should search for a file named ICMP_API.ZIP, but I can't find anyting named that nor something like it. I found a ms_icmp.h somewhere, but gcc don't like it. Will be glad if someone can help me :) btw, im trying to port the icmpinfo-1.11, which is an excellent icmp-logger. If someone already ported it (or simular) please let me know. Thanx. ________________________________________________ IRL : Martin Svenningsson - Helsingborg, SWEDEN URL : http://www.tripnet.se/~emmess/ - go visit IRC : EmmEss on irc.dal.net and irc.valhall.net MAIL : emmess@triton.tripnet.se - finger for PGP - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fjh@cs.mu.OZ.AU Fri Oct 17 09:21:00 1997 From: fjh@cs.mu.OZ.AU (Fergus Henderson) Date: Fri, 17 Oct 1997 09:21:00 -0000 Subject: Pthreads for gnu-win32? References: <9710161332.ZM9552@xvn.ds.boeing.com> Message-ID: <199710171611.CAA32241@mundook.cs.mu.OZ.AU> You write: > Anyone know of a port of pthreads for gnu-win32 or if gnu-win32 >supports posix threads? As far as I know, gnu-win32 does not support threads; I'm pretty sure that the C library it uses, `newlib', is not thread-safe. It is a pity that Cygnus didn't use the GNU C library, which supports threads, and (from what I have heard) is generally better than newlib. I believe the main motivation for using newlib was copyright issues. -- Fergus Henderson | "I have always known that the pursuit WWW: < http://www.cs.mu.oz.au/~fjh > | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cvn@interchain.nl Fri Oct 17 09:51:00 1997 From: cvn@interchain.nl (Kees van Veen) Date: Fri, 17 Oct 1997 09:51:00 -0000 Subject: tty raw mode Message-ID: <34477B57.3C07A027@interchain.nl> Hi, A while ago I posted a question about getting the console in raw mode. In the meantime I found a partially working solution using GetConsoleMode and SetConsoleMode. Here's a piece of code: #include #include #include main() { DWORD dwMode; HANDLE hStdIn = GetStdHandle(STD_INPUT_HANDLE); if (GetConsoleMode(hStdIn, &dwMode) == TRUE) SetConsoleMode(hStdIn, dwMode & ~(ENABLE_LINE_INPUT | /* No buffering */ ENABLE_PROCESSED_INPUT | ENABLE_ECHO_INPUT | /* No echo */ ENABLE_WINDOW_INPUT)); for (;;) { int c = getchar(); printf("%d <%c>\n", c, c); } } Now all works fine except for two things: 1) getchar() does not distinguish between and 2) I've also tried a version using ReadConsole(), I've tried _setmode(0, O_BINARY), but without any success. Does any of you have any idea ? Thanks in advance for your time. Kees - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jessada_jung@hotmail.com Fri Oct 17 09:51:00 1997 From: jessada_jung@hotmail.com (J Jung) Date: Fri, 17 Oct 1997 09:51:00 -0000 Subject: problem while Making Message-ID: <34479668.AB36AC49@hotmail.com> Hello cygnus-win32 's staff I have found the problem below . Is this a bug or my fault ? Please tell me . Thak you very much. jessada_jung@hotmail.com Sincerely yours, J jung from Thailand . ######## This is my problem below ############################ C:\ai\progol42_download\newprogol\source>make gcc -O6 main.o plg.o command.o init.o hash.o func.o set.o item.o list.o utils. o alloc.o terms.o clause.o lib.o integrat.o cost.o bits.o reduce.o control.o sat .o sample.o interp.o deduce.o xy.o subsume.o chi.o -o progol -lm E:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-970404\.. /../../../i386-cygwin32\lib/libm.a(w_lgamma.o)(.text+0x7):w_lgamma.c: undefined reference to `signgam' gcc: Internal compiler error: program ld got fatal signal 1 make: *** [progol] Error 1 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fjh@cs.mu.oz.au Fri Oct 17 09:51:00 1997 From: fjh@cs.mu.oz.au (Fergus Henderson) Date: Fri, 17 Oct 1997 09:51:00 -0000 Subject: [Fwd: Where can i find the cygwin.dll to the B17.1 release ?] References: <3446A0CA.560@oceanes.fr> Message-ID: <199710171625.CAA00063@mundook.cs.mu.OZ.AU> flam writes: >Where can i find the cygwin.dll to the B17.1 release (because if i >understand makefile.DLLs isn't using with B18) ? The reason flam is asking this is that he wants to build a DLL with b18. I told flam that I had only tested the Makefile.DLLs on my WWW page with b17.1. I think flam is a bit lost. I explained to him that putting "#include Makefile.DLLs" in his C file wasn't quite right... maybe someone here can give him some help. Cheers, Fergus. -- Fergus Henderson | "I have always known that the pursuit WWW: < http://www.cs.mu.oz.au/~fjh > | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From claus_brod@bbn.hp.com Fri Oct 17 09:51:00 1997 From: claus_brod@bbn.hp.com (Claus Brod) Date: Fri, 17 Oct 1997 09:51:00 -0000 Subject: Cygnus used in a Product ? References: <199710150524.KAA29980@marina.orp.pdc.com> <3444D840.63B2@bbn.hp.com> <199710160612.QAA05577@mundook.cs.mu.OZ.AU> Message-ID: <344796DB.3A46@bbn.hp.com> > Yes, you're wrong. Good news! > You don't need to ship source code unless your app is a "derivative work" > of the DLL, and if it just uses that standard POSIX interfaces it won't be. In other words, as long as I just use the Cygwin32 DLL(s) along with the header files to compile and link my application, I can distribute my application along with the Cygwin32 DLLs (plus maybe the sources for the DLLs), but I am not forced to publish the sources for my application? --claus_brod@hp.com----------------------------------------------------- Claus Brod, CoCreate Software Have you hugged your manager today? CoCreate Software GmbH A Hewlett-Packard Company Phone: +49 7031 951 152 -- http://www.geocities.com/SiliconValley/3366 ---#include -- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jhouston@walldata.com Fri Oct 17 09:51:00 1997 From: jhouston@walldata.com (Houston, Jerry) Date: Fri, 17 Oct 1997 09:51:00 -0000 Subject: Help on programming Message-ID: <199710171434.HAA17692@cygnus.com> You poor thing! How many other lucrative technical careers or fascinating hobbies do you imagine are available to you without so much as buying a book? As a matter of fact, there is a LOT of free knowledge available from microsoft.com, if you take the time to look. I would imagine that the reason the folks on the programming newsgroup talk about MFC a lot is because they're mostly professionals. They're getting paid big bucks to create robust Win32 apps using the most appropriate tools available, which in many cases means they need to use MFC. Why write your own 30,000 lines of OLE and ActiveX code, f'instance, when well-tested stuff comes with the compiler? And incidentally, many compilers are sold with MFC classes. Microsoft licenses it to other vendors, and it's become quite an industry standard. For casual personal experimentation with Win32, Microsoft's "fancy schmancy" MFC classes aren't important to know about. In fact, the more you know about the underlying Win32 API, the better. However, when I interview a programmer candidate, I'm most impressed by those who are already familiar with the architecture they'll need to work with here. It means I'll need to teach them much less about their chosen craft to begin with, and they can get to work and become productive much sooner. XWindows? Right! Now THERE's something in the process of taking the world by storm. > -----Original Message----- > From: Jesse L. Marlin [SMTP:jlm@compgen.com] > Subject: Re: Help on programming > > On Tue, 14 Oct 1997, Darren Rauckman wrote: > > This seems to be a trend in Windows programming, in order to learn how > to > do it, you have to buy a book. I haven't heard of an online tutorial, > or > FAQ, but there is a newsgroup called > comp.os.windows.programming.win32, I > think (its pretty close), but all they talk about are the MFC > (microsoft > foudation classes), which are fancy smancy classes that microsoft has > rolled for use with their compiler. > I would suggest you search for wxWindows. > > Which is a free OS independent set of classes to aid in gui > development. > This implementation offers almost as much as MFC does. begin 600 winmail.dat M>)\^(@,.`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<` M&````$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`02``0`8````4D4Z($AE M;'`@;VX@<')O9W)A;6UI;F<`.@@!"8`!`"$````R,D5!-S(V.#@@`J0#XPD"`&-H"L!S970P'B`'$P*#`%`05G!R M<=XR$5D.4`/5$65]"H`(R.P@.PEI#B`X"B,6,15Z9PH5`H`*@75C`%`+`VQ^ M:0\Q#,$!P0C0`$$+8&ZQ#A`P,S,+I1+060A@2"!P;P6Q=&@+@&?.(0JB"H0* M@$AO!^`#@=AY(&\;D`20(`I`!0!@871I=F4;@`60:/4#`&,'0"`>H`G1$0`= M,'D%P&9A!/`+@!WA&A`@,&AO8F((D`0@9&_,('D;$0=P86<+@!X@^Q[Q(;!V M"W`+8`)@'B$@Y*\#\!N0"&`%0',@X&T88$9H(;`$(&)U>2`28>,D,!M0:S\@ M"N,*A!C5/Q%0!"`DL`#``D`=<6]F\1^!8W0L&X$$D!X@!``Q)*%,3U0G$PG1 M(&OF;AS`(G!D9R'J`U(`L4Q<`'Z#G`B`L4P(0;&L?03`4 M$J!R;PG`86TJL"`A(9!W]G,)P`A@<"P!,)`AL`;@\2-A349#)*$)``5`*!$R M8@608741$">B>2=C(=$$8'-T;!T@,4%F3P>0`)`"(`=`0*\OL"!@-&`%0%<+@#,2T/AA<'`$ M(#1@(!(L8C4B_SGB`V`2H`T`1Q)Y!F)PN`-4`=`'!C/-,) M\",`96QLWBT>0#5`/Q$U0'4!($/Q[P>"(Q(L4RM1<`,0!)`E$?Y!0U$+@!_` M`0`",`=`-6#_)Y`]E$>5)G$AT2.0+H%&\[TS4F,+8`00!Y`V84TJQO]"843@ M`(`'D2,@(I(=1!X0NT-0!;!S)Y!#0B,@)S0#<4:A('%U03(#D0N`9&TY47(= M($2B9`L1+6M&:P6Q/>%U'K%P'R$V$B#\97A2H0=Q2-$=\#`!1O/O.9,GD$P' M3N$B'Y!$T%"!-Q#0`X%5\")+&B&R;B?_,]%'H`D1`'!-0RDB,N0V8?Y)`Z`G M5S41(=$A`EC(+%,^=4-0!)`U8"`2.91!4+Y)6@0T(";2/^T$-YR104N M,`N`)N%V")!8\7\Q-QUQ'J!#4#>P..$GD$G^)RJ1.O)7\1<`2Y$WP1T@7R,Q M-'$]`"#@(<-L+\%D_QT@'Y`JL!CP"L%&]PK`$-!_03$G<`AP-(5%D#[G+E!R M_S+01O,GPEEB!4`^1&'P9OG_'D``T$`&Y,]4O\Q!43@!!$G(2P1 M.F9GH2Z!%V,A-4`%L&TV83QG/I\9H0%`,4%F(A'D,38;];\9L@PR>$4"T1J5 M`S!B`4!>:1%``S!X#WD6+7UB3[<%$"%Q'K%--=$A8&5]8P\;]GHV"P1\)FDM M,33F-`%`&/`Q.$(P#,&!`VAB($8#83H,@WM0(&Y*8L(H4#9@30K`0G$@`%M3 M3510.FILK&U`1X(ID&XK0ET;]6&",%-U8FIF,8*74O!E.B!(18`R@#`!,4E_ M?P^`&AC\$Y$3D@P!'`-/_0.@5`I0)Y"!`$+P)W",D.@Y.31!_#_ M-%`X0`."01!\,8*0'`DVD/\H$1$0:I`X8S0@)*%08$X!_SU2$FT!)%`DI5EB_Y4C5[(= M8`L1)Q(#D0(@0G)_&X`C8`6P!S$GD`6P495!_E$GD"1`+V,GYC(('J$I8;5' M5(1"@ M'`/_`V";B\\Z,.4'M3?`B+ M:BXV4E!^9RF0.6$A`A$09=*H4W>^>')E/^\](R9R*--/!?#]4!%E4J!;\5AA M$1$G$J7W]V/1-[$]86=/D"#`7P$)`/YP4Y(M98^35_$B<%.8)R#_-``F`""`&``````#`````````1@`````VA0```0````$`````````'@`* M@`@@!@``````P````````$8`````-X4```$````!``````````,`)@`````` M`P"`$/____\"`?D_`0```%``````````W*=`R,!"$!JTN0@`*R_A@@$````& M````+T\]5T%,3"!$051!+T]5/5=!3$P@5T535"]#3CU214-)4$E%3E13+T-. M/4I(3U535$].`!X`^#\!````#P```$AO=7-T;VXL($IE`#A``0`` M``D```!*2$]54U1/3@`````"`?L_`0```%``````````W*=`R,!"$!JTN0@` M*R_A@@$````&````+T\]5T%,3"!$051!+T]5/5=!3$P@5T535"]#3CU214-) M4$E%3E13+T-./4I(3U535$].`!X`^C\!````#P```$AO=7-T;VXL($IE`#E``0````D```!*2$]54U1/3@````!```P;;O`%```@P$L/2 MM`G;O`$>`#T``0````4```!213H@`````!X`'0X!````%````$AE;'`@;VX@ M<')O9W)A;6UI;F<`"P`I```````+`",```````,`!A#4DW2X`P`'$,(&```# M`!`0``````,`$1`!````'@`($`$```!E````64]54$]/4E1(24Y'2$]734%. M64]42$523%5#4D%4259%5$5#2$Y)0T%,0T%214524T]21D%30TE.051)3D=( K3T)"24531$]93U5)34%'24Y%05)%059!24Q!0DQ%5$]93U5720````#8&`== ` end - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From haubmi@student.uni-kassel.de Fri Oct 17 11:41:00 1997 From: haubmi@student.uni-kassel.de (Michael Haub) Date: Fri, 17 Oct 1997 11:41:00 -0000 Subject: Printing from Unix to an NT machine printer? References: <01BCCA64.B76967D0@gater.krystalbank.msk.ru> Message-ID: <3.0.1.32.19971017214029.00e1c938@pop-hopla.hrz.uni-kassel.de> Hi, don't we all like Micro$oft. Here is what they say about their own kind of lpd: (I only got a german TCP/IP handbook for NT 3.51 Server. So I try to translate.) "... The LPDSVC service supports every printing format, including unformated text. No additional processing will be taken. ..." This is clever and true. As NT has no filters it can only print raw text. So if you rely on the poor nt lpd implementation and you tell the lpd of your unix box to forward printing to the nt box (take a look at man printcap) you will get nice source code listings of your postscript files, ;-) as nt will not filter through ghostscript. A linux box would do that for a local printer. Yourth sincere Michael - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From rdparker@butlermfg.org Fri Oct 17 11:41:00 1997 From: rdparker@butlermfg.org (Parker, Ron) Date: Fri, 17 Oct 1997 11:41:00 -0000 Subject: Can globbing be disabled from MS-DOS? Message-ID: I need to call sed from the MS-DOS command line and be able to pass the regular expression ".*" without having it globbed. Is there a way to do this? Please, no "use Bash" responses. I use bash but many of my coworkers do not have it on their machines. -------------- next part -------------- A non-text attachment was scrubbed... Name: bin00000.bin Type: application/vnd.ms-tnef Size: 2814 bytes Desc: not available URL: From ksesh@telxon.com Fri Oct 17 13:17:00 1997 From: ksesh@telxon.com (Krishna Seshadri) Date: Fri, 17 Oct 1997 13:17:00 -0000 Subject: Need help building CDK-B18 Message-ID: <3447C85B.290CB3E2@telxon.com> Hello all: I downloaded and installed the GNU-WIN32 CDK Binaries (B18) on my C Drive. I also downloaded the CDK sources so that I could build a cross compiler (target=m68360) hosted on my box. The sources are on the network drive (G). I am having trouble getting started with configure. I have enclosed the error messages. Any insights? Please help. Thanks Kris ----------------------------- Here is the command line configure --target=m68360 --host=i386-cygwin32 -v > configure.log 2>&1 ----------------------------- -------------- next part -------------- config.junk does not exist mmalloc/Makefile does not exist libiberty/Makefile does not exist opcodes/Makefile does not exist bfd/Makefile does not exist readline/Makefile does not exist tcl/Makefile does not exist tk/Makefile does not exist tclX/Makefile does not exist byacc/Makefile does not exist flex/Makefile does not exist binutils/Makefile does not exist ld/Makefile does not exist gas/Makefile does not exist gcc/Makefile does not exist sim/Makefile does not exist gdb/Makefile does not exist make/Makefile does not exist patch/Makefile does not exist gdbtest/Makefile does not exist tgas/Makefile does not exist etc/Makefile does not exist diff/Makefile does not exist release/Makefile does not exist utils/Makefile does not exist findutils/Makefile does not exist dosrel/Makefile does not exist m68360/libiberty/Makefile does not exist m68360/libgloss/Makefile does not exist m68360/newlib/Makefile does not exist m68360/libio/Makefile does not exist m68360/librx/Makefile does not exist m68360/libstdc++/Makefile does not exist m68360/libg++/Makefile does not exist m68360/examples/Makefile does not exist ./configure: -o: command not found *** The command ' -o conftest conftest.c' failed. *** You must set the environment variable CC to a working compiler. Makefile.tem does not exist /tmp/cONf1001.com does not exist /tmp/cONf1001.tgt does not exist /tmp/cONf1001.hst does not exist /tmp/cONf1001.pos does not exist From dahms@ifk20.mach.uni-karlsruhe.de Fri Oct 17 15:15:00 1997 From: dahms@ifk20.mach.uni-karlsruhe.de (dahms@ifk20.mach.uni-karlsruhe.de) Date: Fri, 17 Oct 1997 15:15:00 -0000 Subject: Ported: NcFTP Message-ID: <009BBEE5.B16AB3E0.25848@ifk20.mach.uni-karlsruhe.de> Hi Alex, you wrote: : On Wed, 15 Oct 1997, Joshua O'Keefe wrote: : : > Downloaded the current NcFTP source, ran configure and added -lreadline : > into the Makefile. Is NcFTP a server or a client? The NT FTP client works just fine for me, so why would I need NcFTP? Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Fri Oct 17 17:56:00 1997 From: garbanzo@hooked.net (Alex) Date: Fri, 17 Oct 1997 17:56:00 -0000 Subject: Ported: NcFTP References: <009BBEE5.B16AB3E0.25848@ifk20.mach.uni-karlsruhe.de> Message-ID: On Sat, 18 Oct 1997 dahms@ifk20.mach.uni-karlsruhe.de wrote: > Hi Alex, you wrote: > > : On Wed, 15 Oct 1997, Joshua O'Keefe wrote: > : > : > Downloaded the current NcFTP source, ran configure and added -lreadline > : > into the Makefile. > > Is NcFTP a server or a client? The NT FTP client works just fine for me, > so why would I need NcFTP? NcFTP is a freeware client, NcFTPd is a _very_ good and _very_ _very_ cheap server by the same author (pricing starts at $US 5). You don't need NcFTP for anything if the NT ftp client works for you. The screen updates will be slower in NcFTP, however on the plus side you'll get access to the cygwin32 (posix style I guess) paths, you'll get a more visual display, a macro language, resume, bookmarks, better online help, and tips of the day. But if you're happy with the NT client.. ;-) - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Fri Oct 17 17:56:00 1997 From: garbanzo@hooked.net (Alex) Date: Fri, 17 Oct 1997 17:56:00 -0000 Subject: Pthreads for gnu-win32? References: <9710161332.ZM9552@xvn.ds.boeing.com> Message-ID: On Thu, 16 Oct 1997, Rick Blair wrote: > Hi all, > Anyone know of a port of pthreads for gnu-win32 or if gnu-win32 > supports posix threads? AFAIK no and no and no I don't know of anyone working on such a thing. Sorry. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sinike@blue.ocn.ne.jp Fri Oct 17 18:34:00 1997 From: sinike@blue.ocn.ne.jp (ikeda, yoshichika) Date: Fri, 17 Oct 1997 18:34:00 -0000 Subject: How to setup g77 Message-ID: <01bcdb65$fdd1dba0$9a5d91d2@350-01.obp-unet.ocn.ne.jp> I want to use g77 on gnuwin32(cygwin32-b18). I got g77-0.5.19.1 and patch file from the web site of Cygnus win32 project( http://www.xraylith.eisc.edu/~khan/software/gnu-win32 ). I can extract g77 files but I don't know how to use this patch file. In the web documents, %patch -p1 < THIS_PATCH_FILE ,so I did. But the patch demand me to specify the file name to patch. I don't know this file name. Please tell me how to patch g77. I'm beginner of these system like gnuwin32. and beginner of English. ------------------ Yoshichika , Ikeda sinike@blue.ocn.ne.jp ------------------ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kunglao@prairienet.org Fri Oct 17 18:34:00 1997 From: kunglao@prairienet.org (Bizzaro) Date: Fri, 17 Oct 1997 18:34:00 -0000 Subject: Setting up cdk on Linux, and a couple shell quirks Message-ID: <3447E9FB.666E9EC2@prairienet.org> I decided to play around with setting up the cdk on my Linux box to cross compile stuff. It went pretty well, but xgcc is trying to use temp files in /tmp\cc00000.i. I've found some references in two choose-temp.c files. Basically it had #ifdef _WIN32, #define DIR_SEPARATOR '\\'. A similar reference was in gcc/config/i386/xm-cygwin32.h. After I changed those, remade everything, and it is still insisting on the \ for the separator. Any help, pretty please? Also, I grabbed the tcsh Sergey has on his page. It has this really strange behavior of not wanting to run some files in my path, but it does run others. One example is in /H-i386-cygwin32 (I have mounted as /usr). There is id, and ls. Id works fine, yet it says command not found for ls. There were others it chooses to run, and some not to run but those two came to mind. The other shell giving me headaches is zsh. It compiled, runs fine. I can execute commands. The strange part is it doesn't want to display what I type. Oh, and it would only display the prompt with term=vt100. Still with that, I can't see what I type. Anyone gotten either of these to work any better? - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kunglao@prairienet.org Fri Oct 17 18:34:00 1997 From: kunglao@prairienet.org (Bizzaro) Date: Fri, 17 Oct 1997 18:34:00 -0000 Subject: Problem with b18 References: <199710162358.QAA00229@redhat1.xaqti.COM> Message-ID: <3447E718.DA6F0C08@prairienet.org> David Foulds wrote: > > Hi fellow cygwin-32ers! I tried to access the www.wenet.net > location for Sergey's dll but it said 'client not authorized' > under Netscape and (shame) IE. And the russian location is > very slow. Help! I've put it on a little page I made up, down in the Links section. http://www.comanche.dyn.ml.org should get you there. Also several other little things I've compiled. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mcherk@geog.ubc.ca Fri Oct 17 20:04:00 1997 From: mcherk@geog.ubc.ca (Michael Cherkassoff) Date: Fri, 17 Oct 1997 20:04:00 -0000 Subject: Invalid handle. Message-ID: <344826F7.43D2@geog.ubc.ca> Hi. I am trying to port Python to Win95 using GNU Win32, gcc. The Python itself works fine, but I have problems compiling modules and importing .DLLs. The latest thing is the error message: Import error: DLL load failed: The handle is invalid. I grepped the files in both Python and Cygnus directories (includes) and couldn't find the message. Is this Python or GNU Win message? What does it mean? Anything can be done? Here are the details: I've build the Python successfully, just ./configure (some minor editing - getting rid of signalmodule) and make. However, I guess, by default this configure does not support .DLLs Hence I defined WINDOZE in config.h (that was produced) and edited importdl.c to add || defined(WINDOZE) to ifdef MS_WINDOWS, where it has the code to allow .DLLs. Also I added || defined(WINDOZE) at where the import is being made and where it was ifdef MS_WIN32. (I actually tried also ifdef MS_WIN16, but it gave me Import error: DLL load failed: The error code is 0. ) And built Python. Then I made multiarray.dll from multiarray.o by the method suggested by Fergus Henderson (using Makefile.DLLs) I used both RELOCATABLE=yes and RELOCATABLE=no with the same results (what is the difference? and what should it be for Python?) One of the very strange things was that whereas multiarray.pyd from NumPy distribution for Windows from MSVC++ is about 18 Kb, the multiarray.dll that I got was > 1Mb. Also if it is any help - Attempt to import this into MSVC++ Python creates Page Fault. In general I would appreciate any hints on how to build DLLs for Python using GNU Win, how to use DLLs or PYDs from MSVC++ in GNU Win Python and vise versa. Any help will be greatly appreciated. Thanks, Michael. ------------------------------------------------------------ Michael Cherkassoff (mcherk@geog.ubc.ca) Department of Geography, Tel: (604) 822-2663 University of British Columbia, B.C. Fax: (604) 822-6150 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jman@lx.net Fri Oct 17 23:26:00 1997 From: jman@lx.net (jman) Date: Fri, 17 Oct 1997 23:26:00 -0000 Subject: Winsock2 References: <3.0.3.32.19971017172211.00919940@triton.tripnet.se> Message-ID: <3.0.3.32.19971018012605.0069a330@208.221.108.11> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Will we see the use of winsock2 in the future (b19) releases of great cygwin32 tools... Winsock2 is out for win95 an winNT allready has it an it does support raw sockets or most of them.. I know there's a few problems with UDP an IPPROTO_RAW. Will we see it in use? -----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.0 Charset: noconv iQA/AwUBNEhWfA6ne3t4b32aEQKsRQCglwl6CuolUEQCdeOa/KP7oIO72N0AoJZD W7nu4N3gtj04EThbKMjkwxsU =XRmZ -----END PGP SIGNATURE----- ------------------------------------------------------- Jason L. Esman aka _Jman Owner Den Internet Services System Admin. Network Consulting http://www.deninc.com | UIN: 2820043 Email jman@lx.net or root@lx.net Finger jman@lx.net for PGP Public Keys... ------------------------------------------------------- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From vischne@ibm.net Sat Oct 18 00:27:00 1997 From: vischne@ibm.net (Victor Schneider) Date: Sat, 18 Oct 1997 00:27:00 -0000 Subject: Time-dependent cygnus gcc crashes? Message-ID: <1.5.4.16.19971018032922.2697a768@pop1.ibm.net> bash$ gcc -c clear.c (unknown) In cygwin_except_handler exc C0000005 at 10017D7A sp 254FCAC (unknown) Exception trapped! (unknown) exception C0000005 at 10017D7A (unknown) exception: ax 8275D000 bx 0 cx C10697C4 dx BFFBF9E0 (unknown) exception: si 815747CC di 8157899C bp 254FCAC sp 254FCAC (unknown) exception is: STATUS_ACCESS_VIOLATION (unknown) Stack trace: (unknown) frame 0: sp = 0x254FAC4, pc = 0x10005FAE (unknown) frame 1: sp = 0x254FAE0, pc = 0xBFF7663C (unknown) frame 2: sp = 0x254FB04, pc = 0xBFF859D9 (unknown) frame 3: sp = 0x254FB9C, pc = 0xFFECBAD7 (unknown) frame 4: sp = 0x254FCAC, pc = 0x1000BAC3 (unknown) frame 5: sp = 0x254FCBC, pc = 0x100047AD (unknown) frame 6: sp = 0x254FE0C, pc = 0x10004E7B (unknown) frame 7: sp = 0x254FE18, pc = 0x4118D5 (unknown) frame 8: sp = 0x254FE28, pc = 0x40103B (unknown) frame 9: sp = 0x254FE38, pc = 0xBFF88F75 (unknown) frame 10: sp = 0x254FF78, pc = 0xBFF88E23 (unknown) frame 11: sp = 0x254FFF4, pc = 0xBFF8783F (unknown) frame 12: sp = 0x815747CC, pc = 0x5 (unknown) In cygwin_except_handler exc C0000005 at 10005A26 sp 254FABC (unknown) Error while dumping state (probably corrupted stack) The program being compiled was: (Similar results with other programs, especially with stdio.h) #include #define SCREEN 80*25 int main (int argc, char **argv) { int i; printf("%SCREENc", ' '); /* for (i=0; i Hi... I'm an experienced C programmer, but new to C++ and Windows programming. I recently bought a book on Win95 programming, and it contained some source code for a very simple example program of which I'll include later. I've tried to compile this simple program, but failed. I get spammed with several "undefined reference to" error messages. Also, on another note, is there a way to download all the Cygnus docs off the net without doing it page by page? This is extremely annoying. DJGPP has a very informative and useful INFO command. I don't want to spend hours on-line every time I want to refer to the docs, or have a folder full of a jumble of documents with a confusing list of pages. Okay, back to the code... They are listed as follows. 1: compile command line. 2: LISTING2.H 3: LISTING2.CPP 4: LISTING2.RC Any help will be greatly appreciated. Thanks... ^_^ g++ listing2.cpp -lstdc++ LISTING2.H #define IDM_EXIT 100 #define IDM_TEST 200 #define IDM_ABOUT 301 #define IDC_TEXT 101 #define IDC_EDIT 102 #define IDC_BTN 103 LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About (HWND, UINT, WPARAM, LPARAM); LISTING2.CPP #include #include "listing2.h" #if defined (WIN32) #define IS_WIN32 TRUE #else #define IS_WIN32 FALSE #endif #define IS_NT IS_WIN32 && (BOOL)(GetVersion() < 0x80000000) #define IS_WIN32S IS_WIN32 && (BOOL)(!(IS_NT) && (LOBYTE(LOWORD(GetVersion()))<4)) #define IS_WIN95 (BOOL)(!(IS_NT) && !(IS_WIN32S)) && IS_WIN32 HINSTANCE hInst; // current instance LPCTSTR lpszAppName = "MyApp"; LPCTSTR lpszTitle = "Listing 3-2"; BOOL RegisterWin95( CONST WNDCLASS* lpwc ); int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { MSG msg; HWND hWnd; WNDCLASS wc; // Register the main application window class. //............................................ wc.style = CS_HREDRAW | CS_VREDRAW; wc.lpfnWndProc = (WNDPROC)WndProc; wc.cbClsExtra = 0; wc.cbWndExtra = 0; wc.hInstance = hInstance; wc.hIcon = LoadIcon( hInstance, lpszAppName ); wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wc.lpszMenuName = lpszAppName; wc.lpszClassName = lpszAppName; if ( IS_WIN95 ) { if ( !RegisterWin95( &wc ) ) return( FALSE ); } else if ( !RegisterClass( &wc ) ) return( FALSE ); hInst = hInstance; // Create the main application window. //.................................... hWnd = CreateWindow( lpszAppName, lpszTitle, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL ); if ( !hWnd ) return( FALSE ); ShowWindow( hWnd, nCmdShow ); UpdateWindow( hWnd ); while( GetMessage( &msg, NULL, 0, 0) ) { TranslateMessage( &msg ); DispatchMessage( &msg ); } return( msg.wParam ); } BOOL RegisterWin95( CONST WNDCLASS* lpwc ) { WNDCLASSEX wcex; wcex.style = lpwc->style; wcex.lpfnWndProc = lpwc->lpfnWndProc; wcex.cbClsExtra = lpwc->cbClsExtra; wcex.cbWndExtra = lpwc->cbWndExtra; wcex.hInstance = lpwc->hInstance; wcex.hIcon = lpwc->hIcon; wcex.hCursor = lpwc->hCursor; wcex.hbrBackground = lpwc->hbrBackground; wcex.lpszMenuName = lpwc->lpszMenuName; wcex.lpszClassName = lpwc->lpszClassName; // Added elements for Windows 95. //............................... wcex.cbSize = sizeof(WNDCLASSEX); wcex.hIconSm = LoadImage(wcex.hInstance, lpwc->lpszClassName, IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR ); return RegisterClassEx( &wcex ); } LRESULT CALLBACK WndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) { static HWND hText = NULL; static HWND hEdit = NULL; static HWND hBtn = NULL; switch ( uMsg ) { case WM_COMMAND : switch( LOWORD( wParam ) ) { case IDM_TEST : hText = CreateWindow( "STATIC", "Static Text", WS_CHILD | WS_VISIBLE | SS_LEFT, 10, 10, 100, 15, hWnd, (HMENU)IDC_TEXT, hInst, NULL ); hEdit = CreateWindow( "EDIT", "", WS_CHILD | WS_VISIBLE | ES_LEFT | WS_BORDER, 110, 8, 100, 20, hWnd, (HMENU)IDC_EDIT, hInst, NULL ); hBtn = CreateWindow( "BUTTON", "Push Button", WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, 50, 50, 100, 32, hWnd, (HMENU)IDC_BTN, hInst, NULL ); break; case IDM_ABOUT : DialogBox( hInst, "AboutBox", hWnd, (DLGPROC)About ); break; case IDM_EXIT : DestroyWindow( hWnd ); break; } break; case WM_DESTROY : PostQuitMessage(0); break; default : return( DefWindowProc( hWnd, uMsg, wParam, lParam ) ); } return( 0L ); } LRESULT CALLBACK About( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_INITDIALOG: return (TRUE); case WM_COMMAND: if ( LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) { EndDialog(hDlg, TRUE); return (TRUE); } break; } return (FALSE); } LISTING2.RC #include "windows.h" #include "listing2.h" MYAPP ICON DISCARDABLE "GENERIC.ICO" MYAPP MENU DISCARDABLE BEGIN POPUP "&File" BEGIN MENUITEM "E&xit", IDM_EXIT END MENUITEM "Test!", IDM_TEST POPUP "&Help" BEGIN MENUITEM "&About Listing 3-2...", IDM_ABOUT END END ABOUTBOX DIALOG 22, 17, 171, 43 STYLE DS_MODALFRAME | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU CAPTION "Listing 3-2" FONT 8, "MS Sans Serif" { CONTROL "MyApp", -1, "STATIC", SS_ICON | WS_CHILD | WS_VISIBLE, 3, 2, 16, 16 CONTROL "Generic Application", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 28, 4, 100, 8 CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 116, 26, 50, 14 } - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From klaavi@pp.kolumbus.fi Sat Oct 18 03:20:00 1997 From: klaavi@pp.kolumbus.fi (Matti Rankala) Date: Sat, 18 Oct 1997 03:20:00 -0000 Subject: DirectX programs? Message-ID: <34491B0F.4201@pp.kolumbus.fi> Hello, I am a game-programmer, and I use gnu's djgpp as a compiler. Now I would like to know can I do DirectX (boo) programs with gnu-win32? Sincerly, -Dragst/DKS (dragst@pcuf.fi) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From david@coent.demon.co.uk Sat Oct 18 04:53:00 1997 From: david@coent.demon.co.uk (David Coe) Date: Sat, 18 Oct 1997 04:53:00 -0000 Subject: Ported: NcFTP References: <009BBEE5.B16AB3E0.25848@ifk20.mach.uni-karlsruhe.de> Message-ID: <34487EF6.1E0B@coent.demon.co.uk> dahms@ifk20.mach.uni-karlsruhe.de wrote: > > Is NcFTP a server or a client? The NT FTP client works just fine for me, > so why would I need NcFTP? > The main attraction (for me) of NcFTP is the reget facility. That way (at least connected to non-MS FTP servers) I can handle the disaster of dropped modem lines on large files! -- Dr David Coe \=\ 58 Fairlawn Drive, East Grinstead \=\ West Sussex, RH19 1NT, United Kingdom \=\ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From hydro@potter.force9.net Sat Oct 18 08:17:00 1997 From: hydro@potter.force9.net (graeme potter) Date: Sat, 18 Oct 1997 08:17:00 -0000 Subject: Missing includes Message-ID: <199710181449.QAA28682@relay1.force9.net> Recently I have been trying to port two Unix suites to Win95. Both require to include header files which are not part of the Cygwin32 release. The first required of which a fellow traveller has supplied a usable version to me. The second requires either or depending on which flavour of Unix is used. Can a superior intelligence out there advise me as to whether it is possible to port code that requires this and if so how can I achieve it? Graeme hydro@potter.force9.net - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ejimzz@usit.net Sat Oct 18 08:58:00 1997 From: ejimzz@usit.net (Edgardo Jimenez) Date: Sat, 18 Oct 1997 08:58:00 -0000 Subject: Need anwsers Message-ID: <01bcdbde$23d1b5a0$cfafc2cc@quantex> to whom it may concern: ???? I bought the book "Teach Y ourself C I n 24 H ours", and it came with a CD GNUPro C/C++ Compiler and Debugger.???? I installed the CD following the instructions in all the readme text files.???? I want to be able to write C programs, complied them and run them or run the chapter source code.???? What am I missing, where is the c editor? I do not understand all the things in the FAQ.TXT, it support to be a Complete starter kit . Where can I write the example code in the chapters complied them and run them. ???? You help is appreciated. From lfm@pgroup.com Sat Oct 18 12:23:00 1997 From: lfm@pgroup.com (Larry Meadows) Date: Sat, 18 Oct 1997 12:23:00 -0000 Subject: Cygnus used in a Product ? References: <344796DB.3A46@bbn.hp.com> Message-ID: <199710181914.MAA27981@pacific.pgroup.com> > In other words, as long as I just use the Cygwin32 DLL(s) along with the > header files to compile and link my application, I can distribute my > application along with the Cygwin32 DLLs (plus maybe the sources for the > DLLs), but I am not forced to publish the sources for my application? That's not true according to cygnus. Note that the cygwin32 stuff is under the GPL, not the LGPL; so the fact that you link against it requires you to distribute your source. The following is a quote from the FAQ ( http://www.cygnus.com/misc/gnu-win32/faq.html ): The Cygwin32 API library found in the winsup subdirectory of the source code is now also covered by the GNU GPL. Since by default all executables link against this library, programs compiled by the beta 17 tools will also have to be free software distributed under the GPL with source code available to all. lfm - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From hygrade@mpx.com.au Sun Oct 19 03:57:00 1997 From: hygrade@mpx.com.au (Brad Hubbard) Date: Sun, 19 Oct 1997 03:57:00 -0000 Subject: Fw: Printing from Unix to an NT machine printer? Message-ID: Regards Brad Hubbard Hygrade@mpx.com.au ---------- > From: Brad Hubbard > To: Michael Haub > Subject: Re: Printing from Unix to an NT machine printer? > Date: Saturday, October 18, 1997 6:29 PM > > If it's a BSD based UNIX system you should be able to use the -v > option to tell NT to leave it alone. There's actually more to it than that but > I set up a half dozen printers ( No Postscript but some PCL, HPGL and PPS > (a type of bastardized HPGL), but Postscript should work) quite some time ago > now and the finer point escape me. The setup was going from HPUX 9.05 to an NT > 3.51 Server. > > If you would like further info. let me know. > > Regards > Brad Hubbard > Hygrade@mpx.com.au > > ---------- > > From: Michael Haub > > To: gnu-win32@cygnus.com > > Subject: RE: Printing from Unix to an NT machine printer? > > Date: Saturday, October 18, 1997 6:40 AM > > > > Hi, > > > > don't we all like Micro$oft. Here is what they say about their own kind > > of lpd: > > > > (I only got a german TCP/IP handbook for NT 3.51 Server. So I try to > > translate.) > > > > "... The LPDSVC service supports every printing format, including > > unformated text. > > No additional processing will be taken. ..." > > > > This is clever and true. As NT has no filters it can only print raw text. > > So if you rely on the poor nt lpd implementation and you tell the lpd of your > > unix box to forward printing to the nt box (take a look at man printcap) > > you will get nice source code listings of your postscript files, ;-) > > as nt will not filter through ghostscript. > > A linux box would do that for a local printer. > > > > > > Yourth sincere > > Michael > > > > > > - > > For help on using this list (especially unsubscribing), send a message to > > "gnu-win32-request@cygnus.com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From raf2@zip.com.au Sun Oct 19 04:59:00 1997 From: raf2@zip.com.au (raf) Date: Sun, 19 Oct 1997 04:59:00 -0000 Subject: permissions in denial Message-ID: <3.0.1.32.19971019214735.0092fc00@zip.com.au> hi, when i run autoconf or autoheader, i keep getting permission denied messages from chmod and mv. does anybody know why? i even told nt to give 'full control' to 'everyone' but this had no effect. thanks, raf - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From raf2@zip.com.au Sun Oct 19 04:59:00 1997 From: raf2@zip.com.au (raf) Date: Sun, 19 Oct 1997 04:59:00 -0000 Subject: where are endhostent and endservent? Message-ID: <3.0.1.32.19971019214531.0092fca0@zip.com.au> hi, i'm porting something that uses endhostent() and endservent() (netdb.h) but i get the following errors: undefined reference to `cygwin32_endhostent' undefined reference to `cygwin32_endservent' where are they? what do i have to do to get them linked in? thanks, raf - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From bogus@does.not.exist.com Sun Oct 19 05:27:00 1997 From: bogus@does.not.exist.com () Date: Sun, 19 Oct 1997 05:27:00 -0000 Subject: Cygnus used in a Product ? References: <344796DB.3A46@bbn.hp.com> <199710181914.MAA27981@pacific.pgroup.com> Message-ID: <3.0.1.16.19971019082721.1c7f72ee@mail.ic.net> From friend@aol.com Sun Oct 19 05:28:00 1997 From: friend@aol.com (friend) Date: Sun, 19 Oct 1997 05:28:00 -0000 Subject: The Best Home Based Business! Message-ID: <199710191226.HAA29791@dfw-ix12.ix.netcom.com> I was tired of working for everyone else for little pay. Then I found this. Thank God!! Invitation to join the Aloha Program - about $50,000 in about 90 days Home businesses - the fantasy that we all have to be self-employed at home with a substantial income. And you can do it, and let it pay for frequent great trips to the tropical paradise of your choice. Hawaii is my choice ???? and Aloha! I go there every year. Maybe someday I'll even move there. Our Aloha program can turn four $5.00 investments (yes ???? just $20.00 with nothing else to pay ???? ever!) into thousands of dollars. Does this interest you? Would you like to find out how to do this for free? Will you spend five minutes looking at an attractive website to learn about it? In a nutshell what we do is to market and distribute very valuable informational products via email instead of person-to-person, the telephone, U.S. postal mail, UPS, FedEx or other delivery system. It costs nothing to produce, and there are more than 50,000 new email users added every day to an explosively growing Internet which doubles in size every four months. Can you imagine the wealth that this can bring you? I can guarantee you about $50,000.00 in about 90 days if you follow this plan exactly. There's no personal selling, no unwanted personal contacts with customers, and you can operate this completely legal and fun filled business anonymously on your home computer using only email. Our Aloha Program has a proven track record of success ???? it gets this from a built-in "snowball growth" effect that makes other programs without it bring in only peanuts by comparison. The originator of this program does not get a dime out of it ???? he made his four million, and got out. The way you find out all about the Aloha Program is to visit our beautiful website by clicking http://www.home-businesses.com/aloha/ where everything is explained. Once you have read it you'll know why you need the four names and addresses which I have attached below. This 90 day clock to financial security is already working for me. Will you let this work for you? Basic Interests, Houston, Texas Attachment: The following is usable only in conjunction with the above website: 1. Basic Interests; 10924 Grant Rd., Suite 232; Houston, Texas 77070; USA 2. Texken Electronic; 4227A Louetta Rd.; Spring, Tx. 77388; USA 3. Executive Technology; PO Box 13187; Coyote, CA 95013; USA 4. JPR Enterprises; 2457A S. Hiawassee Rd., Suite 112; Orlando, FL 32835; USA - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From majick@jqo.dyndns.com Sun Oct 19 09:35:00 1997 From: majick@jqo.dyndns.com (Joshua O'Keefe) Date: Sun, 19 Oct 1997 09:35:00 -0000 Subject: Ported: Internet JunkBuster 2.0 Message-ID: <3.0.1.32.19971019093622.007da350@gateway> Hi, folks! I didn't see this in the list of ports, so I spent a little while yesterday porting this excellent filtering proxy server. I know the source is supposed to compile under Win32, but that assumes you: (a) want pure Win32, and (b) have a Big Bad Microsoft Compiler Neither of those applied to me, so I ported it. The patch (and binaries) are available at my *very* *rickety* site: http://jqo.dyndns.com/ijb/ which is a dialup connection and is down every once in a while. The patch is brutal -- I commented out headers rather than adding nice clean #ifdefs. I was in a hurry. What is Internet JunkBuster? It's a freely available ad-filtering proxy. Take a look at http://internet.junkbusters.com/ for more information. I don't subscribe to the list (I monitor the archive, though) so please Cc: me anything you have to say. -- majick@jqo.dyndns.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Sun Oct 19 12:08:00 1997 From: garbanzo@hooked.net (Alex) Date: Sun, 19 Oct 1997 12:08:00 -0000 Subject: Win98 users? Message-ID: Hi, It's me again. I'm just wondering if anyone is using Sergey's latest dll and Win98 build 1581 or 1602. I've noticed a few problems, and am trying to pinpoint the cause. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From BMullenber@aol.com Sun Oct 19 13:17:00 1997 From: BMullenber@aol.com (BMullenber@aol.com) Date: Sun, 19 Oct 1997 13:17:00 -0000 Subject: Help Message-ID: <971019161622_-693855465@emout03.mail.aol.com> Ok, I downloaded cdk.exe and usertools.exe I ran the cdk.exe and now I am totally confused with how to set the enviromnet variables. I don't know what they are or how to set them to what you said too. I read the readme file. I have win95. Do I make my own bat file and name it autoexec.bat, or do I use the current one under C:\ Im just confused with what you mean. Can you explain it more step by step for me with exactly what I have to do to get this to work Thanks Brandon - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From lfm@pgroup.com Sun Oct 19 13:47:00 1997 From: lfm@pgroup.com (Larry Meadows) Date: Sun, 19 Oct 1997 13:47:00 -0000 Subject: Cygnus used in a Product ? References: <3.0.1.16.19971019082721.1c7f72ee@mail.ic.net> Message-ID: <199710192035.NAA29736@pacific.pgroup.com> > Correct me if I am wrong ... > > My recollection of the GPL is that the source code must be available. > Neither the application nor the code has to be free - you can charge as you > wish. The key word is "available", not "free'. That's a very good point. However, below you'll find my interpretation of the license. A couple of quotes: Sec 2: b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. and, Sec 3: b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, So, it does appear that you can charge whatever you want for the binary, but it appears that the source code must be either included in that cost or distributed for a nominal charge. In the PC world this is really tough, since it is hard to charge more that $1000 or so for a program, and typically vendors would prefer to charge a lot more than that for source code. lfm - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From rale00@earthlink.net Sun Oct 19 15:43:00 1997 From: rale00@earthlink.net (rale) Date: Sun, 19 Oct 1997 15:43:00 -0000 Subject: Win98 users? References: Message-ID: <344A8CED.9C8DC37@earthlink.net> Hi, So far the new dll has been alot more stable for me, however, i did have 2 pretty random crashes so far. Once was a configure script that basicaly froze everything up, but when i rebooted and reran it, everything was fine. Second was about half way through a make, that crashed with a stack trace: (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) In cygwin_except_handler exc C0000005 at BFF76F49 sp 254E654 (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) Exception trapped! (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) exception C0000005 at BFF76F49 (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) exception: ax 8154B049 bx 0 cx 8158CDF8 dx 0 (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) exception: si 8158CDF8 di 0 bp 254E6C0 sp 254E654 (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) exception is: STATUS_ACCESS_VIOLATION (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) Stack trace: (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 0: sp = 0x254E470, pc = 0x10007B9A (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 1: sp = 0x254E48C, pc = 0xBFF7683D (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 2: sp = 0x254E4B0, pc = 0xBFF87597 (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 3: sp = 0x254E544, pc = 0xFFECBAD7 (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 4: sp = 0x254E6C0, pc = 0x10026485 (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 5: sp = 0x254E6D0, pc = 0x100263FF (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 6: sp = 0x254E6DC, pc = 0x1000CF07 (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 7: sp = 0x254E7A0, pc = 0x0 (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) End of stack trace (C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) proc_subproc: WFSO(sync_proc_subproc) = 1 for(6,0), err = 6, last what = -1 But, when i closed the shell window and reran bash, then ran make again, it went on fine. It seems pretty random to me. Maybe that crash means something to someone... Alex wrote: > > Hi, It's me again. > > I'm just wondering if anyone is using Sergey's latest dll and Win98 build > 1581 or 1602. I've noticed a few problems, and am trying to pinpoint the > cause. > > - alex > > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From colin@bird.fu.is.saga-u.ac.jp Sun Oct 19 20:14:00 1997 From: colin@bird.fu.is.saga-u.ac.jp (Colin Peters) Date: Sun, 19 Oct 1997 20:14:00 -0000 Subject: Need anwsers Message-ID: <01BCDD51.A51900E0@gbird0> Edgardo Jimenez[SMTP:ejimzz@usit.net] wrote: >I bought the book "Teach Yourself C In 24 Hours", and it came with a >CD GNUPro C/C++ Compiler and Debugger. I installed the CD following the >instructions in all the readme text files. I want to be able to write >C programs, complied them and run them or run the chapter source code. > What am I missing, where is the c editor? I do not understand all the >things in the FAQ.TXT, it support to be a Complete starter kit. Where >can I write the example code in the chapters complied them and run them. There are the beginnings of a tutorial for using GNU-Win32 linked to my homepage at http://www.fu.is.saga-u.ac.jp/~colin/gcc.html (not mirrored at the Geocities site yet). The installation instructions are not up yet, but there are some hints on how to use the compiler once you have it installed. I will try to get installation instructions up in the next few days. First hint though: there is no C editor, you need to use your own text editor (vim or ntemacs are good choices, but I suppose notepad will do in a pinch for very short programs). Eventually I plan to include some introductory info on Win32 programming as well... but that's some time in the future. If anyone is planning to firebomb SAMs publishing for doing that book I'm in! ;) Colin. PS. The version of GNU-Win32 included with that book is b17.1 I think, the current version is b18. Whoever told you that b17.1 can be considered a "complete starter kit" was lying (b18 isn't either BTW). -- Colin Peters - Saga Univ. Dept. of Information Science -- colin@bird.fu.is.saga-u.ac.jp - finger for PGP public key -- http://www.fu.is.saga-u.ac.jp/~colin/index.html -- http://www.geocities.com/Tokyo/Towers/6162/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fjh@cs.mu.oz.au Sun Oct 19 21:15:00 1997 From: fjh@cs.mu.oz.au (Fergus Henderson) Date: Sun, 19 Oct 1997 21:15:00 -0000 Subject: Cygnus used in a Product ? References: <199710181914.MAA27981@pacific.pgroup.com> Message-ID: <199710200412.OAA31358@mundook.cs.mu.OZ.AU> Larry Meadows, you wrote: > > In other words, as long as I just use the Cygwin32 DLL(s) along with the > > header files to compile and link my application, I can distribute my > > application along with the Cygwin32 DLLs (plus maybe the sources for the > > DLLs), but I am not forced to publish the sources for my application? > > That's not true according to cygnus. Cygnus have been changing their tune. > Note that the cygwin32 stuff is under > the GPL, not the LGPL; so the fact that you link against it requires > you to distribute your source. That's not correct. The requirements of the GPL apply only if your work is a derived work. Merely linking against a DLL does not necessarily make your work a derived work. > The following is a quote from the > FAQ ( http://www.cygnus.com/misc/gnu-win32/faq.html ): > > The Cygwin32 API library found in the winsup subdirectory of the source code is now also covered by the GNU GPL. Since by default all > executables link against this library, programs compiled by the beta 17 tools will also have to be free software distributed under the GPL > with source code available to all. Well, Cygnus can put such statements in the FAQ list if they want, I guess, but being in the FAQ list won't make them correct. If Cygnus actually give such statements some legal teeth (e.g. by releasing B19 with a license that does not allow free use of libcygwin.a), then there are a number of people who are ready to fork a new stream of development from the existing B18 sources. (Disclaimer: I am not a lawyer. This is not legal advice. Yadda yadda yadda...) -- Fergus Henderson | "I have always known that the pursuit WWW: < http://www.cs.mu.oz.au/~fjh > | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kh@wg.icl.co.uk Mon Oct 20 01:09:00 1997 From: kh@wg.icl.co.uk (Kevin Hughes) Date: Mon, 20 Oct 1997 01:09:00 -0000 Subject: ln and cp oddities Message-ID: <344B115E.41C67EA6@wg.icl.co.uk> I have been "using" the win32 port for some time but not in anger - just playing. I have now decided to do some real work and run into some problems associated with file permissions. I first tried to do ln -s fileA fileB where fileA exists and has only read permission. I got fileB as expected BUT I also got a write pwermission for BOTH files. This is not the case in real UNIX. I tried to work around this by using copy - hence cp -p fileA fileB This causes an error - undefined option - although it appears to have worked - the file has been copied and the dates etc. have been preserved. I also have some scripts which use options in their parameters and test for them if test "$2" = "-l" this does not work and I get "invalid unary operator" or similar error. Any suggestions much appreciated Kevin - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gnu-win32-request@cygnus.com Mon Oct 20 01:43:00 1997 From: gnu-win32-request@cygnus.com (gnu-win32-request@cygnus.com) Date: Mon, 20 Oct 1997 01:43:00 -0000 Subject: imake won't work without /lib/cpp -> a simple shell script Message-ID: <344BFAB6.2E1@ccm.cl.nec.co.jp> Hello: Thank you very much for the wonderful job that you are doing. It is making my life much easier. Here is my two cent's worth. ( I am sure this issue must have come up before, but I could not find any entries in FAQ's or mailing-list archives) 1) I tried to compile X11 libraries using xmkmf and imake.(Using Segey's patch). 2)Imake complains with "cannot execute /lib/cpp" 3) I made a shellscript named /lib/cpp with the following #!/bin/sh gcc -E $* 4)I have been able to compile X11 client programs just typing xmkmf and make. Best Regards Toshiyuki Nakata - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From boncz@wins.uva.nl Mon Oct 20 02:06:00 1997 From: boncz@wins.uva.nl (Peter Boncz) Date: Mon, 20 Oct 1997 02:06:00 -0000 Subject: quest for thread-safeness!? Message-ID: <199710200906.LAA02155@carol.wins.uva.nl> Hi all, I just got a multi-threaded database server compiling, and apparently running - and now, a bit late admittedly.., I discover on the mailing-list that the gnu-win libraries are not thread-safe! I didn't crash until now, but that is presumeably a matter of time and luck. Help! So, I am in deep sh*t. Even ready to invest serious work on the library to help fix up things. What I would like to know of some knowledgeable gnu-win person is: - what are the plans of Cygnus Support Inc. in the area of thread-safeness? - which sections of the system are not thread-safe? (the newlib/ or also the winsup/ stuff?) - or are there any other problem areas? If it's just newlib that is the problem: - how difficult would it be make this one thread-safe, or replace it by the gnu-libc? - is it even possible to 'overload' the gnu libc on top of the cygnus system in order to get a thread-safe system? many thanks in advance.. Peter Boncz Magnum Database Research Project University of Amsterdam - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Etc@Weirdness.com Mon Oct 20 03:21:00 1997 From: Etc@Weirdness.com (Frank Packenham) Date: Mon, 20 Oct 1997 03:21:00 -0000 Subject: gcc problem Message-ID: <199710201013.TAA14766@ares.levels.unisa.edu.au> Well the install seemed to go well, but when I try to compile ( or make ) anything this is the result. bash$ gcc laws.c Borland C++ Preprocessor Version 4.00 Copyright (c) 1993 Borland International Error: Incorrect command line option: -undef gcc: Internal compiler error: program cpp got fatal signal 1 -undef is described in the UNIX man page for gcc. More importantly though, why is it trying to use this option, as you can see, I am not specifying it at the command line. Please reply via e-mail to : cisfjp@cis.unisa.edu.au as well as the list. -------------------------------- Frank Packenham CIS (Hons) e-mail: 9202917w@ares.elevels.unisa.edu.au Why not vistit my Website: http://www.cis.unisa.edu.au/~9202917w/ DECS Electronic Media Services From gunther.ebert@ixos-leipzig.de Mon Oct 20 04:41:00 1997 From: gunther.ebert@ixos-leipzig.de (Gunther Ebert) Date: Mon, 20 Oct 1997 04:41:00 -0000 Subject: quest for thread-safeness!? References: <199710200906.LAA02155@carol.wins.uva.nl> Message-ID: <344B3DDE.5AFF@ixos-leipzig.de> Peter Boncz wrote: > > Hi all, > > I just got a multi-threaded database server compiling, and > apparently running - and now, a bit late admittedly.., I discover > on the mailing-list that the gnu-win libraries are not thread-safe! > I didn't crash until now, but that is presumeably a matter of time > and luck. Help! > > So, I am in deep sh*t. Even ready to invest serious work on the > library to help fix up things. What I would like to know of some > knowledgeable gnu-win person is: > - what are the plans of Cygnus Support Inc. in the area of > thread-safeness? > - which sections of the system are not thread-safe? > (the newlib/ or also the winsup/ stuff?) > - or are there any other problem areas? > There are at least problems with functions which use static or global data, for example strtok(). You may have some luck that your database server probably doesn't make use of such functions. Since I don't know the source code of newlib/winsup exactly I cannot give you a list of functions which are not thread safe. > If it's just newlib that is the problem: > - how difficult would it be make this one thread-safe, or replace it > by the gnu-libc? >From my point of view, implementing support of thread local storage in gcc would make things much easier. MSVC knows a special keyword called _threadlocal which can be used with global variables to make them thread local. The compiler stores thread local data in the .tls section rather than in the .data section and the system allocates new memory for thread local data on every thread startup. By the way, implementing support of thread-local storage probably shouldn't be as difficult as you would expect. Right now you can tell the compiler that it should store some data in a .tls section using some inlined assembler instructions and it does also create the .tls section but linking the program results in an invalid executable because the linker doesn't know anything about .tls sections. Maybe a bfd or even ldscript hack would solve this ... > - is it even possible to 'overload' the gnu libc on top > of the cygnus system in order to get a thread-safe system? > You may try the mingw32 package ( http://www.geocities.com/Tokyo/Towers/6162/ ) which replaces the cygwin.dll by crtdll.dll (a C library which is shipped with any Win32 system, look into %windir%\system32). crtdll.dll is thread-safe, but it provides just a MSVC-like C library which means that you will not have any POSIX support, but if the software which you are going to port uses only ANSI C routines mingw32 would be an option for you. > many thanks in advance.. > > Peter Boncz > Magnum Database Research Project > University of Amsterdam > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". -- Gunther Ebert iXOS Anwendungs-Software GmbH Angerstrasse 40-42 D-04177 Leipzig Phone : +49 341 48503-0 Fax : +49 341 48503-99 E-mail: mailto:gunther.ebert@ixos-leipzig.de www : http://www.ixos-leipzig.de - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Mon Oct 20 05:53:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Mon, 20 Oct 1997 05:53:00 -0000 Subject: newbie response vote Message-ID: <19971020125242.21220.qmail@hotmail.com> Thanks to all who responded to the vote of whether the reponses to newbies should be posted on the list. The results: 5 - responses 3 - no 2 - yes I will not be posting response to newbies. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fjh@cs.mu.oz.au Mon Oct 20 06:00:00 1997 From: fjh@cs.mu.oz.au (Fergus Henderson) Date: Mon, 20 Oct 1997 06:00:00 -0000 Subject: gcc problem References: <199710201013.TAA14766@ares.levels.unisa.edu.au> Message-ID: <199710201252.WAA01395@mundook.cs.mu.OZ.AU> Frank Packenham writes: >bash$ gcc laws.c >Borland C++ Preprocessor Version 4.00 Copyright (c) 1993 Borland >International >Error: Incorrect command line option: -undef >gcc: Internal compiler error: program cpp got fatal signal 1 You need to put the Cygwin directory in your PATH _before_ the Borland directory, otherwise gcc will try to use the Borland cpp rather than the GNU cpp, which won't work. -- Fergus Henderson | "I have always known that the pursuit WWW: < http://www.cs.mu.oz.au/~fjh > | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sheehan@spsun5.ph.rhbnc.ac.uk Mon Oct 20 06:00:00 1997 From: sheehan@spsun5.ph.rhbnc.ac.uk (Kevin Sheehan) Date: Mon, 20 Oct 1997 06:00:00 -0000 Subject: Using GCC Message-ID: Hi, I have just installed the gnu-win32 system as I need to write some software to communicate with an ADC card in my PC. The problem is that the example code uses inp and outp and these do not seem to compile in GCC. Could someone please point me in the direction of some documentation for this.(I have looked on the web page but cannot see anything specific to the IBM or the AT bus I/O space). Many Thanks Kevin - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Mon Oct 20 06:00:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Mon, 20 Oct 1997 06:00:00 -0000 Subject: ** does any publisher sell the development tools on a CD? Message-ID: <19971020124351.21505.qmail@hotmail.com> >From: cmeis@hcia.com >To: earnie_boyd@hotmail.com >Date: Fri, 17 Oct 1997 15:47:47 -0400 >Subject: Re: ** does any publisher sell the development tools on a CD? > > > > >Chris Meisenzahl >10/17/97 03:47 PM >Earnie, > >Thanks for the info! I was actually hoping that someone like Walnut Creek >would sell the latest version on a CD for maybe $20 or something like that. >I looked briefly at the URLs you gave and didn't see any mention of them >selling it on a CD. Did I miss it? It would be great if they did. > > >Christopher Meisenzahl > > > > > > > > earnie_boyd @ hotmail.com > 10/16/97 07:33 AM > > > > >To: Chris Meisenzahl/RO/HCIA >cc: gnu-win32 @ cygnus.com >Subject: Re: ** does any publisher sell the development tools on a CD? > > > > >Let me point you to: > ftp://ftp.cygnus.com/pub/gnu-win32/latest/ > http://www.cygnus.com/pubs/gnupro/ > http://www.cygnus.com/misc/gnu-win32/ > http://www.cygnus.com/ml/gnu-win32 >- \\||// >---o0O0--Earnie--0O0o---- >-earnie_boyd@hotmail.com- >------ooo0O--O0ooo------- > >>From: cmeis@hcia.com >>To: gnu-win32@cygnus.com >>Date: Wed, 15 Oct 1997 15:33:20 -0400 >>Subject: ** does any publisher sell the development tools on a CD? >> >> >> >> >>Chris Meisenzahl >>10/15/97 03:33 PM >>All, >> >>I am brand new to this list and have been using VC++ 4.0 and 5.0. I >would >>like to try these tools. Does anyone know where they might be >available on >>a CD? Maybe Walnut Creek or something like that? >> >>Also, could someone point me in the direction of a document detailing >what >>C++ features are supported? With regards to the latest C++ draft spec. >> >> >>Thanks in advance, >> >>Christopher Meisenzahl >> >> >>- >>For help on using this list (especially unsubscribing), send a message >to >>"gnu-win32-request@cygnus.com" with one line of text: "help". >> > >______________________________________________________ >Get Your Private, Free Email at http://www.hotmail.com >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > > > > > > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jozsef@highway.bertelsmann.de Mon Oct 20 06:50:00 1997 From: jozsef@highway.bertelsmann.de (Jozsef Dojcsak) Date: Mon, 20 Oct 1997 06:50:00 -0000 Subject: [] References: <1997101755940641@> Message-ID: <344B6173.1F0EF270@highway.bertelsmann.de> > Also, on another note, is there a way to download all the Cygnus docs off the net > without doing it page by page? This is extremely annoying. DJGPP has a very informative > and useful INFO command. I don't want to spend hours on-line every time I want to refer to > the docs, or have a folder full of a jumble of documents with a confusing list of pages. IMHO, even windows help files are available. see cygnus gnu-win32 home. > Okay, back to the code... They are listed as follows. > 1: compile command line. > 2: LISTING2.H > 3: LISTING2.CPP > 4: LISTING2.RC > > Any help will be greatly appreciated. Thanks... ^_^ > > g++ listing2.cpp -lstdc++ You must link this program with library user32. (In this case this is enough, but see the FAQ!) e.g.: g++ listing2.cpp -lstdc++ -luser32 (as I can see you don't have to use this magical c++ stuff: "gcc listing2.cpp -luser32" works as well. I think you want to avoid the console window which appear when the program is started. For this see the FAQ !) Unfortunately the resource should be compiled too ! Regards, Jozsef Dojcsak - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kh@wg.icl.co.uk Mon Oct 20 07:20:00 1997 From: kh@wg.icl.co.uk (Kevin Hughes) Date: Mon, 20 Oct 1997 07:20:00 -0000 Subject: central site for ported applciations etc. Message-ID: <344B6836.167EB0E7@wg.icl.co.uk> Is there a central site (or mote than one) with the ports for the various bits of s/w (binary and source) that will now run with the gnu windows tool suite? Kevin - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From oleg@apogeenet.com Mon Oct 20 07:25:00 1997 From: oleg@apogeenet.com (oleg yatvitskiy) Date: Mon, 20 Oct 1997 07:25:00 -0000 Subject: thread support in gnu-win32 Message-ID: <3.0.1.32.19971020104504.00950820@postoffice.apogeenet.com> I am trying to port multithreaded application from Solaris to NT. Would somebody know when gnu-win32 will support multithreading and whether the threading library it will provide is going to be pthread library? Any assistance will be appreciated. Thank you. Oleg Yatvitskiy. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kuku@gilberto.physik.RWTH-Aachen.DE Mon Oct 20 07:58:00 1997 From: kuku@gilberto.physik.RWTH-Aachen.DE (Christoph Kukulies) Date: Mon, 20 Oct 1997 07:58:00 -0000 Subject: Fw: Printing from Unix to an NT machine printer? References: Message-ID: <19971020170736.51366@gil.physik.rwth-aachen.de> We are using NT 3.51 and NT 4.0 in a mixed environment here. Printing from NT4.0 to BSD printers works as well as printing from UNIX boxes (HP, FreeBSD, other) to NT. The clue is 'samba', a LANMANAGER compatible server/client system for unices. The unix box does the filtering via ghostscript in either case and when printing from NT to unix we use the RAW mode (printer panel -> Properties) Printing to NT goes via special /etc/printcap entries that invoke filter scripts that do either text pass through conversion or do the ghostscript to printer driver conversion. This all works excellent. Actually, no gnu-win32 is involved here. On Sun, Oct 19, 1997 at 08:27:51PM +1000, Brad Hubbard wrote: > Regards > Brad Hubbard > Hygrade@mpx.com.au > > ---------- > > From: Brad Hubbard > > To: Michael Haub > > Subject: Re: Printing from Unix to an NT machine printer? > > Date: Saturday, October 18, 1997 6:29 PM > > > > If it's a BSD based UNIX system you should be able to use the -v > > option to tell NT to leave it alone. There's actually more to it than that > but > > I set up a half dozen printers ( No Postscript but some PCL, HPGL and PPS > > (a type of bastardized HPGL), but Postscript should work) quite some time ago > > now and the finer point escape me. The setup was going from HPUX 9.05 to an > NT > > 3.51 Server. > > > > If you would like further info. let me know. > > > > Regards > > Brad Hubbard > > Hygrade@mpx.com.au > > > > ---------- > > > From: Michael Haub > > > To: gnu-win32@cygnus.com > > > Subject: RE: Printing from Unix to an NT machine printer? > > > Date: Saturday, October 18, 1997 6:40 AM > > > > > > Hi, > > > > > > don't we all like Micro$oft. Here is what they say about their own kind > > > of lpd: > > > > > > (I only got a german TCP/IP handbook for NT 3.51 Server. So I try to > > > translate.) > > > > > > "... The LPDSVC service supports every printing format, including > > > unformated text. > > > No additional processing will be taken. ..." > > > > > > This is clever and true. As NT has no filters it can only print raw text. > > > So if you rely on the poor nt lpd implementation and you tell the lpd of > your > > > unix box to forward printing to the nt box (take a look at man printcap) > > > you will get nice source code listings of your postscript files, ;-) > > > as nt will not filter through ghostscript. > > > A linux box would do that for a local printer. > > > > > > > > > Yourth sincere > > > Michael > > > > > > > > > - > > > For help on using this list (especially unsubscribing), send a message to > > > "gnu-win32-request@cygnus.com" with one line of text: "help". > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From vischne@ibm.net Mon Oct 20 08:22:00 1997 From: vischne@ibm.net (Victor Schneider) Date: Mon, 20 Oct 1997 08:22:00 -0000 Subject: Missing two lines from Message-ID: <1.5.4.16.19971020112418.2297a6e8@pop1.ibm.net> Missing two lines from : int _EXFUN(truncate, (int fd, size_t length)); unsigned _EXFUN(usleep, (unsigned int _useconds )); If you add the lines, then programs referencing the functions will link. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Mon Oct 20 09:24:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Mon, 20 Oct 1997 09:24:00 -0000 Subject: Win98 users? References: Message-ID: In article < Pine.BSI.3.96.971019120745.10469A-100000@fish.hooked.net >, Alex wrote: >Hi, It's me again. > >I'm just wondering if anyone is using Sergey's latest dll and Win98 build >1581 or 1602. I've noticed a few problems, and am trying to pinpoint the >cause. If you have a reproducible crash, try setting the STRACE environment variable to '2048,strace.out'. I'd like to see the contents of this file after a crash. -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From nick.brealey@aeat.co.uk Mon Oct 20 09:34:00 1997 From: nick.brealey@aeat.co.uk (Nicholas J Brealey) Date: Mon, 20 Oct 1997 09:34:00 -0000 Subject: Problem with test -r References: <199710171455.PAA03910@sdssuna.culham.aeat.co.uk> <199710180806.SAA29556@murlibobo.cs.mu.OZ.AU> Message-ID: <199710201633.RAA08778@sdssuna.culham.aeat.co.uk> I seem to have deleted the crucial line in my original report. The problems is that test -r does not return true when a file exists and is is readable: bash$ echo hello > xxxx bash$ chmod og-rwx xxxx bash$ if test -r xxxx ; then echo OK ;fi bash$ cat xxxx hello bash$ ls -l xxxx -rw------- 1 1010 everyone 7 Oct 20 16:31 xxxx bash$ On Solaris I get: bash$ echo hello > xxxx bash$ chmod og-rwx xxxx bash$ if test -r xxxx ; then echo OK ;fi OK bash$ cat xxxx hello bash$ ls -l xxxx -rw------- 1 nick users 6 Oct 20 17:28 xxxx bash$ Sorry for any confusion caused ! Nick - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mark@solcom.co.uk Mon Oct 20 09:34:00 1997 From: mark@solcom.co.uk (mark@solcom.co.uk) Date: Mon, 20 Oct 1997 09:34:00 -0000 Subject: SIZE_TYPE macro. Message-ID: I have managed to build a linux-Mips cross compiler using the gnu-win32 sources. However, I would like to change the target descriptiom macro, "SIZE_TYPE" from an "unsigned int" to an "unsigned long int". I tried inserting the following line in the /build/gcc/tm.h file. #undef SIZE_TYPE #define SIZE_TYPE "unsigned long int" However, I get many errors when compiling the gnu-win32 sources. Can anyone help? Thanks in advance, Mark. _______________________________________________ Mark G Hannah Email:mark@solcom.co.uk SolCom Systems SolCom House Tel: +44 1506 461707 Meikle Road Fax: +44 1506 461717 Kirkton Campus Livingston http://www.solcom.co.uk EH54 7DE 10/20/97 4:25:23 PM _______________________________________________ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From cgf@bbc.com Mon Oct 20 10:34:00 1997 From: cgf@bbc.com (Chris Faylor) Date: Mon, 20 Oct 1997 10:34:00 -0000 Subject: Win98 users? References: <344A8CED.9C8DC37@earthlink.net> Message-ID: Hi, Thanks for reporting the problem. The error message you received is from the code that I've submitted to Sergey which is supposed to get things working better with Windows 9[58]. I don't exactly understand how your error happened but I have been going through the code again trying to tighten a few things up and add some more error messages that might let me pinpoint things better. There was also a typo in the "WFSO" error printf below that resulted in the loss of a piece of information that might have helped point to what was going on here. Some guy named Murphy is responsible for that one... :-) In article < 344A8CED.9C8DC37@earthlink.net >, rale wrote: >So far the new dll has been alot more stable for me, however, i did >have 2 pretty random crashes so far. Once was a configure script that >basicaly froze everything up, but when i rebooted and reran it, >everything was fine. Second was about half way through a make, that >crashed with a stack trace: > >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) In cygwin_except_handler exc >C0000005 at BFF76F49 sp 254E654 >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) Exception trapped! >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) exception C0000005 at >BFF76F49 >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) exception: ax 8154B049 bx 0 >cx 8158CDF8 dx 0 >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) exception: si 8158CDF8 di 0 >bp 254E6C0 sp 254E654 >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) exception is: >STATUS_ACCESS_VIOLATION >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) Stack trace: >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 0: sp = 0x254E470, pc >= 0x10007B9A >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 1: sp = 0x254E48C, pc >= 0xBFF7683D >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 2: sp = 0x254E4B0, pc >= 0xBFF87597 >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 3: sp = 0x254E544, pc >= 0xFFECBAD7 >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 4: sp = 0x254E6C0, pc >= 0x10026485 >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 5: sp = 0x254E6D0, pc >= 0x100263FF >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 6: sp = 0x254E6DC, pc >= 0x1000CF07 >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) frame 7: sp = 0x254E7A0, pc >= 0x0 >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) End of stack trace >(C:\UNIX\H-I386-CYGWIN32\BIN\MAKE.EXE 1116) proc_subproc: >WFSO(sync_proc_subproc) = 1 for(6,0), err = 6, last what = -1 > >But, when i closed the shell window and reran bash, then ran make again, >it went on fine. >It seems pretty random to me. Maybe that crash means something to >someone... > >Alex wrote: >> >> Hi, It's me again. >> >> I'm just wondering if anyone is using Sergey's latest dll and Win98 build >> 1581 or 1602. I've noticed a few problems, and am trying to pinpoint the >> cause. >> >> - alex >> >> - >> For help on using this list (especially unsubscribing), send a message to >> "gnu-win32-request@cygnus.com" with one line of text: "help". >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From rdparker@butlermfg.org Mon Oct 20 14:39:00 1997 From: rdparker@butlermfg.org (Parker, Ron) Date: Mon, 20 Oct 1997 14:39:00 -0000 Subject: Error 0 running configure Message-ID: After installing coolview, I am receiving the following error: bash.exe-2.01$ time ~/src/user-tools/configure -v 2>&1|tee configure.log Configuring for a i386-pc-cygwin32 host. /home/rdparker/src/user-tools/configure: /tmp/cONf1007.com: error 0 I have the following packages installed: cdk.exe user-tools source MI/X server X client libraries Sergey's latest coolview -------------- next part -------------- A non-text attachment was scrubbed... Name: bin00000.bin Type: application/vnd.ms-tnef Size: 1678 bytes Desc: not available URL: From noer@cygnus.com Mon Oct 20 14:39:00 1997 From: noer@cygnus.com (Geoffrey Noer) Date: Mon, 20 Oct 1997 14:39:00 -0000 Subject: Need anwsers References: <01BCDD51.A51900E0@gbird0> Message-ID: <199710202136.OAA23893@cirdan.cygnus.com> Colin Peters wrote: [...] > PS. The version of GNU-Win32 included with that book is b17.1 I think, the > current version is b18. Whoever told you that b17.1 can be considered > a "complete starter kit" was lying (b18 isn't either BTW). [...] Bundling the gnu-win32 releases in a book to teach C++ to beginning Win32 programmers was not a very bright thing to do. Maybe in beta 30 or so it might be a complete starter kit but right now... :-) BTW, I didn't know Samm's was going to include it or I would have strongly recommended that they *not* include gnu-win32 for that audience. *sigh* -- Geoffrey Noer noer@cygnus.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From newsham@aloha.net Mon Oct 20 14:39:00 1997 From: newsham@aloha.net (Tim Newsham) Date: Mon, 20 Oct 1997 14:39:00 -0000 Subject: icmp again.. References: <3.0.3.32.19971017172211.00919940@triton.tripnet.se> Message-ID: <199710201839.IAA16200@haleakala.aloha.net> > Hello. > > I wonder if someone can tell me how to use ICMP with cygnus wunderful gcc.exe. You can use winsock functions in the normal (socket) way to write icmp packets out. Unfortunately the winsock functions are somewhat of a hack for reading back packets. It appears that you only get packets back in a recv that are a response to a ping icmp packet you sent out. In other words, it's almost completely unusable for reading icmps. > btw, im trying to port the icmpinfo-1.11, which is an excellent > icmp-logger. If someone already ported it (or simular) please let me know. Winsock is incapable of reading arbitrary icmps so you would need some other way to read icmps to make an icmp logger. > IRL : Martin Svenningsson - Helsingborg, SWEDEN > MAIL : emmess@triton.tripnet.se - finger for PGP - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Mon Oct 20 16:17:00 1997 From: garbanzo@hooked.net (Alex) Date: Mon, 20 Oct 1997 16:17:00 -0000 Subject: imake won't work without /lib/cpp -> a simple shell script References: <344BFAB6.2E1@ccm.cl.nec.co.jp> Message-ID: On Mon, 20 Oct 1997, [iso-2022-jp] $BCfED(J $BEP;VG7(J wrote: > 1) I tried to compile X11 libraries using xmkmf and imake.(Using Segey's > patch). > 2)Imake complains with "cannot execute /lib/cpp" This is a shortcomming of Imake. Not gnu-win32. I don't really know of any [i386] systems with a /lib dir. - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jb34@dial.pipex.com Mon Oct 20 16:17:00 1997 From: jb34@dial.pipex.com (jb34) Date: Mon, 20 Oct 1997 16:17:00 -0000 Subject: absolute beginner needs info on setting up/using the tools Message-ID: <199710202202.PAA07245@cygnus.com> Hello. Can anyone point me in the direction of starting-from-scratch instructions for set-up and use of the various cygnus tools. I got them on CD with a 'Learn C in 24 hours' book but can't figure out much beyond installing the stuff on my hard drive. Just the basics of how to compile and run my first exe would be a leap forward. An explanation of the function of the various tools would be useful too. Thanks in advance... Steve McAteer - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Robert.Baron@IGW.TRUST.CS.CMU.EDU Mon Oct 20 16:37:00 1997 From: Robert.Baron@IGW.TRUST.CS.CMU.EDU (Robert.Baron@IGW.TRUST.CS.CMU.EDU) Date: Mon, 20 Oct 1997 16:37:00 -0000 Subject: bcmp, bcopy, bzero Message-ID: <877390403/rvb@IGW.TRUST.CS.CMU.EDU> Speaking of ex FUN! in string.h we define: int _EXFUN(bcmp,(const char *, const char *, size_t)); void _EXFUN(bcopy,(const char *, char *, size_t)); void _EXFUN(bzero,(char *, size_t)); but both linux and netbsd use: int _EXFUN(bcmp,(const void *, const void *, size_t)); void _EXFUN(bcopy,(const void *, void *, size_t)); void _EXFUN(bzero,(void *, size_t)); which does seem more appropriate for the definitions. The "cons char *, causes the need for endless casts in some programs I'm porting. Could I propose that we pick up the definition that the other OS's use. What is thetechnical reason for our choices. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From andy@assured-digital.com Mon Oct 20 16:37:00 1997 From: andy@assured-digital.com (Andrew Sweeney) Date: Mon, 20 Oct 1997 16:37:00 -0000 Subject: Case sensitivity in make.exe Message-ID: <344BCE74.2BC34F19@assured-digital.com> How do I disable filename case sensitivity in make. I have a problem where I use gcc -MM to generate dependencies. The output is all lowercase and when I compile it doesn't find the correct file. I have a huge sorucetree so I can't rename every file. It will break other developers. example. Locate.c output of gcc-MM loacte.o: ../src/locate.c ../inc/locate.h gcc -o locate.o Error: No such file locate.c I am running on Window NT. Should this package work on win NT? I you know the answer could you please email me. I took my name off the list cause of the volume of mail generated. thanks Andy -- Andrew Sweeney andy@assured-digital.com 29 King Street Littleton, Ma 01460 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kunglao@prairienet.org Mon Oct 20 16:37:00 1997 From: kunglao@prairienet.org (Bizzaro) Date: Mon, 20 Oct 1997 16:37:00 -0000 Subject: central site for ported applciations etc. References: <344B6836.167EB0E7@wg.icl.co.uk> Message-ID: <344BD153.52602BD8@prairienet.org> Kevin Hughes wrote: > > Is there a central site (or mote than one) with the ports for the > various bits of s/w (binary and source) that will now run with the gnu > windows tool suite? > > Kevin I've thought about this before. I could set up a little automated thing where people send an email msg with what they've ported, and it automatically gets put up on a web page. Then anyone can browse it for software they want. I'm open to suggestions, if there's much support for something like that, I'll do it. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From bgmiller@dccinc.com Mon Oct 20 16:37:00 1997 From: bgmiller@dccinc.com (Ben Miller) Date: Mon, 20 Oct 1997 16:37:00 -0000 Subject: winsock Message-ID: <344BD8BA.59DA823E@dccinc.com> I am attempting to compile an application written to the standard winsock1.1 specification. From everything I have read, it should be simple, but I can't get past just trying to get the right headers without compile errors. Is there a sample application that you might have that indicates which headers and #defines I need to use to properly compile a c++ application which uses winsock calls? Any help is greatly appreciated. Thank you in advance, Ben Miller - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From colin@bird.fu.is.saga-u.ac.jp Mon Oct 20 19:25:00 1997 From: colin@bird.fu.is.saga-u.ac.jp (Colin Peters) Date: Mon, 20 Oct 1997 19:25:00 -0000 Subject: gcc problem Message-ID: <01BCDDFA.464DD640@gbird0> Frank Packenham[SMTP:Etc@Weirdness.com] wrote: >Well the install seemed to go well, but when I try to compile ( or make ) >anything this is the result. > >bash$ gcc laws.c >Borland C++ Preprocessor Version 4.00 Copyright (c) 1993 Borland ^^^^^^^ >International >Error: Incorrect command line option: -undef >gcc: Internal compiler error: program cpp got fatal signal 1 > >-undef is described in the UNIX man page for gcc. More importantly though, >why is it trying to use this option, as you can see, I am not specifying it >at the command line. The problem, mainly, is that gcc is expecting to call the GNU version of cpp, and it's getting the Borland version (you have a Borland compiler installed, correct?). Cpp is the preprocessor, and it gets passed many options you give on the gcc command line, as well as lots of options internal to the two. Obviously Borland's cpp, while a program with the same purpose, doesn't have the same command line syntax, and nothing works. Solutions include: - Setting up your environment so GNU cpp is earlier on the path and/or Borland's is not. You might do this with a pair of batch files or shell scripts for switching between "environments" (I like to set up icons which run the correct batch file and start a dos shell in such circumstances). - Removing the Borland install entirely (probably not a good option). - Setting up GNU's LIBRARY_PATH so that cpp can be found in it. This may not work, as gcc might search the main PATH first before trying these "default" places. Probably the best bet is the "separate environments" way. Colin. -- Colin Peters - Saga Univ. Dept. of Information Science -- colin@bird.fu.is.saga-u.ac.jp - finger for PGP public key -- http://www.fu.is.saga-u.ac.jp/~colin/index.html -- http://www.geocities.com/Tokyo/Towers/6162/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Mon Oct 20 19:25:00 1997 From: garbanzo@hooked.net (Alex) Date: Mon, 20 Oct 1997 19:25:00 -0000 Subject: central site for ported applciations etc. References: <344B6836.167EB0E7@wg.icl.co.uk> Message-ID: On Mon, 20 Oct 1997, Kevin Hughes wrote: > Is there a central site (or mote than one) with the ports for the > various bits of s/w (binary and source) that will now run with the gnu > windows tool suite? Not that I know of. I personally try to maintain as best I can a small archive of these things, and there are a few other archives mentioned on the gnu-win32 project page (www.cygnus.com/gnu-win32). - alex - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From vischne@ibm.net Mon Oct 20 19:25:00 1997 From: vischne@ibm.net (Victor Schneider) Date: Mon, 20 Oct 1997 19:25:00 -0000 Subject: More missing lines from Message-ID: <1.5.4.16.19971020210138.23afed04@pop1.ibm.net> Missing lines from (taken from linux/usr/include/sys/unistd.h): /* Process the arguments in ARGV (ARGC of them, minus the program name) for options given in OPTS. If `opterr' is zero, no messages are generated for invalid options; it defaults to 1. `optind' is the current index into ARGV. `optarg' is the argument corresponding to the current option. Return the option character from OPTS just read. Return -1 when there are no more options. For unrecognized options, or options missing arguments, `optopt' is set to the option letter, and '?' is returned. The OPTS string is a list of characters which are recognized option letters, optionally followed by colons, specifying that that letter takes an argument, to be placed in `optarg'. If a letter in OPTS is followed by two colons, its argument is optional. This behavior is specific to the GNU `getopt'. The argument `--' causes premature termination of argument scanning, explicitly telling `getopt' that there are no more options. If OPTS begins with `--', then non-option arguments are treated as arguments to the option '\0'. This behavior is specific to the GNU `getopt'. */ extern int _EXFUN (getopt, (int __argc, char *__const * __argv, __const char *__opts)); extern int opterr; extern int optind; extern int optopt; extern char *optarg; - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From nakata@ccm.cl.nec.co.jp Mon Oct 20 19:25:00 1997 From: nakata@ccm.cl.nec.co.jp (Toshiyuki Nakata) Date: Mon, 20 Oct 1997 19:25:00 -0000 Subject: imake won't work without /lib/cpp -> a simple shell script References: Message-ID: <199710202327.IAA11289@csls3.csl.cl.nec.co.jp> Alex wrote: ; ; On Mon, 20 Oct 1997, [iso-2022-jp] $BCfED(B $BEP;VG7(B wrote: ; ; > 1) I tried to compile X11 libraries using xmkmf and imake.(Using Segey's ; > patch). ; > 2)Imake complains with "cannot execute /lib/cpp" ; ; This is a shortcomming of Imake. Not gnu-win32. I don't really know of ; any [i386] systems with a /lib dir. I agree. I was not complaining about gnu-win32. I was just trying to point out that by making a /lib/cpp shell script with #!/bin/sh gcc -E #* had made my porting much easier. (similar to having /bin/sh or /etc/termcap..) Cheers Toshiyuki - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tonauak@geocities.com Mon Oct 20 21:25:00 1997 From: tonauak@geocities.com (Victor Hugo Ochoa Garza) Date: Mon, 20 Oct 1997 21:25:00 -0000 Subject: Help on Winsock2 References: Message-ID: <344C3D71.43080C40@geocities.com> Hello everybody.... I need your help, I'm trying to compile a C++ prgram in wich I include de winsock2.h file, I already installed the winsock2 pack, but I'm getting a lot of error at the compiling time, i dont know why, errors say thing like "redefinition of _GUID" or "sintax error before..." all this error come from the winsock2.h file. Some body could help me????? - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Mon Oct 20 23:26:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Mon, 20 Oct 1997 23:26:00 -0000 Subject: More missing lines from Message-ID: <01BCDE0B.B00DC430@gater.krystalbank.msk.ru> Victor Schneider wrote: > Missing lines from (taken from linux/usr/include/sys/unistd.h): > > extern int _EXFUN (getopt, (int __argc, char *__const * __argv, > __const char *__opts)); > extern int opterr; > extern int optind; > extern int optopt; > extern char *optarg; > Unistd.h is not the best place fot getopt stuff. The program must include getopt.h. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From kh@wg.icl.co.uk Tue Oct 21 00:38:00 1997 From: kh@wg.icl.co.uk (Kevin Hughes) Date: Tue, 21 Oct 1997 00:38:00 -0000 Subject: ln and cp problem solved - bash 2.01 fault? Message-ID: <9710210737.AA03183@ss38.wg.icl.co.uk> I had a probelm with ln -s not setting the correct attributes. I downloaded the latest coolview and hey presto the problem went away - magic. In the altest coolview I also got a new bash (2.01) This appears to be much quicker - subjectivly at least BUT I had some functionality problems. All my discs are mounted test!=binary and when executing a script which contains something like x=`pwd` I get an error which looks like a newline/cr problem as if its ignoring the last`. If I remove the lines with a ` as the last character it all works (well it doesnt function but there are no errors). Anyone any suggestions? Kevin - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From henrik.schulz@anite-systems.lu Tue Oct 21 01:06:00 1997 From: henrik.schulz@anite-systems.lu (Henrik Schulz) Date: Tue, 21 Oct 1997 01:06:00 -0000 Subject: Error Message, How to solve? Message-ID: <344C61A1.63647EF9@anite-systems.lu> I often get error messages of such type g++.exe -O -c html.cpp (C:\USR\LIB\GCC-LIB\CC1PLUS.EXE 1031) In cygwin_except_handler bash$ g++ -c html.cpp (C:\USR\LIB\GCC-LIB\CC1PLUS.EXE 1034) In cygwin_except_handler How can I solve this problem? From jman@lx.net Tue Oct 21 02:53:00 1997 From: jman@lx.net (jman) Date: Tue, 21 Oct 1997 02:53:00 -0000 Subject: how to kill the command prompt Message-ID: <3.0.3.32.19971021045004.0072a3dc@208.221.108.11> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Howdy all, I am working with a few windows apps but everything opens a dos box. No matter what. Is there a way to write true win32 apps (Without ming ;) great setup tho) and not have the dos box open. Even a simple whello or message box opens up the dos prompt. I am linking with - luser32 -lgdi32... Thanks, -----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.0 Charset: noconv iQA/AwUBNEx6yw6ne3t4b32aEQKDBACfY20wzW8dELg9wbBSz0OzptNtSkgAnR14 z2JIZPYiBACcQxoCwy0BEuD4 =fOAC -----END PGP SIGNATURE----- ------------------------------------------------------- Jason L. Esman aka _Jman Owner Den Internet Services System Admin. Network Consulting http://www.deninc.com | UIN: 2820043 Email jman@lx.net or root@lx.net Finger jman@lx.net for PGP Public Keys... ------------------------------------------------------- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jman@lx.net Tue Oct 21 02:53:00 1997 From: jman@lx.net (jman) Date: Tue, 21 Oct 1997 02:53:00 -0000 Subject: central site for ported applciations etc. References: <344B6836.167EB0E7@wg.icl.co.uk> <344BD153.52602BD8@prairienet.org> Message-ID: <3.0.3.32.19971021045307.0072be38@208.221.108.11> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If anyone would want to maintain a port site, I can donate the webspace, etc... We could also setup a mirror to the tools an maybe the coolviews.. On 04:46 PM 10/20/97 -0500, Bizzaro wrote: >Kevin Hughes wrote: > >I've thought about this before. I could set up a little automated thing where >people send an email msg with what they've ported, and it automatically gets put >up on a web page. Then anyone can browse it for software they want. I'm open >to suggestions, if there's much support for something like that, I'll do it. >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > -----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.0 Charset: noconv iQA/AwUBNEx7gg6ne3t4b32aEQJZdwCdE5IegGFVRTr9MZhBDGgtmplgETwAn0aV PZ19SoL94XGbN0yh7Pb7wja4 =NZDm -----END PGP SIGNATURE----- ------------------------------------------------------- Jason L. Esman aka _Jman Owner Den Internet Services System Admin. Network Consulting http://www.deninc.com | UIN: 2820043 Email jman@lx.net or root@lx.net Finger jman@lx.net for PGP Public Keys... ------------------------------------------------------- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Axel.Riese@risc.uni-linz.ac.at Tue Oct 21 03:41:00 1997 From: Axel.Riese@risc.uni-linz.ac.at (Axel Riese) Date: Tue, 21 Oct 1997 03:41:00 -0000 Subject: Changing environment with make ? Message-ID: <199710211037.AA13411@melmac.risc.uni-linz.ac.at> Hi all ! Having both the GNU-Win32 and Mingw32 package installed, I encountered the following problem for switching from one to the other: Is it possible to change environment variables (such as GCC_EXEC_PREFIX etc.) at the beginning of a Makefile such that these changes remain valid during the whole processing of the Makefile ??? Any suggestions appreciated, Axel =============================================================================== Axel Riese Research Institute for Symbolic Computation J. Kepler University Linz A-4040 Linz e-Mail: Axel.Riese@risc.uni-linz.ac.at Austria URL: http://www.risc.uni-linz.ac.at/research/combinat/risc/ =============================================================================== - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Keetnet@wilmington.net Tue Oct 21 03:41:00 1997 From: Keetnet@wilmington.net (Keet / Foxbird) Date: Tue, 21 Oct 1997 03:41:00 -0000 Subject: Time Functions? Message-ID: <3.0.32.19971020204600.00691700@wilmington.net> I compiled a nice little server and am having a few little problems with the time functions. I've used strftime() in C++, and a few other functions in C.. and they all return the wrong time. Specifically CST/CDT rather than EST. One example would be that my Win95 task bar clock reports 20:32 and the strftime function reports 19:32. I don't have any way to test if the time runs correctly in a CST time zone or even a PST. I've tried telling Win95 that I'm in the CST time zone.. and even the PST time zone, but it still is one hour behind! Is there a flag I missed, some option, or just something crazy I didn't notice? Any ideas/comments/help GREATLY appreciated. - Greg Neujahr keetnet@wilmington.net - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From andy@assured-digital.com Tue Oct 21 04:27:00 1997 From: andy@assured-digital.com (Andrew Sweeney) Date: Tue, 21 Oct 1997 04:27:00 -0000 Subject: Follow up information [Re: Case sensitivity in make.exe] Message-ID: <344C919A.C3851548@assured-digital.com> Hi, I have more info on this problem that I am having with case sensitivity while using the cygnus product. There seems to be some problem wiht case sensitivity when running this product on NT. Example: I have a file LocateMgr.c Running ls on this file in the following ways doesn't produce the same results. The problem is with wildcards and mixed case, see below. D:\ADI Software\CODE\HSE>ls LocateMgr.c LocateMgr.c D:\ADI Software\CODE\HSE>ls locatemgr.c locatemgr.c D:\ADI Software\CODE\HSE>ls *ocatemgr.c ls: *ocatemgr.c: No such file or directory D:\ADI Software\CODE\HSE>ls *ocateMgr.c LocateMgr.c D:\ADI Software\CODE\HSE>ls *ocate*gr.c LocateMgr.c Is there a way to disable the case sensitivity for the cygnus gnuwin32 product? Thanks Andy -- Andrew Sweeney andy@assured-digital.com 29 King Street Littleton, Ma 01460 Andrew Sweeney wrote: > How do I disable filename case sensitivity in make. > > I have a problem where I use gcc -MM to generate dependencies. The > output is all lowercase and when I compile it doesn't find the correct > > file. > > I have a huge sorucetree so I can't rename every file. It will break > other developers. > > example. > > Locate.c > > output of gcc-MM > > loacte.o: ../src/locate.c ../inc/locate.h > > gcc -o locate.o > > Error: No such file locate.c > > I am running on Window NT. Should this package work on win NT? > > I you know the answer could you please email me. I took my name off > the > list cause of the volume of mail generated. > > thanks > Andy > > -- > > Andrew Sweeney > andy@assured-digital.com > 29 King Street > Littleton, Ma 01460 From andy@assured-digital.com Tue Oct 21 04:51:00 1997 From: andy@assured-digital.com (Andrew Sweeney) Date: Tue, 21 Oct 1997 04:51:00 -0000 Subject: [Fwd: Follow up information [Re: Case sensitivity in make.exe]] Message-ID: <344C9727.BE7F19F@assured-digital.com> Sorry, But I have more information regarding this. If I use the ls version 3.5 and gnuwin32.dll (I don't know where I got this but it is on our server) the wildcard searches work correctly. I believe the bug (I will call it a bug because it works correctly in a later version) lies somewhere in cygwin.dll Thanks Andy BTW Please send mail directly. this group blows away my mailbox. D:\ADI Software\CODE\HSE>ls --v GNU fileutils 3.5 D:\ADI Software\CODE\HSE>ls locatemg.c ls: locatemg.c: No such file or directory D:\ADI Software\CODE\HSE>ls locatemgr.c locatemgr.c D:\ADI Software\CODE\HSE>ls locate*gr.c LocateMgr.c Andrew Sweeney wrote: > Hi, > > I have more info on this problem that I am having with case > sensitivity while using the cygnus product. > > There seems to be some problem wiht case sensitivity when running > this product on NT. > > Example: > > I have a file LocateMgr.c > > Running ls on this file in the following ways doesn't produce the > same results. The problem is with wildcards and mixed case, see below. > > D:\ADI Software\CODE\HSE>ls LocateMgr.c > LocateMgr.c > > D:\ADI Software\CODE\HSE>ls locatemgr.c > locatemgr.c > > D:\ADI Software\CODE\HSE>ls *ocatemgr.c > ls: *ocatemgr.c: No such file or directory > > D:\ADI Software\CODE\HSE>ls *ocateMgr.c > LocateMgr.c > > D:\ADI Software\CODE\HSE>ls *ocate*gr.c > LocateMgr.c > > Is there a way to disable the case sensitivity for the cygnus gnuwin32 > > product? > > Thanks > Andy > -- > > Andrew Sweeney > andy@assured-digital.com > 29 King Street > Littleton, Ma 01460 > Andrew Sweeney wrote: > > > How do I disable filename case sensitivity in make. > > > > I have a problem where I use gcc -MM to generate dependencies. The > > output is all lowercase and when I compile it doesn't find the > correct > > > > file. > > > > I have a huge sorucetree so I can't rename every file. It will break > > > other developers. > > > > example. > > > > Locate.c > > > > output of gcc-MM > > > > loacte.o: ../src/locate.c ../inc/locate.h > > > > gcc -o locate.o > > > > Error: No such file locate.c > > > > I am running on Window NT. Should this package work on win NT? > > > > I you know the answer could you please email me. I took my name off > > the > > list cause of the volume of mail generated. > > > > thanks > > Andy > > > > -- > > > > Andrew Sweeney > > andy@assured-digital.com > > 29 King Street > > Littleton, Ma 01460 > > > ------------------------------------------------------------------------------------------------------------- > > Subject: Case sensitivity in make.exe > Date: Mon, 20 Oct 1997 17:34:44 -0400 > From: Andrew Sweeney > To: "gnu-win32@cygnus.com" > > How do I disable filename case sensitivity in make. > > I have a problem where I use gcc -MM to generate dependencies. The > output is all lowercase and when I compile it doesn't find the correct > > file. > > I have a huge sorucetree so I can't rename every file. It will break > other developers. > > example. > > Locate.c > > output of gcc-MM > > loacte.o: ../src/locate.c ../inc/locate.h > > gcc -o locate.o > > Error: No such file locate.c > > I am running on Window NT. Should this package work on win NT? > > I you know the answer could you please email me. I took my name off > the > list cause of the volume of mail generated. > > thanks > Andy > > -- > > Andrew Sweeney > andy@assured-digital.com > 29 King Street > Littleton, Ma 01460 -- Andrew Sweeney andy@assured-digital.com 29 King Street Littleton, Ma 01460 From andy@assured-digital.com Tue Oct 21 05:28:00 1997 From: andy@assured-digital.com (Andrew Sweeney) Date: Tue, 21 Oct 1997 05:28:00 -0000 Subject: [Fwd: [Fwd: Follow up information [Re: Case sensitivity in make.exe]]] Message-ID: <344C9FD8.6C340139@assured-digital.com> FYI I just tried to use mount -m for the directories I want to search caseless and it still fails. Is there a flag that gets turned on during installation? Thanks Again Andy Andrew Sweeney wrote: > Sorry, But I have more information regarding this. > > If I use the ls version 3.5 and gnuwin32.dll (I don't know where I got > > this but it is on our server) the wildcard searches work correctly. > > I believe the bug (I will call it a bug because it works correctly in > a > later version) lies somewhere in cygwin.dll > > Thanks > Andy > > BTW Please send mail directly. this group blows away my mailbox. > > D:\ADI Software\CODE\HSE>ls --v > GNU fileutils 3.5 > > D:\ADI Software\CODE\HSE>ls locatemg.c > ls: locatemg.c: No such file or directory > > D:\ADI Software\CODE\HSE>ls locatemgr.c > locatemgr.c > > D:\ADI Software\CODE\HSE>ls locate*gr.c > LocateMgr.c > > Andrew Sweeney wrote: > > > Hi, > > > > I have more info on this problem that I am having with case > > sensitivity while using the cygnus product. > > > > There seems to be some problem wiht case sensitivity when > running > > this product on NT. > > > > Example: > > > > I have a file LocateMgr.c > > > > Running ls on this file in the following ways doesn't produce > the > > same results. The problem is with wildcards and mixed case, see > below. > > > > D:\ADI Software\CODE\HSE>ls LocateMgr.c > > LocateMgr.c > > > > D:\ADI Software\CODE\HSE>ls locatemgr.c > > locatemgr.c > > > > D:\ADI Software\CODE\HSE>ls *ocatemgr.c > > ls: *ocatemgr.c: No such file or directory > > > > D:\ADI Software\CODE\HSE>ls *ocateMgr.c > > LocateMgr.c > > > > D:\ADI Software\CODE\HSE>ls *ocate*gr.c > > LocateMgr.c > > > > Is there a way to disable the case sensitivity for the cygnus > gnuwin32 > > > > product? > > > > Thanks > > Andy > > -- > > > > Andrew Sweeney > > andy@assured-digital.com > > 29 King Street > > Littleton, Ma 01460 > > Andrew Sweeney wrote: > > > > > How do I disable filename case sensitivity in make. > > > > > > I have a problem where I use gcc -MM to generate dependencies. The > > > > output is all lowercase and when I compile it doesn't find the > > correct > > > > > > file. > > > > > > I have a huge sorucetree so I can't rename every file. It will > break > > > > > other developers. > > > > > > example. > > > > > > Locate.c > > > > > > output of gcc-MM > > > > > > loacte.o: ../src/locate.c ../inc/locate.h > > > > > > gcc -o locate.o > > > > > > Error: No such file locate.c > > > > > > I am running on Window NT. Should this package work on win NT? > > > > > > I you know the answer could you please email me. I took my name > off > > > the > > > list cause of the volume of mail generated. > > > > > > thanks > > > Andy > > > > > > -- > > > > > > Andrew Sweeney > > > andy@assured-digital.com > > > 29 King Street > > > Littleton, Ma 01460 > > > > > > > ------------------------------------------------------------------------------------------------------------- > > > > > Subject: Case sensitivity in make.exe > > Date: Mon, 20 Oct 1997 17:34:44 -0400 > > From: Andrew Sweeney > > To: "gnu-win32@cygnus.com" > > > > How do I disable filename case sensitivity in make. > > > > I have a problem where I use gcc -MM to generate dependencies. The > > output is all lowercase and when I compile it doesn't find the > correct > > > > file. > > > > I have a huge sorucetree so I can't rename every file. It will break > > > other developers. > > > > example. > > > > Locate.c > > > > output of gcc-MM > > > > loacte.o: ../src/locate.c ../inc/locate.h > > > > gcc -o locate.o > > > > Error: No such file locate.c > > > > I am running on Window NT. Should this package work on win NT? > > > > I you know the answer could you please email me. I took my name off > > the > > list cause of the volume of mail generated. > > > > thanks > > Andy > > > > -- > > > > Andrew Sweeney > > andy@assured-digital.com > > 29 King Street > > Littleton, Ma 01460 > > -- > > Andrew Sweeney > andy@assured-digital.com > 29 King Street > Littleton, Ma 01460 > > > ------------------------------------------------------------------------------------------------------------- > > Subject: Follow up information [Re: Case sensitivity in make.exe] > Date: Tue, 21 Oct 1997 07:27:22 -0400 > From: Andrew Sweeney > To: "gnu-win32@cygnus.com" > > Hi, > > I have more info on this problem that I am having with case > sensitivity while using the cygnus product. > > There seems to be some problem wiht case sensitivity when running > this product on NT. > > Example: > > I have a file LocateMgr.c > > Running ls on this file in the following ways doesn't produce the > same results. The problem is with wildcards and mixed case, see below. > > D:\ADI Software\CODE\HSE>ls LocateMgr.c > LocateMgr.c > > D:\ADI Software\CODE\HSE>ls locatemgr.c > locatemgr.c > > D:\ADI Software\CODE\HSE>ls *ocatemgr.c > ls: *ocatemgr.c: No such file or directory > > D:\ADI Software\CODE\HSE>ls *ocateMgr.c > LocateMgr.c > > D:\ADI Software\CODE\HSE>ls *ocate*gr.c > LocateMgr.c > > Is there a way to disable the case sensitivity for the cygnus gnuwin32 > > product? > > Thanks > Andy > -- > > Andrew Sweeney > andy@assured-digital.com > 29 King Street > Littleton, Ma 01460 > Andrew Sweeney wrote: > > > How do I disable filename case sensitivity in make. > > > > I have a problem where I use gcc -MM to generate dependencies. The > > output is all lowercase and when I compile it doesn't find the > correct > > > > file. > > > > I have a huge sorucetree so I can't rename every file. It will break > > > other developers. > > > > example. > > > > Locate.c > > > > output of gcc-MM > > > > loacte.o: ../src/locate.c ../inc/locate.h > > > > gcc -o locate.o > > > > Error: No such file locate.c > > > > I am running on Window NT. Should this package work on win NT? > > > > I you know the answer could you please email me. I took my name off > > the > > list cause of the volume of mail generated. > > > > thanks > > Andy > > > > -- > > > > Andrew Sweeney > > andy@assured-digital.com > > 29 King Street > > Littleton, Ma 01460 > > > ------------------------------------------------------------------------------------------------------------- > > Subject: Case sensitivity in make.exe > Date: Mon, 20 Oct 1997 17:34:44 -0400 > From: Andrew Sweeney > To: "gnu-win32@cygnus.com" > > How do I disable filename case sensitivity in make. > > I have a problem where I use gcc -MM to generate dependencies. The > output is all lowercase and when I compile it doesn't find the correct > > file. > > I have a huge sorucetree so I can't rename every file. It will break > other developers. > > example. > > Locate.c > > output of gcc-MM > > loacte.o: ../src/locate.c ../inc/locate.h > > gcc -o locate.o > > Error: No such file locate.c > > I am running on Window NT. Should this package work on win NT? > > I you know the answer could you please email me. I took my name off > the > list cause of the volume of mail generated. > > thanks > Andy > > -- > > Andrew Sweeney > andy@assured-digital.com > 29 King Street > Littleton, Ma 01460 -- Andrew Sweeney andy@assured-digital.com 29 King Street Littleton, Ma 01460 From earnie_boyd@hotmail.com Tue Oct 21 05:39:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Tue, 21 Oct 1997 05:39:00 -0000 Subject: Time Functions? Message-ID: <19971021123911.10078.qmail@hotmail.com> >Date: Tue, 21 Oct 1997 06:38:53 -0400 >To: gnu-win32@cygnus.com >From: Keet / Foxbird >Subject: Time Functions? > > >I compiled a nice little server and am having a few little problems with >the time functions. I've used strftime() in C++, and a few other functions >in C.. and they all return the wrong time. Specifically CST/CDT rather than >EST. One example would be that my Win95 task bar clock reports 20:32 and >the strftime function reports 19:32. I don't have any way to test if the >time runs correctly in a CST time zone or even a PST. I've tried telling >Win95 that I'm in the CST time zone.. and even the PST time zone, but it >still is one hour behind! Is there a flag I missed, some option, or just >something crazy I didn't notice? Any ideas/comments/help GREATLY appreciated. > How about the date? It sounds to me as if WIN95 is reporting Daylight Savings Time and the function is returning Standard Time. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From n.farag@rz.uni-sb.de Tue Oct 21 06:53:00 1997 From: n.farag@rz.uni-sb.de (Nayel Farag) Date: Tue, 21 Oct 1997 06:53:00 -0000 Subject: Portierung Message-ID: <199710211323.PAA10698@sbusol.rz.uni-sb.de> Problem: Portieren einfacher C-Programme von Linux nach Windows_95 ------------------------------------------ Dipl.-Phys. Nayel Farag Universitaet Saarbruecken FB Elektrotechnik ================================ Sehr geehrte Entwicklerinnen und Entwickler von cygwin32, Von der Newsgroup de.comp.lang.c habe von Ihnen erfahren. Ich habe Ihre Software heruntergeladen (cdk.exe von http://www.cygnus.com/misc/gnu-win32/ ) und wohl auch erfolgreich installiert. Jetzt weiss ich aber nicht, wo ich anfangen soll. So habe ich folgende Fragen: 1) Was ist meine Linux-Umgebung unter Windows? Ist es die MS-DOS-Eingabeaufforderung unter Windows_95? 2) Was ist TCL? Ich habe eine Readme-Datei gefunden (8 Seiten lang), die zwar auch Literaturangaben enthaelt. Aber ich weiss nicht, ob ich das brauche. Durch die folgende Situtation bin ich auf Ihre Software gekommen: Wir sind ein Institut, dass zur Zeit ueber einen Linux-PC und 4 weiteren Win95-PC verfuegt. Ein Kollege von mir macht Messungen, die als Ergebnis die Wertetabelle 'Polarisationsstrom versus Zeit' liefern. Diese Daten bekomme ich als ASCII-Datei. Sie wird weiterverarbeitet mit einem Programm, dass ich unter Linux in ANSI-C implementiert habe. (Der Algorithmus ist ein numerisches Verfahren zur inversen Laplace-Transformation von Messdaten). Das Programm, das ich 'spectrum' nenne, ist kommandozeilen- orientiert; unter dem Linux-Prompt tippt man ein spectrum Dann fuehrt 'spectrum' mit den Daten der Eingabedatei die inverse Laplace-Transformation durch und schreibt die transformierten Daten in die Ausgabedatei (Wertetabelle 'Verteilunsfunktion versus Frequenz'). Dann kann die Ausgabedatei als Kurve dargestellt werden, unter Linux mit 'gnuplot' oder unter Windows95 mit 'Origin 4.1'. Es waere nun guenstig fuer uns, wenn das Programm 'spectrum' auch unter Windows95 lauffaehig waere. Dann koennte man die Messdaten gleich im Labor transformieren. Das einzige Problem besteht anscheinend darin, es so zu kompilieren, dass der Protected Mode genutzt werden kann (64K-Problem von DOS, 'Stack Overflow'-Probleme usw.). 'Spectrum' benoetigt ca. 1,1 MByte Hauptspeicher. Mit Borland C 5.0, dass wir ueber unser Rechenzentrum bezogen haben, habe ich jedoch grosse Schwierigkeiten. Nun habe ich aber aus der Newsgroup 'de.comp.lang.c' erfahren, dass der gcc-Compiler fuer Windows fuer unsere Zwecke ideal sein sollte. Koennen Sie mir weiterhelfen? Mit Dank im voraus und freundlichen Gruessen Nayel Farag, n.farag@rz.uni-sb.de - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From zeil@cs.odu.edu Tue Oct 21 07:44:00 1997 From: zeil@cs.odu.edu (Steven J. Zeil) Date: Tue, 21 Oct 1997 07:44:00 -0000 Subject: gcc problem References: <01BCDDFA.464DD640@gbird0> Message-ID: On Tue, 21 Oct 1997, Colin Peters wrote: > Frank Packenham[SMTP:Etc@Weirdness.com] wrote: > >Well the install seemed to go well, but when I try to compile ( or make ) > >anything this is the result. > > > >bash$ gcc laws.c > >Borland C++ Preprocessor Version 4.00 Copyright (c) 1993 Borland > ^^^^^^^ > >International > >Error: Incorrect command line option: -undef > >gcc: Internal compiler error: program cpp got fatal signal 1 > > > > The problem, mainly, is that gcc is expecting to call the GNU version of > cpp, and it's getting the Borland version (you have a Borland compiler > installed, correct?). Cpp is the preprocessor, and it gets passed many > options you give on the gcc command line, as well as lots of options > internal to the two. Obviously Borland's cpp, while a program with the > same purpose, doesn't have the same command line syntax, and nothing > works. > > Solutions include: > > - Setting up your environment so GNU cpp is earlier on the path and/or > Borland's is not. You might do this with a pair of batch files or > shell scripts for switching between "environments" (I like to set > up icons which run the correct batch file and start a dos shell in > such circumstances). > This will, however, prevent Borland's compiler from working, as it will then try to access the GNU cpp instead of its own. I've run into many similar clashes between $PATH and other environment variables. The solution I have evolved is this: In autoexec.bat, set up a baseline path that does not include ANY of the conflicting programs' binary directories: PATH c:\bin;c:\windows;...and so on... SET BASEPATH=%PATH% Then set up a series of utility batch files to augment the path with the binary directories for a given program. For example, I have usegcc.bat: @PATH h:\gnuwin32\b18\H-i386-cygwin32\bin;h:\gnuwin32\b18\tcl\bin;%BASEPATH% ... may wish to set other gcc environment variables here instead of in autoexec.bat ... and I have usebcc.bat: @PATH h:\bcwin32\bin;%BASEPATH% and a similar script for Visual C++. Then I can simply type usegcc or usebcc at an MSDOS prompt before starting to work with any compiler. For enthusiasts of double-click program launching, create a batch file like usebcc bcw and bind that, rather than the bcw program itself, to the Borland .ide file type. Steve Zeil - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From creitzel@mediaone.net Tue Oct 21 08:44:00 1997 From: creitzel@mediaone.net (creitzel@mediaone.net) Date: Tue, 21 Oct 1997 08:44:00 -0000 Subject: thread support in gnu-win32 Message-ID: <19971021154403.AAA18157@creitzel.ne.highway1.com> Folks porting threaded Unix apps to Win32 might be interested in ACE, which is an academic cross-platform thread, IPC, shared-memory library. The copyright allows use of any of the code in commercial products without royalties. According to the web page, they have some heavyweight industrial projects using the library. Check it out at http://www.cs.wustl.edu/~schmidt/ACE.html . Charlie creitzel@mediaone.net At 10:45 AM 10/20/97 -0400, you wrote: > > I am trying to port multithreaded application from Solaris to NT. Would >somebody know when gnu-win32 will support multithreading and whether the >threading library it will provide is going to be pthread library? > >Any assistance will be appreciated. > >Thank you. > > >Oleg Yatvitskiy. > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From creitzel@mediaone.net Tue Oct 21 08:54:00 1997 From: creitzel@mediaone.net (creitzel@mediaone.net) Date: Tue, 21 Oct 1997 08:54:00 -0000 Subject: icmp again.. Message-ID: <19971021155430.AAA21870@creitzel.ne.highway1.com> Check out Chris Becke's page on icmp programing at http://www.dbn.lia.net/chris/icmp.html . He has hacked the add-on DLL Windows uses to handle ICMP packets. The page has a .ZIP file containing source and a decent discussion of what's involved. Cheers, Charlie creitzel@mediaone.net At 08:39 AM 10/20/97 -1000, you wrote: >> Hello. >> >> I wonder if someone can tell me how to use ICMP with cygnus wunderful gcc.exe. > >You can use winsock functions in the normal (socket) way to write >icmp packets out. Unfortunately the winsock functions are >somewhat of a hack for reading back packets. It appears that >you only get packets back in a recv that are a response to >a ping icmp packet you sent out. In other words, it's almost >completely unusable for reading icmps. > >> btw, im trying to port the icmpinfo-1.11, which is an excellent >> icmp-logger. If someone already ported it (or simular) please let me know. > >Winsock is incapable of reading arbitrary icmps so you would >need some other way to read icmps to make an icmp logger. > >> IRL : Martin Svenningsson - Helsingborg, SWEDEN >> MAIL : emmess@triton.tripnet.se - finger for PGP >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From arlindo@niteroi.gsfc.nasa.gov Tue Oct 21 11:48:00 1997 From: arlindo@niteroi.gsfc.nasa.gov (Arlindo da Silva) Date: Tue, 21 Oct 1997 11:48:00 -0000 Subject: rxvt References: <214CC9256C01D11186F20060B067E4A5F664@HPSRV01> Message-ID: <199710211651.MAA20425@woodmore.gsfc.nasa.gov> > > I installed the X11R6 libraries and greatly appreciate them because I am > now able to use my favorite plotting software on an NT workstation. The > only problem I have is that I can't get rxvt to work - a window appears > and then quickly disappears. I suspect that I don't have some > environment variable set properly. I have done some internet searching, > but everything I have found is directed toward unix and I haven't found > anything that looke useful to me. Could you point me to any NT oriented > documentation? > Try: setenv CYGWIN_TTY 1 (bash), or set CYGWIN_TTY=1 (dos) -- Arlindo da Silva dasilva@alum.mit.edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From annakam@lmc.com Tue Oct 21 11:48:00 1997 From: annakam@lmc.com (annakam@lmc.com) Date: Tue, 21 Oct 1997 11:48:00 -0000 Subject: Problem in creating /etc/passwd and /etc/group with B18 release Message-ID: <199710211847.LAA09880@suncpu6.pdxuxbre.lmc.com> I used mkpasswd and mkgroup to create the files /etc/passwd and /etc/group. However the functionality of mkpasswd does not seem to be quite right since the passwd file does not have all the users on the domain. It just has a subset of the users. When I say 'whoami' without my name in the file it gives me an incorrect username instead of giving me an error. Can I get the source for this mkpasswd? Thanks, Anna. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From fjh@cs.mu.OZ.AU Tue Oct 21 12:48:00 1997 From: fjh@cs.mu.OZ.AU (Fergus Henderson) Date: Tue, 21 Oct 1997 12:48:00 -0000 Subject: Portierung References: <199710211323.PAA10698@sbusol.rz.uni-sb.de> Message-ID: <199710211649.CAA06720@murlibobo.cs.mu.OZ.AU> Meine Deutsch ist sehr schlect... so I will answer in English. "Nayel Farag" writes: >1) Was ist meine Linux-Umgebung unter Windows? > Ist es die MS-DOS-Eingabeaufforderung unter > Windows_95? Type `bash' at the MS DOS Prompt. Then, you should be able to compile your software using the same tools as in Linux: gcc, make, etc. >2) Was ist TCL? TCL is a programming language. You probably don't need to know about it. -- Fergus Henderson | "I have always known that the pursuit WWW: < http://www.cs.mu.oz.au/~fjh > | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From stuerzl@cs.unc.edu Tue Oct 21 12:48:00 1997 From: stuerzl@cs.unc.edu (Wolfgang Stuerzlinger) Date: Tue, 21 Oct 1997 12:48:00 -0000 Subject: problems with configure Message-ID: I guess this is a known problem, but I was not able to run configure sucessfully on the lesstif package using beta18 with the patches for the X-libraries. At one or the other point in the script the system (Win95) hung. As there are many subdirectories in the source tree doing the configuration by hand would be way too timeconsuming. Is there a newer/patched version which will not die on configure-scripts? Wolfgang Stuerzlinger -- Wolfgang Stuerzlinger Dept. of Computer Science, UNC, Chapel Hill, NC 27599-3175 stuerzl@cs.unc.edu http://www.cs.unc.edu/~stuerzl - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Tue Oct 21 13:41:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Tue, 21 Oct 1997 13:41:00 -0000 Subject: bug in debash 1.1 Message-ID: <19971021172434.1276.qmail@hotmail.com> Debash will prepend the current path (or maybe the path of the script file) when a debashed command is executed from a script. I had debashed the tclsh80.exe program to be tclsh. I execute the tclsh like so: #!/bin/sh #\ exec tclsh "$0" "$@" ... rest of script ... When I execute the script tclsh start but all of the parameters have a path prepended to them making them invalid. Since I script resided in the current working directory I don't know if the path is from where the script resides or if it is from the current working directory. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From GBradfor@fhssmtp.redstone.army.mil Tue Oct 21 13:41:00 1997 From: GBradfor@fhssmtp.redstone.army.mil (GBradfor) Date: Tue, 21 Oct 1997 13:41:00 -0000 Subject: Documentation on libraries Message-ID: <00083BCD.3272@fhssmtp.redstone.army.mil> I think I've perused the Cygnus tech library rather thoroughly, and I haven't been able to find any documentation on the functions that support Windows directly. Specifically, I am looking for documentation on the care and feeding (and parameters and return value) of keybd_event(). Any suggestions on where I might find this information? Thanks. /s/ Pat Bradford Reply to: gbradfor@redstone.army.mil AND/OR p_n_brad@traveller.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Keetnet@wilmington.net Tue Oct 21 14:54:00 1997 From: Keetnet@wilmington.net (Keet / Foxbird) Date: Tue, 21 Oct 1997 14:54:00 -0000 Subject: Time Functions? Message-ID: <3.0.32.19971021175114.00690990@wilmington.net> At 05:39 AM 10/21/97 PDT, Earnie Boyd wrote: > > >How about the date? It sounds to me as if WIN95 is reporting Daylight >Savings Time and the function is returning Standard Time. > Just ran the server again to test and report back. The server reports the following: ------------------STARTING SERVER: 10-21-1997 at 15:59:19------------------ My computer clock at that exact moment reports 16:59:19 10-21-1997. My current configuration for Win95 is as follows: 'English' Regional Setting Auto Adjust for daylight savings time. Can't find a daylight savings time enable/disable option anywhere (BIOS too) Eastern US Timezone (-0500 GMT) Original Beta 18 (Not the coolview extensions) What follows is a breif little snippet that reproduces the problem, at least on my end. /* TIMETEST.CPP - Produces a time that is one hour behind the correct time * on a Win95 machine running B18 */ #include #include #include main () { time_t st_t; struct tm *st_tm; char* DTarray[2]; st_t = time(0); st_tm = localtime(&st_t); DTarray[0] = (char*)malloc(sizeof(char)*20); strftime(DTarray[0],15,"%m-%d-%Y",st_tm); DTarray[1] = (char*)malloc(sizeof(char)*20); strftime(DTarray[1],15,"%H:%M:%S",st_tm); printf("------------------STARTING SERVER: %s at %s",DTarray[0],DTarray[1]); printf("------------------\n", NULL); return 0; } // **END FILE** Another thing I noticed, is that if you have a CYGWIN.DLL in your path, and then another in the current directory that your working in, and then execute c++, gcc, or any of the compilers, it goes berzerk and throws up one of those 'cygwin_except_handler' errors and causes a fatal exception error and demands the program be shut down. Just something strange I noticed while compiling this little test program. Again, any ideas on how to fix these problems, or just suggestions, I'm open to try just about anything. Thanks in advance for the help. \---------------------------------------------\ \ Keet | Keetnet@wilmington.net \ \---------------------------------------------\ \ http://localsonly.wilmington.net/~keetnet/ \--\ \---------------------------------------------\ \ \ Keet On FurryMUCK, FluffMuck, Moonglow, and \ /--\ Forgotten Paths \ / \---------------------------------------------\ / Furry Code 1.2: / / FA[parakeet]6fmsw A-- C- D+ H++ M+++ P+ R+ / / T++++ W Z Sm RL# a# cn++ d+ e# f++++ h# / / i++>+++ p* sm# / /---------------------------------------------/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From newsham@aloha.net Tue Oct 21 14:54:00 1997 From: newsham@aloha.net (Tim Newsham) Date: Tue, 21 Oct 1997 14:54:00 -0000 Subject: src questions, test cases? Message-ID: <199710212020.KAA07895@haleakala.aloha.net> Hi, Does cygwin (or anyone else) have a set of test cases they use for regression testing? Are these publically available? I have a couple of questions about cygwin.dll (winsup) src: - why does select iterate over all the file descriptors instead of just the ones set in the bit vectors? - why does select open up a stream socket after firing off the select thread? - Couldn't asynchronous operations be used to select on sockets instead of firing off a seperate thread? - Is there any way of asynchronously checking for data on a pipe? Tim N. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From GBradfor@fhssmtp.redstone.army.mil Tue Oct 21 14:54:00 1997 From: GBradfor@fhssmtp.redstone.army.mil (GBradfor) Date: Tue, 21 Oct 1997 14:54:00 -0000 Subject: Elementary Problem with find Message-ID: <00083B1C.3272@fhssmtp.redstone.army.mil> This is, more than likely, a true newbie problem. I've searched the back issues of the mailing list, and there are no other reports of this problem. So, it's probably just me; but just in case... find is failing to take valid command strings. I am running b18 under Windows95. Example case: find . -name *.c -print The cygwin32 version gives the following error: FIND: Parameter format not correct Running this same command on my Linux box gives the appropriate file listing. I have also tried variations on this same theme: find -name *.c -print find -name *.c -print /* no starting pathname; use present */ /* directory as default. */ find . -name "*.c" -print find . -name '*.c' -print The most interesting was: find "" -name *.c -print find ignored what was in quotes and interpretted everything else as search paths. Any suggestions on this? /s/ Pat Bradford Reply to: gbradfor@redstone.army.mil AND/OR p_n_brad@traveller.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From vischne@ibm.net Tue Oct 21 15:44:00 1997 From: vischne@ibm.net (Victor Schneider) Date: Tue, 21 Oct 1997 15:44:00 -0000 Subject: Getting lynx.exe to compile _and_ _work_ from cygwin Message-ID: <1.5.4.16.19971021182654.2647ad0c@pop1.ibm.net> One plausible reason why lynx.exe won't work after being configured and compiled under b18 cygwin32 is that the winsocket.dll initialization function isn't called from lynx. If you define `_WINDOWS' in lynx/src/LYMain.c and define the structures used by the LYMain.c Windows initialization call at the top of the file, you discover that it won't link the extra functions, even though libwsock32.a has the named functions. The reason that you don't want to include in LYMain.c is that the file is so badly written that it redefines and redeclares basic types over and over again during the inclusion of miscellaneous files from , , and . Of course, then the question is how other winsocket users, like the slrn news reader, manage to operate without initializing the winsocket.dll. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From banders@ECD.Rockwell.COM Tue Oct 21 15:44:00 1997 From: banders@ECD.Rockwell.COM (Bartlee A. Anderson) Date: Tue, 21 Oct 1997 15:44:00 -0000 Subject: Changing environment with make ? References: <199710211037.AA13411@melmac.risc.uni-linz.ac.at> Message-ID: <344D2FAC.6EBD@switch.rockwell.com> Axel Riese wrote: > > Hi all ! > > Having both the GNU-Win32 and Mingw32 package installed, I encountered the > following problem for switching from one to the other: > > Is it possible to change environment variables (such as GCC_EXEC_PREFIX etc.) I have used shortcuts which bring up a shell (via a bat file that sets env var etc.) Having 2 shortcuts with different batfiles for the environment should be an easy thing to manage, as long as things stay static in your environment. It becomes harder if you start to have many more of these. Two with different env vars should be a breeze. Saves me changing autoexec.bat (I hate rebooting, unless the application assists me.. ;( ) > at the beginning of a Makefile such that these changes remain valid during > the whole processing of the Makefile ??? > > Any suggestions appreciated, > > Axel > > =============================================================================== > Axel Riese > Research Institute for Symbolic Computation > J. Kepler University Linz > A-4040 Linz e-Mail: Axel.Riese@risc.uni-linz.ac.at > Austria URL: http://www.risc.uni-linz.ac.at/research/combinat/risc/ > =============================================================================== > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From oliver.berger@unidui.uni-duisburg.de Tue Oct 21 15:44:00 1997 From: oliver.berger@unidui.uni-duisburg.de (Oliver Berger) Date: Tue, 21 Oct 1997 15:44:00 -0000 Subject: bash - problems with german keyboard Message-ID: <199710212244.PAA24228@cygnus.com> hi, i'm using the gnuwin32-b18 suite, the tools seem to work fine. however, bash does neither accept the german umlaute chracters nor accept characters that are generated using the AltGr key on a german keyboard. what am i missing? thanks in advance! oliver ++ ++ Oliver Berger ++ oliver.berger@uni-duisburg.de ++ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From craft@alacritech.com Tue Oct 21 16:05:00 1997 From: craft@alacritech.com (Peter Craft) Date: Tue, 21 Oct 1997 16:05:00 -0000 Subject: Bug in gdb or tk4.2? Message-ID: <344D36EB.518@alacritech.com> Pardon me if this has already been discussed. I seem to be having a problem with the b18 version of gdb. When an event occurs that causes a tk pop-up window to be created, gdb will exit as soon as the window is completed. For example, if I am running gdb with a couple of breakpoints set, and then enter delete I get a "gdb: query" pop-up window asking me if I want to delete all breakpoints. Regardless of whether I select yes or no, gdb terminates immediately. The same thing happens if I select run and gdb queries me if I wish to restart from the beginning. I'm guessing that this is a bug and that since it seems to occur in a rather typical situation, that there is probably a patch for it. True? Thanks Pete - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From BSimon@randata.com.au Tue Oct 21 16:37:00 1997 From: BSimon@randata.com.au (Brendan Simon) Date: Tue, 21 Oct 1997 16:37:00 -0000 Subject: Make & Bash bugs/questions Message-ID: A couple of questions about the GNU-Win Make & Bash. I've just managed to compile the V GUI but encounterd a few problems with Make. Make complained about not being able to find the dependency target v_defs.h. This file definately exists in a directory where VPATH points to yet Make could not find it. I had to resort to using DJGPP Make which worked fine; well up to the point where to object files were collected into a library using ar. Why would DJGPP Make (v3.73) work but not GNU-Win32 Make (ver 3.75) ?? Is it something to do with long paths, long filenames or case sensitity ?? When DJGPP Make tried to make the V libaryr, it had an error message that indicated it had run out of command line space (ie. did not recognise characters after about the 120th on the command line). Yet if I typed in the entire ar command manually, it worked OK. I even tried using Bash but had the same result. Is this command line limitation something to do with DJGPP ?? Should/would GNU-Win32 Make fix this problem (assuming that it worked for previous problem) I would really love to use Bash but it is SOOOOOOO slow. I run linux on a 486 DX2/66 with lots of windows open. Bash and other shells run faster on this machine than they do on my Pentium 133 running Win95. Is there something I can do to speed up Bash or is it just that Windows95 is a load of crap. Thanks heaps for any info, Brendan Simon. bsimon@randata.com.au - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From noer@cygnus.com Tue Oct 21 17:58:00 1997 From: noer@cygnus.com (Geoffrey Noer) Date: Tue, 21 Oct 1997 17:58:00 -0000 Subject: [Fwd: [Fwd: Follow up information [Re: Case sensitivity in make.exe]]] References: <344C9FD8.6C340139@assured-digital.com> Message-ID: <199710220057.RAA25620@cirdan.cygnus.com> Andrew Sweeney wrote: > > I just tried to use mount -m for the directories I want to search > caseless and it still fails. Is there a flag that gets turned on during > installation? This is in the FAQ. Mixed case mapping with mount hasn't been functional since the b14 release which was a couple of years back... -- Geoffrey Noer noer@cygnus.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jgibb1@ix.netcom.com Tue Oct 21 18:19:00 1997 From: jgibb1@ix.netcom.com (John Gibb) Date: Tue, 21 Oct 1997 18:19:00 -0000 Subject: Elementary Problem with find Message-ID: <01bcde88$284154e0$609b5dcf@pentium> I suspect you are using the wrong 'find'. For example, i found myself inadvertently using the NT flavor of find instead of the bash flavor...turns out my PATH had /WINNT/systemm32 prior to /gnuwin32/../bin. I created the following alias to combat this: alias f='//D/gnuwin32/b18/H-i386-cygwin32/bin/find.exe' John Gibb (415)-584-3754 jgibb1@ix.netcom.com -----Original Message----- From: GBradfor To: gnu-win32@cygnus.com Date: Tuesday, October 21, 1997 5:35 PM Subject: Elementary Problem with find > This is, more than likely, a true newbie problem. I've searched the > back issues of the mailing list, and there are no other reports of > this problem. So, it's probably just me; but just in case... > > find is failing to take valid command strings. I am running b18 under > Windows95. > > Example case: > find . -name *.c -print > > The cygwin32 version gives the following error: > FIND: Parameter format not correct > > Running this same command on my Linux box gives the appropriate file > listing. > > I have also tried variations on this same theme: > find -name *.c -print > find -name *.c -print /* no starting pathname; use present */ > /* directory as default. */ > find . -name "*.c" -print > find . -name '*.c' -print > > The most interesting was: > find "" -name *.c -print > find ignored what was in quotes and interpretted everything else as > search paths. > > Any suggestions on this? > > /s/ > Pat Bradford > > Reply to: > gbradfor@redstone.army.mil > AND/OR > p_n_brad@traveller.com >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gnu-win32-request@cygnus.com Tue Oct 21 19:49:00 1997 From: gnu-win32-request@cygnus.com (gnu-win32-request@cygnus.com) Date: Tue, 21 Oct 1997 19:49:00 -0000 Subject: Elementary Problem with find Message-ID: <344D69BB.7353@prs.cs.fujitsu.co.jp> Hi, > The cygwin32 version gives the following error: > FIND: Parameter format not correct There seems to be running "find" of Windows95, not of cygnus. You should use "/gnuwin32/b18/H-i386-cygwin32/bin/find" or write /etc/profile as follow alias find='/gnuwin32/b18/H-i386-cygwin32/bin/find'; - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tonauak@geocities.com Tue Oct 21 21:07:00 1997 From: tonauak@geocities.com (Victor Hugo Ochoa Garza) Date: Tue, 21 Oct 1997 21:07:00 -0000 Subject: Help with mywinsock.h References: <344B6836.167EB0E7@wg.icl.co.uk> <344BD153.52602BD8@prairienet.org> Message-ID: <344D8A89.5AB3A1B7@geocities.com> I try to compile a program using mywinsock, but it say that syntax error occurs with the word "u_short" do i need to include any aditional file (????.h) to compile without errors?? Please help me!!! - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Tue Oct 21 23:17:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Tue, 21 Oct 1997 23:17:00 -0000 Subject: Getting lynx.exe to compile _and_ _work_ from cygwin Message-ID: <01BCDED3.A7B8C0A0@gater.krystalbank.msk.ru> Victor Schneider wrote: > One plausible reason why lynx.exe won't work after being configured and > compiled under b18 cygwin32 is that the winsocket.dll initialization > function isn't called from lynx. If you define `_WINDOWS' in Lynx configured and compiled under b18 cygwin runs fine! The initialisation of winsock is performed by cygwin.dll's start-up code. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Tue Oct 21 23:17:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Tue, 21 Oct 1997 23:17:00 -0000 Subject: Elementary Problem with find Message-ID: <01BCDED3.35934180@gater.krystalbank.msk.ru> GBradfor wrote: > find is failing to take valid command strings. I am running b18 under > Windows95. > > Example case: > find . -name *.c -print > > The cygwin32 version gives the following error: > FIND: Parameter format not correct > :-) It's not a cygwin's find message, but the message printed by windows's find :-) Rename \windows\command\find.exe to something else. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Tue Oct 21 23:29:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Tue, 21 Oct 1997 23:29:00 -0000 Subject: Make & Bash bugs/questions Message-ID: <01BCDED5.47C822B0@gater.krystalbank.msk.ru> Brendan Simon wrote: > When DJGPP Make tried to make the V libaryr, it had an error message > that > indicated it had run out of command line space (ie. did not recognise > characters > after about the 120th on the command line). Yet if I typed in the > entire ar > command manually, it worked OK. I even tried using Bash but had the > same > result. > > Is this command line limitation something to do with DJGPP ?? DJGPP's make is a _dos_ program. Dos limit for command line length is 128 chars. > Should/would GNU-Win32 Make fix this problem (assuming that it worked > for previous problem) Win32 have no limit for command line length. > I would really love to use Bash but it is SOOOOOOO slow. I run linux on > a > 486 DX2/66 with lots of windows open. Bash and other shells run faster > on this > machine than they do on my Pentium 133 running Win95. New process creation is very slow on win32. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Tue Oct 21 23:29:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Tue, 21 Oct 1997 23:29:00 -0000 Subject: src questions, test cases? Message-ID: <01BCDED2.C26D4250@gater.krystalbank.msk.ru> Tim Newsham wrote: > > > I have a couple of questions about cygwin.dll (winsup) src: > > - why does select iterate over all the file descriptors instead > of just the ones set in the bit vectors? Select iterates over first n (the first argument of select) file descriptors set in one of fd_set masks. > > - why does select open up a stream socket after firing off the > select thread? To force select thread to exit by closing this socket when an event occured on non-socket handle. > > - Couldn't asynchronous operations be used to select on sockets > instead of firing off a seperate thread? This case we must create a thread with a window to wait for socket events. Also, WSAAsyncSelect automatically sets the socket unblocked, so we'll need to care about. More harmness than goodness... Using winsock 2 instead of winsock 1.1 will be more suitable with cygwin needs, but Windows 95 doesn't have built in support for ws 2. > > - Is there any way of asynchronously checking for data on a pipe? No way for anonymous pipes :-( My additions to b18 select() makes a polling select on pipes with 10ms interval. *sigh* -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From pki@cri.dk Wed Oct 22 01:08:00 1997 From: pki@cri.dk (Paul Kirkaas) Date: Wed, 22 Oct 1997 01:08:00 -0000 Subject: Xtern (or similar) for bash window? Message-ID: Greetings. Is there a reasonable terminal/console window for Win32 that can run bash? Of course a color xterm port would be great. But anything would be better than the standard console window I have now. Thanks. -- Paul Kirkaas pki@cri.dk - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From claus_brod@bbn.hp.com Wed Oct 22 01:08:00 1997 From: claus_brod@bbn.hp.com (Claus Brod) Date: Wed, 22 Oct 1997 01:08:00 -0000 Subject: Elementary Problem with find References: <00083B1C.3272@fhssmtp.redstone.army.mil> Message-ID: <344D9F5C.60CE@bbn.hp.com> GBradfor wrote: > > This is, more than likely, a true newbie problem. I've searched the > back issues of the mailing list, and there are no other reports of > this problem. So, it's probably just me; but just in case... > > find is failing to take valid command strings. I am running b18 under > Windows95. > > Example case: > find . -name *.c -print > > The cygwin32 version gives the following error: > FIND: Parameter format not correct It seems that your shell is picking up the NT version of "find" which has a completely different parameter syntax. You might want to change your search path slightly so that the GNU utilities are found first. --claus_brod@hp.com----------------------------------------------------- Claus Brod, CoCreate Software Have you hugged your manager today? CoCreate Software GmbH A Hewlett-Packard Company Phone: +49 7031 951 152 -- http://www.geocities.com/SiliconValley/3366 ---#include -- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From vischne@ibm.net Wed Oct 22 01:08:00 1997 From: vischne@ibm.net (Victor Schneider) Date: Wed, 22 Oct 1997 01:08:00 -0000 Subject: Getting lynx.exe to compile _and_ _work_ from cygwin Message-ID: <1.5.4.16.19971022025717.269f5a3a@pop1.ibm.net> At 10:17 AM 10/22/97 +0300, you wrote: >Victor Schneider wrote: >> One plausible reason why lynx.exe won't work after being configured and >> compiled under b18 cygwin32 is that the winsocket.dll initialization >> function isn't called from lynx. If you define `_WINDOWS' in > >Lynx configured and compiled under b18 cygwin runs fine! The initialisation of winsock is performed by cygwin.dll's start-up code. > It doesn't work. If you've run `./configure' and compiled the result, you would know that (a) it doesn't read the control keys properly, unless you use slang and (b) it can't look up named hosts. I've done it enough times with enough versions of lynx to know. So, either you are very careless, or you are lying. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From raf@comdyn.com.au Wed Oct 22 02:26:00 1997 From: raf@comdyn.com.au (raf) Date: Wed, 22 Oct 1997 02:26:00 -0000 Subject: Invalid handle. Message-ID: <199710220925.TAA28891@mali.cd.comdyn.com.au> >I am trying to port Python to Win95 using GNU Win32, gcc. it's been done. try: http://sunsite.auc.dk/pub/languages/python/pythonwin/DownloadWin32.html seeya, raf - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From dbe@wgn.net Wed Oct 22 02:40:00 1997 From: dbe@wgn.net ($Bill Luebkert) Date: Wed, 22 Oct 1997 02:40:00 -0000 Subject: Time Functions? References: <3.0.32.19971021175114.00690990@wilmington.net> Message-ID: <344DC9EA.FE35C0A7@wgn.net> Keet / Foxbird wrote: > > At 05:39 AM 10/21/97 PDT, Earnie Boyd wrote: > > > > > >How about the date? It sounds to me as if WIN95 is reporting Daylight > >Savings Time and the function is returning Standard Time. > > > > Just ran the server again to test and report back. The server reports the > following: > > ------------------STARTING SERVER: 10-21-1997 at 15:59:19------------------ > > My computer clock at that exact moment reports 16:59:19 10-21-1997. > > My current configuration for Win95 is as follows: > 'English' Regional Setting > Auto Adjust for daylight savings time. > Can't find a daylight savings time enable/disable option anywhere (BIOS too) > Eastern US Timezone (-0500 GMT) > Original Beta 18 (Not the coolview extensions) > > What follows is a breif little snippet that reproduces the problem, at > least on my end. > > /* TIMETEST.CPP - Produces a time that is one hour behind the correct time > * on a Win95 machine running B18 > */ > > #include > #include > #include > > main () { > time_t st_t; > struct tm *st_tm; > char* DTarray[2]; > st_t = time(0); > st_tm = localtime(&st_t); > > DTarray[0] = (char*)malloc(sizeof(char)*20); > strftime(DTarray[0],15,"%m-%d-%Y",st_tm); > > DTarray[1] = (char*)malloc(sizeof(char)*20); > strftime(DTarray[1],15,"%H:%M:%S",st_tm); > > > printf("------------------STARTING SERVER: %s at > %s",DTarray[0],DTarray[1]); > printf("------------------\n", NULL); > > return 0; > } > > // **END FILE** > > Another thing I noticed, is that if you have a CYGWIN.DLL in your path, and > then another in the current directory that your working in, and then > execute c++, gcc, or any of the compilers, it goes berzerk and throws up > one of those 'cygwin_except_handler' errors and causes a fatal exception > error and demands the program be shut down. Just something strange I > noticed while compiling this little test program. > > Again, any ideas on how to fix these problems, or just suggestions, I'm > open to try just about anything. Thanks in advance for the help. If you print out tm_isdst, you get 0 on Win95 which is wrong, it should be 1. Somehow the library isn't picking up on the fact that DST is in effect. I'm not familiar enough with the code to go find where the problem is. -- ,-/- __ _ _ $Bill Luebkert (_/ / ) // // DBE Collectibles / ) /--< o // // http://www.wgn.net/~dbe/ -/-' /___/_<_ Message-ID: On 22-Oct-97 "John Gibb" wrote: > I suspect you are using the wrong 'find'. For example, i found myself > inadvertently using the NT flavor of find instead of the bash > flavor... > >> find is failing to take valid command strings. >> The cygwin32 version gives the following error: >> FIND: Parameter format not correct Of course, we all know the answer now, but a clue with future confusions like that, note the case of the FIND command in the error message. A dead giveaway. Paul -- Paul Kirkaas pki@cri.dk - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Wed Oct 22 04:36:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Wed, 22 Oct 1997 04:36:00 -0000 Subject: Getting lynx.exe to compile _and_ _work_ from cygwin Message-ID: <01BCDF00.2153DEF0@gater.krystalbank.msk.ru> Victor Schneider wrote: > >Lynx configured and compiled under b18 cygwin runs fine! The initialisation > of winsock is performed by cygwin.dll's start-up code. > > > It doesn't work. If you've run `./configure' and compiled the result, you Where did you find configure script in lynx-2.7.1 package? I just ran "make generic". -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From syring@pollux.edv.agrar.tu-muenchen.de Wed Oct 22 04:54:00 1997 From: syring@pollux.edv.agrar.tu-muenchen.de (Karl Martin Syring) Date: Wed, 22 Oct 1997 04:54:00 -0000 Subject: bash - problems with german keyboard Message-ID: <01BCDEF1.E87E09B0@syring@pollux.edv.agrar.tu-muenchen.de> Get Sergey updated cygwin.dll from http://www.lexa.ru/sos This will cure most of the problems, but umlauts will not work either (why??). Regards Karl -----Original Message----- From: Oliver Berger [SMTP:oliver.berger@unidui.uni-duisburg.de] Sent: Wednesday, October 22, 1997 12:10 AM To: gnu-win32@cygnus.com Subject: bash - problems with german keyboard hi, i'm using the gnuwin32-b18 suite, the tools seem to work fine. however, bash does neither accept the german umlaute chracters nor accept characters that are generated using the AltGr key on a german keyboard. what am i missing? thanks in advance! oliver ++ ++ Oliver Berger ++ oliver.berger@uni-duisburg.de ++ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From vischne@ibm.net Wed Oct 22 05:41:00 1997 From: vischne@ibm.net (Victor Schneider) Date: Wed, 22 Oct 1997 05:41:00 -0000 Subject: `Color ls' from a bash$ window Message-ID: <1.5.4.16.19971022084320.25bf6252@pop1.ibm.net> At no extra cost, you can get your bash$ window ls listings colorized to show directories and executable files. The trick is to store a .bashrc file in your root directory. Under W95/WNT, the root directory is either c:\ or c:\root (and you can `set HOME=/root' in your autoexec.bat). Enclosed is a .bashrc file that you can use: ============================================================================ alias ls="ls -CF --color" alias dir="ls -CF --color" alias less="less -aCMrsi" ulimit -c 0 export MM_RUNASROOT=1 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Wed Oct 22 05:46:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Wed, 22 Oct 1997 05:46:00 -0000 Subject: Portierung Message-ID: <19971022124611.827.qmail@hotmail.com> >>2) Was ist TCL? > >TCL is a programming language. >You probably don't need to know about it. But if you would like to know more about it you could go to http://www.tcltk.com - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From jbjones@mem.net Wed Oct 22 05:49:00 1997 From: jbjones@mem.net (john jones) Date: Wed, 22 Oct 1997 05:49:00 -0000 Subject: Utilities are slow--am I missing something? Message-ID: <01BCDEBF.5386E340@dyn104.tc-1.mem-to.mem.net> I just set up Bash on my machine. I have info working, and less, and the vi history config. This is a great shell, but for some reason the utilities are WAY slow, or at least 'ls' is. They all seem to be. Am I doing something wrong? I do an 'ls' on the bin directory (probably 100 entries) and wait maybe 1 or 2 seconds, which is a long time in dos box years. I'm using Win95 on a P6 166 with 32meg of ram, with about 2.5 Gig free space. Thanks... john jbjones@mem.net - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From tomas.olsson@ellemtel.se Wed Oct 22 06:12:00 1997 From: tomas.olsson@ellemtel.se (Tomas Olsson) Date: Wed, 22 Oct 1997 06:12:00 -0000 Subject: Problem with JNI, Creating Native code for JAVA Message-ID: <344DFB93.4A8891FD@ellemtel.se> Hi, I have seen a lot of questions about creating native code for JAVA with gcc and there are a lot of problems and it does not seem to be anyone who can answer them. Has anybody had success in doing so. /Tomas Olsson - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From wjones@mindspring.com Wed Oct 22 06:38:00 1997 From: wjones@mindspring.com (William R. Jones) Date: Wed, 22 Oct 1997 06:38:00 -0000 Subject: anybody built gcc cross-compilers? Message-ID: <01BCDECE.240926A0.wjones@mindspring.com> I'm trying to build a cross-compiler so I can build code for an ARM on NT. I have bult it on a SPARC, but guess what, I don't have a SPARC at home. running NT4.0SP3, under a bash shell, I run configure using the following line: ./configure --build=i386-*-winnt35 --host=i386-*-winnt35 --target=arm in a separate tree set aside for just this purpose. The resulting make LANGUAGES=C results in it dying when trying to build one of the early files in the obj list, I think cccp.c. I noticed several errors resulting from the ./configure call, mostly usage messages from mv and "does not exist" messages from touch- which should be creating those files that don't exist, not failing outright. But before I jump in with both feet and try to debug configure, i thought I'd ask if anybody else has tried to do something similar, and if so, were you able to get it to work? Bill Jones - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From lhall@rfk.com Wed Oct 22 06:38:00 1997 From: lhall@rfk.com (Larry Hall) Date: Wed, 22 Oct 1997 06:38:00 -0000 Subject: Elementary Problem with find Message-ID: <2.2.32.19971022132755.00965c8c@ma.ultranet.com> At 02:53 PM 10/21/97 -0500, GBradfor wrote: > This is, more than likely, a true newbie problem. I've searched the > back issues of the mailing list, and there are no other reports of > this problem. So, it's probably just me; but just in case... > > find is failing to take valid command strings. I am running b18 under > Windows95. > > Example case: > find . -name *.c -print > > The cygwin32 version gives the following error: > FIND: Parameter format not correct > > Running this same command on my Linux box gives the appropriate file > listing. > > I have also tried variations on this same theme: > find -name *.c -print > find -name *.c -print /* no starting pathname; use present */ > /* directory as default. */ > find . -name "*.c" -print > find . -name '*.c' -print > > The most interesting was: > find "" -name *.c -print > find ignored what was in quotes and interpretted everything else as > search paths. > > Any suggestions on this? > > /s/ > Pat Bradford > > Reply to: > gbradfor@redstone.army.mil > AND/OR > p_n_brad@traveller.com Are you sure you are getting the gnuwin32 version of find and not the Windows version? The error you get seems to indicate this. Larry Hall lhall@rfk.com RFK Partners, Inc. (781) 239-1053 8 Grove Street (781) 239-1655 - FAX Wellesley, MA 02181 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From dougc@vnd.tek.com Wed Oct 22 06:52:00 1997 From: dougc@vnd.tek.com (Doug Carter) Date: Wed, 22 Oct 1997 06:52:00 -0000 Subject: NT ping source Message-ID: <199710221352.GAA19282@birch.vnd.tek.com> Hi all, Does anyone have (or know where I could find) some "ping" source that has been ported to Win32? TIA, Doug Carter - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From GBradfor@fhssmtp.redstone.army.mil Wed Oct 22 07:51:00 1997 From: GBradfor@fhssmtp.redstone.army.mil (GBradfor) Date: Wed, 22 Oct 1997 07:51:00 -0000 Subject: CONTINUING Elementary Problems with Find Message-ID: <00084699.3272@fhssmtp.redstone.army.mil> Thanks to all who responded to my first post. Yes, indeed, it was the Windows version of find that was causing my problem. However, correcting this problem has revealed another. Again, it is probably newbie in nature, but your assistance is appreciated. Taking my initial command line: find . -name *.c -print gives the following error: find: Paths must precede expression Usage: find [path...] [expression] Just to check things out, I got into bash and checked my pwd (/gnu_src/cdk/winsup), and I entered this absolute address into the command line. No luck, same error. Suggestions? Thanks again for your patience and your help. /s/ Pat Bradford Reply to: gbradfor@redstone.army.mil AND/OR p_n_brad@traveller.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From khan@xraylith.wisc.edu Wed Oct 22 09:21:00 1997 From: khan@xraylith.wisc.edu (Mumit Khan) Date: Wed, 22 Oct 1997 09:21:00 -0000 Subject: Newer gcc2 snapshot with b18 CDK anybody? Message-ID: <199710221618.LAA09859@eh_pc11.xraylith.wisc.edu> Every so often I feel the urge to try a newer gcc (either fsf or egcs) snapshots with b18 CDK and so far failed miserably. After changing the appropriate entries in cygwin.din (to account for different exception handling etc), I've actually gotten the whole CDK to build every time, but get tons of linker warnings about mismatched sizes of vtable sections when building new-cygwin.dll. This has something to do with the new UNIQUE_SECTION and \.linkonce directive used for the PE format. Anybody else trying this? If so, do I need a newer gas/ld than that supplied with b18? Thanks Mumit -- khan@xraylith.wisc.edu http://www.xraylith.wisc.edu/~khan/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From zeil@cs.odu.edu Wed Oct 22 10:10:00 1997 From: zeil@cs.odu.edu (Steven J. Zeil) Date: Wed, 22 Oct 1997 10:10:00 -0000 Subject: Make & Bash bugs/questions References: Message-ID: On Wed, 22 Oct 1997, Brendan Simon wrote: > > A couple of questions about the GNU-Win Make & Bash. > > I've just managed to compile the V GUI but encounterd a few problems > with Make. > Make complained about not being able to find the dependency target > v_defs.h. > This file definately exists in a directory where VPATH points to yet > Make could > not find it. This is a bug in V's makefiles, especially in makefiles generated by the appgen tool. appgen appends v_defs.h, without the proper leading path, as a dependent file to almost all target entries in the makefile. You can either remove the references to v_defs.h, or edit it to give the proper path by editing it to $(VPATH)/v_defs.h In truth, there's nothing special about v_defs.h that calls for it to be singled out in the makefile when all of the other V *.h files are being ignored. Steve Zeil Old Dominion University - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From david@coent.demon.co.uk Wed Oct 22 10:17:00 1997 From: david@coent.demon.co.uk (David Coe) Date: Wed, 22 Oct 1997 10:17:00 -0000 Subject: problems with configure References: Message-ID: <344D97A4.39F7@coent.demon.co.uk> Wolfgang Stuerzlinger wrote: > > I guess this is a known problem, but I was not able to run configure > sucessfully on the lesstif package using beta18 with the patches for the > X-libraries. At one or the other point in the script the system (Win95) > hung. As there are many subdirectories in the source tree doing the > configuration by hand would be way too timeconsuming. > You might want first to edit configure to remove -ansi-pedantic. The following works for me with lesstif-0.81: ./configure --disable-debug --disable-verbose --enable-production --prefix=/usr/X11R6.3 make -i The -i is to ignore errors in the mwm make. You may also find you need to install things separately: cd include; make install cd ../lib ; make install -- Dr David Coe \=\ 58 Fairlawn Drive, East Grinstead \=\ West Sussex, RH19 1NT, United Kingdom \=\ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From qarl@lume.com Wed Oct 22 11:22:00 1997 From: qarl@lume.com (Karl Stiefvater) Date: Wed, 22 Oct 1997 11:22:00 -0000 Subject: ??? Message-ID: <344E44E3.640D@lume.com> I notice you don't mention Alpha NT. Why not? - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From vischne@ibm.net Wed Oct 22 13:31:00 1997 From: vischne@ibm.net (Victor Schneider) Date: Wed, 22 Oct 1997 13:31:00 -0000 Subject: Making the most recent versions of lynx work from cygwin32 Message-ID: <1.5.4.16.19971022163400.28b79820@pop1.ibm.net> I found the answer: `gethostbyname' is not reliable when called only once. The slrn newsreader uses for loops to call gethostbyname up to three times before reporting failure. If you replace every instance of gethostbyname with a for loop calling gethostbyname in the lynx code, the resulting .exe file will work (with an occasional failed lookup). I even got the DJGPP version of pico.exe to make an appearance when I attempted to mail this from cygwin/lynx2-7-1, but I don't think the sendmail program succeeded (probably not enough calls on gethostbyname). For best results, you need libslang.a and libtermcap.a in /usr/local/lib or wherever, and you need to rename libcurses.a and libncurses.a so that configure doesn't try to use them. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From garbanzo@hooked.net Wed Oct 22 14:36:00 1997 From: garbanzo@hooked.net (Alex) Date: Wed, 22 Oct 1997 14:36:00 -0000 Subject: Portierung References: <19971022124611.827.qmail@hotmail.com> Message-ID: On Wed, 22 Oct 1997, Earnie Boyd wrote: > > > > >>2) Was ist TCL? > > > >TCL is a programming language. > >You probably don't need to know about it. > > But if you would like to know more about it you could go to > http://www.tcltk.com sunscript.sun.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From dbe@wgn.net Wed Oct 22 18:52:00 1997 From: dbe@wgn.net ($Bill Luebkert) Date: Wed, 22 Oct 1997 18:52:00 -0000 Subject: `Color ls' from a bash$ window References: <1.5.4.16.19971022084320.25bf6252@pop1.ibm.net> Message-ID: <344E7D10.FDC6785D@wgn.net> Victor Schneider wrote: > > At no extra cost, you can get your bash$ window ls listings colorized to > show directories and executable files. The trick is to store a .bashrc > file in your root directory. Under W95/WNT, the root directory is either > c:\ or c:\root (and you can `set HOME=/root' in your autoexec.bat). > > Enclosed is a .bashrc file that you can use: > ============================================================================ > alias ls="ls -CF --color" > alias dir="ls -CF --color" > alias less="less -aCMrsi" > ulimit -c 0 > export MM_RUNASROOT=1 In my experience is is a bad idea to alias a command to itself (with args), it has caused me problems in the past and I have quite doing it. Alias l to ls and m to less or some such. -- ,-/- __ _ _ $Bill Luebkert (_/ / ) // // DBE Collectibles / ) /--< o // // http://www.wgn.net/~dbe/ -/-' /___/_<_ Message-ID: In article < 01BCDEBF.5386E340@dyn104.tc-1.mem-to.mem.net >, john jones wrote: >I just set up Bash on my machine. I have info working, and less, and >the vi history config. This is a great shell, but for some reason the >utilities are WAY slow, or at least 'ls' is. They all seem to be. Am >I doing something wrong? I do an 'ls' on the bin directory (probably >100 entries) and wait maybe 1 or 2 seconds, which is a long time in dos >box years. I'm using Win95 on a P6 166 with 32meg of ram, with about >2.5 Gig free space. As Sergey has mentioned in another thread, process creation under Win32 is very slow. Add to that the overhead added by cygwin.dll to emulate UNIX stuff and you get slow process startup time. Sergey has a patch in the making which should speed up this process noticeably. It delays or eliminates some expensive startup operations. It should be in the next beta released by Cygnus. I'm not sure if he will be releasing it as a "coolview" or not. -- http://www.bbc.com/ cgf@bbc.com "Strange how unreal VMS=>UNIX Solutions Boston Business Computing the real can be." - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gnu-win32-request@cygnus.com Wed Oct 22 18:52:00 1997 From: gnu-win32-request@cygnus.com (gnu-win32-request@cygnus.com) Date: Wed, 22 Oct 1997 18:52:00 -0000 Subject: CONTINUING Elementary Problems with Find References: <00084699.3272@fhssmtp.redstone.army.mil> Message-ID: <344EA128.6FDF@prs.cs.fujitsu.co.jp> Hi, > Taking my initial command line: > find . -name *.c -print > > gives the following error: > find: Paths must precede expression > Usage: find [path...] [expression] The shell have expanded "*.c" into several filenames before execute find. May be, do you want to do as bellow? find . -print | grep '\.c' - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ketan@nmt.edu Wed Oct 22 18:52:00 1997 From: ketan@nmt.edu (Ketan Patel) Date: Wed, 22 Oct 1997 18:52:00 -0000 Subject: XDR on Win NT Message-ID: <01bcdf56$7dfa04d0$1654cece@dabbo> Hi, Has any body ported XDR (eXternal Data Representation) to Windows NT-4 ? or Does Gnu-Win32 has XDR ? Thank you. -- Ketan - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mh@mike.franken.de Wed Oct 22 18:52:00 1997 From: mh@mike.franken.de (Michael Hirmke) Date: Wed, 22 Oct 1997 18:52:00 -0000 Subject: bash - problems with german keyboard References: <199710212244.PAA24228@cygnus.com> Message-ID: <6gRVAt$KpfB@mike.franken.de> Hi Oliver, >hi, > >i'm using the gnuwin32-b18 suite, the tools seem to work fine. however, bash >does neither accept the german umlaute chracters nor accept characters that >are generated using the AltGr key on a german keyboard. what am i missing? Get Sergey's patched cygwin.dll off his homepage; it will solve this and many other problems. URL is * http://miracle.geol.msu.ru/sos/* ! > >thanks in advance! > >oliver Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh@mike.franken.de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From bzinger@iName.com Wed Oct 22 18:52:00 1997 From: bzinger@iName.com (Micheal A. Benzinger) Date: Wed, 22 Oct 1997 18:52:00 -0000 Subject: Help with mywinsock.h References: <344B6836.167EB0E7@wg.icl.co.uk> <344BD153.52602BD8@prairienet.org> <344D8A89.5AB3A1B7@geocities.com> Message-ID: <3.0.3.32.19971022194232.009169e0@pop.flash.net> Victor, The following should do the trick: #include Mike Benzinger At 11:09 PM 10/21/97 -0600, Victor Hugo Ochoa Garza wrote: >I try to compile a program using mywinsock, but it say that syntax error >occurs with the word "u_short" do i need to include any aditional file >(????.h) to compile without errors?? > >Please help me!!! > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mh@mike.franken.de Wed Oct 22 18:52:00 1997 From: mh@mike.franken.de (Michael Hirmke) Date: Wed, 22 Oct 1997 18:52:00 -0000 Subject: Error 0 running configure References: Message-ID: <6gNVAXbppfB@mike.franken.de> Hi, >This message is in MIME format. Since your mail reader does not understand >this format, some or all of this message may not be legible. Bad enough 8-(( [...] > /home/rdparker/src/user-tools/configure: /tmp/cONf1007.com: error 0 > [...] > Sergey's latest coolview You didn't read, what Sergey wrote on his homepage: You have to use binary mounts and you have to change line breaks from DOS to U*ix style in all your scripts and files. Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh@mike.franken.de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From john.cook@kla-tencor.com Wed Oct 22 18:52:00 1997 From: john.cook@kla-tencor.com (John Cook) Date: Wed, 22 Oct 1997 18:52:00 -0000 Subject: `Color ls' from a bash$ window Message-ID: Hi. I recommend that you use '--color=auto' instead of '--color' in your aliases so that ls will produce color output only when printing to a tty. I once had aliases like those below and ran into difficulties because ls was putting tty color escape codes into redirected output. See 'ls --help' for more info. Also, your 'no extra cost' may vary--I find that ls runs noticeably slower with color enabled than it does without color. (I am running the stock b18 gnuwin32 tools--which I think means I have a build with 'debug' overhead built in-- on a P133 with 64 MB RAM.) I do like the color output; I just hope the performance improves one of these versions. --John >---------- >From: Victor Schneider[SMTP:vischne@ibm.net] >Sent: Wednesday, October 22, 1997 5:40 AM >To: gnu-win32@cygnus.com >Subject: `Color ls' from a bash$ window > >At no extra cost, you can get your bash$ window ls listings colorized to >show directories and executable files. The trick is to store a .bashrc >file in your root directory. Under W95/WNT, the root directory is either >c:\ or c:\root (and you can `set HOME=/root' in your autoexec.bat). > >Enclosed is a .bashrc file that you can use: >============================================================================ >alias ls="ls -CF --color" >alias dir="ls -CF --color" >alias less="less -aCMrsi" >ulimit -c 0 >export MM_RUNASROOT=1 > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mcherk@geog.ubc.ca Wed Oct 22 18:52:00 1997 From: mcherk@geog.ubc.ca (Michael Cherkassoff) Date: Wed, 22 Oct 1997 18:52:00 -0000 Subject: Error loading DLL. Please help. Message-ID: <199710230122.SAA21345@whimbrel.geog.ubc.ca> Hi, I am trying to load .DLL with the following program: ----------- main.c ---------------- #include int main() { HINSTANCE hDLL; hDLL = LoadLibrary("libfoo.dll"); if (hDLL == NULL) { unsigned int errorCode; printf("Error"); errorCode = GetLastError(); printf (" code is %d\n",errorCode); } else printf ("Success\n"); } -------------------------------------------------- I get the message: Error code is 0 if libfoo.dll is relocatable and Error code is 11 if libfoo.dll is non-relocatable. I create my libfoo.dll using Fergus' Henderson Makefile.DLLs and it works perfectly for both relocatable and non-relocatable examples of calling functions (not loading libraries). Any ideas why loading libraries doesn't work and how to make it work? (I care mostly about the relocatable libraries) I am using b18 with the most recent Coolview. Thanks, Michael. ------------------------------------------------------------ Michael Cherkassoff (mcherk@geog.ubc.ca) Department of Geography, Tel: (604) 822-2663 University of British Columbia, B.C. Fax: (604) 822-6150 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mh@mike.franken.de Wed Oct 22 18:52:00 1997 From: mh@mike.franken.de (Michael Hirmke) Date: Wed, 22 Oct 1997 18:52:00 -0000 Subject: Getting lynx.exe to compile _and_ _work_ from cygwin References: <1.5.4.16.19971022025717.269f5a3a@pop1.ibm.net> Message-ID: <6gRVBCdKpfB@mike.franken.de> Hi, [...] >with enough versions of lynx to know. So, either you are very careless, or >you are lying. Please be a little bit carefull about what you are saying here. I don't think, this is an appropriate reaction on Sergey's statement. 1. Sergey is right, Lynx compiles and works prefectly here with NT4 Server SP3, Cygnus b18 and Sergey's newest .dll and 2. if anyone knows, whats going on regarding the internals of the Cygwin package besides Cygnus itself, it is Sergey. His contribution to the development of this package has really improved it a lot. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh@mike.franken.de | WWW http://minimike.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From hfernandes@geocities.com Wed Oct 22 20:35:00 1997 From: hfernandes@geocities.com (Fernandes, Hilton) Date: Wed, 22 Oct 1997 20:35:00 -0000 Subject: Time Functions? References: <3.0.32.19971021175114.00690990@wilmington.net> Message-ID: <199710222230.PAA25783@geocities.com> Hi! When compiled by MSVC++ 4.0 and DJGPP v2.01 the program you sent printed the time correctly. So it seems the bug is in Cygnus implementation of the time functions. Regards, ++Hilton ---- Hilton Fernandes hfernandes@geocities.com http://www.geocities.com/SiliconValley/Lakes/5657 URLs and help on C++ programming and Object-Oriented Design - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Robert_Seeger@BayNetworks.COM Wed Oct 22 20:35:00 1997 From: Robert_Seeger@BayNetworks.COM (Robert Seeger) Date: Wed, 22 Oct 1997 20:35:00 -0000 Subject: CONTINUING Elementary Problems with Find Message-ID: <3.0.32.19971022233402.00a2f870@bl-mail2.corpeast.baynetworks.com> Try: find . -name \*.c -print The shell replaces *.c with all .c files in the directory. You have to use \*.c to make the shell ignore the * character. Hope this helps, Robert Seeger At 09:06 AM 10/22/97 -0500, GBradfor wrote: > Thanks to all who responded to my first post. Yes, indeed, it was the > Windows version of find that was causing my problem. However, > correcting this problem has revealed another. Again, it is probably > newbie in nature, but your assistance is appreciated. > > Taking my initial command line: > find . -name *.c -print > > gives the following error: > find: Paths must precede expression > Usage: find [path...] [expression] > > Just to check things out, I got into bash and checked my pwd > (/gnu_src/cdk/winsup), and I entered this absolute address into the > command line. No luck, same error. > > Suggestions? > > Thanks again for your patience and your help. > > /s/ > Pat Bradford > > Reply to: > gbradfor@redstone.army.mil > AND/OR > p_n_brad@traveller.com > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ======================================== Robert Seeger Network Engineer Bay Networks Telephone: (518)237-2087 Pager: (800)SKY-8888 Pin#1264792 Fax: (518)237-4190 Email: rseeger@baynetworks.com Address: 224 5th Ave, Apt#2 Lansingburgh, NY 12182 ======================================== - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From raf@comdyn.com.au Wed Oct 22 20:41:00 1997 From: raf@comdyn.com.au (raf) Date: Wed, 22 Oct 1997 20:41:00 -0000 Subject: Elementary Problem with find Message-ID: <199710230340.NAA09221@mali.cd.comdyn.com.au> with so many people asking about find, isn't it about time it was added to the FAQ? seeya, raf - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From weiqigao@a.crl.com Wed Oct 22 22:14:00 1997 From: weiqigao@a.crl.com (Weiqi Gao) Date: Wed, 22 Oct 1997 22:14:00 -0000 Subject: CONTINUING Elementary Problems with Find References: <00084699.3272@fhssmtp.redstone.army.mil> Message-ID: <344EDD14.1A1266EA@a.crl.com> GBradfor wrote: > > Thanks to all who responded to my first post. Yes, indeed, it was the > Windows version of find that was causing my problem. However, > correcting this problem has revealed another. Again, it is probably > newbie in nature, but your assistance is appreciated. > > Taking my initial command line: > find . -name *.c -print > > gives the following error: > find: Paths must precede expression > Usage: find [path...] [expression] Watch out for the shell, because the shell has the first stab at the command line. If you are using the Windows 95 COMMAND.COM shell, then *.c gets expanded to: i) a list of your .c files in the current directory; --OR-- ii) if there are no .c files in the current directory, *.c As a consequence, find will see different things depending on how many .c files you have in the directory. The command line that find will see will be: i) find . -name a.c -print (if a.c is the only .c file in the current directory) ii) find . -name a.c b.c -print (if a.c and b.c are the .c files in the current directory) iii) find . -name *.c -print (if there are no .c files in the current directory) iv) a command line similar to ii) when more than two .c files exist in the current directory You will get the result that you expecte in cases i) and iii). You will get the error message that you cited in cases ii) and iv). > Just to check things out, I got into bash and checked my pwd > (/gnu_src/cdk/winsup), and I entered this absolute address into the > command line. No luck, same error. When in find, parse as the shells do. -- Weiqi Gao weiqigao@a.crl.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Wed Oct 22 23:18:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Wed, 22 Oct 1997 23:18:00 -0000 Subject: Newer gcc2 snapshot with b18 CDK anybody? Message-ID: <01BCDF9A.980F2BE0@gater.krystalbank.msk.ru> Mumit Khan wrote: > Every so often I feel the urge to try a newer gcc (either fsf or egcs) > snapshots with b18 CDK and so far failed miserably. After changing the > appropriate entries in cygwin.din (to account for different exception > handling etc), I've actually gotten the whole CDK to build every time, > but get tons of linker warnings about mismatched sizes of vtable sections > when building new-cygwin.dll. This has something to do with the new > UNIQUE_SECTION and \.linkonce directive used for the PE format. > > Anybody else trying this? If so, do I need a newer gas/ld than that > supplied with b18? I tried this without any success :-( The same linker errors. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From gunther.ebert@ixos-leipzig.de Wed Oct 22 23:18:00 1997 From: gunther.ebert@ixos-leipzig.de (Gunther Ebert) Date: Wed, 22 Oct 1997 23:18:00 -0000 Subject: Error loading DLL. Please help. References: <199710230122.SAA21345@whimbrel.geog.ubc.ca> Message-ID: <344EEB8D.4461@ixos-leipzig.de> Hi, I have no idea why LoadLibrary doesn't like gcc-created dlls (since importing via import table works), but if you follow the hints described below you may probably get closer to the cause of the problem. Michael Cherkassoff wrote: > > Hi, > > I am trying to load .DLL with the following program: > ----------- main.c ---------------- > #include > > int main() > { > HINSTANCE hDLL; > > hDLL = LoadLibrary("libfoo.dll"); > if (hDLL == NULL) > { > unsigned int errorCode; > printf("Error"); > errorCode = GetLastError(); Where do you think the last error comes from? LoadLibrary? printf? Since printf performs some Win32 API calls internally it is very likely that the error code which was set by LoadLibrary gets overridden. If you want the error code which a particular function sets please call GetLastError immediately after that function. > printf (" code is %d\n",errorCode); > } > else printf ("Success\n"); > } > -------------------------------------------------- > > I get the message: > > Error code is 0 > > if libfoo.dll is relocatable and > > Error code is 11 > > if libfoo.dll is non-relocatable. > net helpmsg 11 An attempt was made to load a program with an incorrect format. > I create my libfoo.dll using Fergus' Henderson Makefile.DLLs > and it works perfectly for both relocatable and non-relocatable > examples of calling functions (not loading libraries). > > Any ideas why loading libraries doesn't work and how to > make it work? > Maybe there is still a bug in ld, you will have to wait until someone fixes it or fix it yourself. > (I care mostly about the relocatable libraries) > > I am using b18 with the most recent Coolview. > > Thanks, > Michael. > ------------------------------------------------------------ > Michael Cherkassoff (mcherk@geog.ubc.ca) > Department of Geography, Tel: (604) 822-2663 > University of British Columbia, B.C. Fax: (604) 822-6150 > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request@cygnus.com" with one line of text: "help". -- Gunther Ebert iXOS Anwendungs-Software GmbH Angerstrasse 40-42 D-04177 Leipzig Phone : +49 341 48503-0 Fax : +49 341 48503-99 E-mail: mailto:gunther.ebert@ixos-leipzig.de www : http://www.ixos-leipzig.de - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From sos@prospect.com.ru Wed Oct 22 23:18:00 1997 From: sos@prospect.com.ru (Sergey Okhapkin) Date: Wed, 22 Oct 1997 23:18:00 -0000 Subject: Time Functions? Message-ID: <01BCDF9C.C245FC70@gater.krystalbank.msk.ru> Fernandes, Hilton wrote: > Hi! > > When compiled by MSVC++ 4.0 and DJGPP v2.01 the program you sent printed > the time correctly. > > So it seems the bug is in Cygnus implementation of the time functions. Time() implementation in cygwin.dll ignores daylight saving time bias. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From newsham@aloha.net Wed Oct 22 23:18:00 1997 From: newsham@aloha.net (Tim Newsham) Date: Wed, 22 Oct 1997 23:18:00 -0000 Subject: `Color ls' from a bash$ window References: Message-ID: <199710230611.UAA11116@haleakala.aloha.net> > Also, your 'no extra cost' may vary--I find that ls runs > noticeably slower with color enabled than it does without > color. (I am running the stock b18 gnuwin32 tools--which I --color (like the -F option) must find out the type of each file so it nows how to color it. This takes more filesystem calls than a vanilla ls. > --John - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From colin@bird.fu.is.saga-u.ac.jp Wed Oct 22 23:44:00 1997 From: colin@bird.fu.is.saga-u.ac.jp (Colin Peters) Date: Wed, 22 Oct 1997 23:44:00 -0000 Subject: CONTINUING Elementary Problems with Find Message-ID: <01BCDFCA.70BDB540@gbird0> Weiqi Gao[SMTP:weiqigao@a.crl.com] wrote: >Watch out for the shell, because the shell has the first stab at the >command line. If you are using the Windows 95 COMMAND.COM shell, then >*.c gets expanded to: > i) a list of your .c files in the current directory; --OR-- > ii) if there are no .c files in the current directory, *.c Sorry to pick nits, but this is not strictly true. Under Win95 the startup code of a program gets the command line unaltered and performs "globbing" to create the argv list. Most (but not all) Win95 programs do the globbing you describe (because thats the kind that MS compilers' startup code does). I could give you a program that runs under Win95 command.com and does not perform globbing. With all this said, your main point is correct. It's probably the shell (or the startup code) expanding *.c that's messing him up. Sorry again, Colin. -- Colin Peters - Saga Univ. Dept. of Information Science -- colin@bird.fu.is.saga-u.ac.jp - finger for PGP public key -- http://www.fu.is.saga-u.ac.jp/~colin/index.html -- http://www.geocities.com/Tokyo/Towers/6162/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From mark@multimedia-works.com Wed Oct 22 23:44:00 1997 From: mark@multimedia-works.com (Mark Sears) Date: Wed, 22 Oct 1997 23:44:00 -0000 Subject: Need help setting this thing up!? Message-ID: <344E3627.5BC82642@multimedia-works.com> I got everything installed but I can't find any documentation on what to do now! The environment variables are set through the NT 4 control panel. If I try to run bash.exe or any of the programs in the bin I get an infinite loop of errors. Something like : (unknown error) Error in dumping state in cygwin_something_handler (probably corrupted stack) I get this about a million or so odd times. I am rearranging my directory structure to c:\usr\home but do I need to log in or something? How do I even get bash running. I got some guys .bashrc file but that won't do any good till I log in. Any help on the setup of this package would greatly be appreciated. Thanks, Mark Sears mark@multimedia-works.com From tage.westlund@stockholm.mail.telia.com Thu Oct 23 02:21:00 1997 From: tage.westlund@stockholm.mail.telia.com (Tage Westlund) Date: Thu, 23 Oct 1997 02:21:00 -0000 Subject: Elementary Problem with find References: <199710230340.NAA09221@mali.cd.comdyn.com.au> Message-ID: <344F2A66.57BE@stockholm.mail.telia.com> Make your own find: bash$ cd .../gnuwin32/b18/H-i386-cygwin32/bin bash$ cp find.exe gnufind.exe bash$ cd /... bash$ gnufind . -name *.c -print Find all instances of the word "include" in .h files: bash$ gnufind . -name *.h -exec grep include {} \; -print This will work! Tage - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From Keetnet@wilmington.net Thu Oct 23 03:54:00 1997 From: Keetnet@wilmington.net (Keet / Foxbird) Date: Thu, 23 Oct 1997 03:54:00 -0000 Subject: Time Functions? Message-ID: <3.0.32.19971023064302.006a9d24@wilmington.net> At 10:16 AM 10/23/97 +0300, Sergey Okhapkin wrote: >Fernandes, Hilton wrote: >> Hi! >> >> When compiled by MSVC++ 4.0 and DJGPP v2.01 the program you sent printed >> the time correctly. >> >> So it seems the bug is in Cygnus implementation of the time functions. > >Time() implementation in cygwin.dll ignores daylight saving time bias. > Can you suggest a solution for this odd little problem then? I've tried it on three different computers, that have 3 different releases of Win95 running (Upgrade Version W/Service Packs, OSR2, and Upgrade W/OUT Service Packs) and they all seem to be an hour behind. I would try to put it on NT, but I don't have an NT machine to test it on. Any ideas as to whats wrong, and a possible solution on how to fix it? (Besides moving to the CST time zone and leaving my clock at EST time :P ) - Greg Neujahr keetnet@wilmington.net - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From pki@cri.dk Thu Oct 23 03:55:00 1997 From: pki@cri.dk (Paul Kirkaas) Date: Thu, 23 Oct 1997 03:55:00 -0000 Subject: `Color ls' from a bash$ window References: <344E7D10.FDC6785D@wgn.net> Message-ID: On 22-Oct-97 "$Bill Luebkert" wrote: > Victor Schneider wrote: >> >> At no extra cost, you can get your bash$ window ls listings colorized >> Enclosed is a .bashrc file that you can use: >> ======================================================================== >> alias ls="ls -CF --color" > In my experience is is a bad idea to alias a command to itself (with > args), > it has caused me problems in the past and I have quite doing it. > > Alias l to ls and m to less or some such. Or, what I do, which works okay, is to use functions -- like: ........... function fcd () { pushd . > /dev/null ; \cd $1 ; PS1="$LOGNAME$ANGLE " ; setlabels ; } alias cd=fcd .............. Note of couse the escaped \cd in the function call. Paul -- Paul Kirkaas pki@cri.dk - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From arlindo@niteroi.gsfc.nasa.gov Thu Oct 23 05:32:00 1997 From: arlindo@niteroi.gsfc.nasa.gov (Arlindo da Silva) Date: Thu, 23 Oct 1997 05:32:00 -0000 Subject: NetCDF, HDF and XGKS ports References: <01bcdf56$7dfa04d0$1654cece@dabbo> Message-ID: <199710231235.IAA22690@woodmore.gsfc.nasa.gov> Ketan, > > Has any body ported XDR (eXternal Data Representation) to Windows NT-4 ? > > or Does Gnu-Win32 has XDR ? > I have ported NetCDF to GNU Win32, and it has its own XDR implementation. I am not sure if this is what you are looking for. For the NetCDF library: ftp://niteroi.gsfc.nasa.gov/pub/win32/unidata/netcdf I have also a port of HDF: ftp://niteroi.gsfc.nasa.gov/pub/win32/ncsa and XGKS in case there are people still using GKS: ftp://niteroi.gsfc.nasa.gov/pub/win32/unidata/xgks Enjoy! Arlindo. -- Arlindo da Silva dasilva@alum.mit.edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Thu Oct 23 05:37:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Thu, 23 Oct 1997 05:37:00 -0000 Subject: anybody built gcc cross-compilers? Message-ID: <19971023123649.13372.qmail@hotmail.com> How are your filesystems (directories) mounted? If they are not text=binary then this can cause this sort of problem. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >From: "William R. Jones" >Reply-To: "wjones@mindspring.com" >To: "'gnu-win32@cygnus.com'" >Subject: anybody built gcc cross-compilers? >Date: Wed, 22 Oct 1997 09:35:40 -0400 > >I'm trying to build a cross-compiler so I can build code for an ARM on NT. >I have bult it on a SPARC, but guess what, I don't have a SPARC at home. > >running NT4.0SP3, under a bash shell, I run configure using the following >line: > >./configure --build=i386-*-winnt35 --host=i386-*-winnt35 --target=arm > >in a separate tree set aside for just this purpose. The resulting make >LANGUAGES=C results in it dying when trying to build one of the early files >in the obj list, I think cccp.c. > >I noticed several errors resulting from the ./configure call, mostly usage >messages from mv and "does not exist" messages from touch- which should be >creating those files that don't exist, not failing outright. > >But before I jump in with both feet and try to debug configure, i thought >I'd ask if anybody else has tried to do something similar, and if so, were >you able to get it to work? > >Bill Jones > > >- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From arlindo@niteroi.gsfc.nasa.gov Thu Oct 23 05:52:00 1997 From: arlindo@niteroi.gsfc.nasa.gov (Arlindo da Silva) Date: Thu, 23 Oct 1997 05:52:00 -0000 Subject: Xtern (or similar) for bash window? References: Message-ID: <199710231255.IAA22722@woodmore.gsfc.nasa.gov> Paul, > > Is there a reasonable terminal/console window for Win32 that can run bash? > > Of course a color xterm port would be great. But anything would be better > than the standard console window I have now. > Sergey Okhapkin has ported 'rxvt', an X term look-alike, which requires a X server and the X11 DLLs to run. I have included 'rxvt' with my X11R6.3 distribution. You can get information about getting these from: ftp://niteroi.gsfc.nasa.gov/pub/win32/X11R6.3/README -- Arlindo da Silva dasilva@alum.mit.edu - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From earnie_boyd@hotmail.com Thu Oct 23 06:10:00 1997 From: earnie_boyd@hotmail.com (Earnie Boyd) Date: Thu, 23 Oct 1997 06:10:00 -0000 Subject: CONTINUING Elementary Problems with Find Message-ID: <19971023130952.25947.qmail@hotmail.com> >Date: Thu, 23 Oct 1997 09:58:16 +0900 >From: "=?iso-2022-jp?B?GyRCPmVFRCEhN3JHNxsoSg==?=" >Reply-To: ueda@prs.cs.fujitsu.co.jp >To: GBradfor >Cc: gnu-win32@cygnus.com >Subject: Re: CONTINUING Elementary Problems with Find > >Hi, > >> Taking my initial command line: >> find . -name *.c -print >> >> gives the following error: >> find: Paths must precede expression >> Usage: find [path...] [expression] > >The shell have expanded "*.c" into several filenames before execute >find. >May be, do you want to do as bellow? > > find . -print | grep '\.c' >- NO! To stop shell expansion use quoting: find . -name '*.c' -print or find . -name "*.c" -print - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". From ddw@miscrit.be Thu Oct 23 07:13:00 1997 From: ddw@miscrit.be (Dominique de Waleffe) Date: Thu, 23 Oct 1997 07:13:00 -0000 Subject: prog.exe: (null) ????? What's this???? Message-ID: <19971023141553982.AAA301@HERBRAND> A colleague is using GNUwin32 (B18) mostly bash to run some scripts which are intended to run for a long time. Basically they're a forever loop which periodically check if there is something to do, do it then loop... What happens is that after 5 hours of running (cheking every minute) the script enters a phase where each attempt at starting a program fails with a msg: