From: lmauro AT scientist DOT com (Leo Mauro) Subject: RE: Question concerning configure scripts 17 Jun 1998 07:00:14 -0700 Message-ID: <000d01bd99a9$bb839f10$1e6e31cf.cygnus.gnu-win32@leo-nt.rd.telesystech.com> References: <199806162009 DOT NAA22297 AT mailwall DOT nwest DOT mccaw DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: On Tuesday, June 16, 1998 09:07 AM, Alexander Stockdale wrote: > I asked this question before, but received no response. Has anyone > else experienced problems with the use of /dev/null in configure > scripts? In particular I find I have problems with gcc -E commands > if the STDERR is piped to /dev/null. I work around it by changing > /dev/null to a junk file, which allows me to proceed. Anyone have > any ideas? I've had no problems with /dev/null in every context I've used it, including configuration scripts -- it discards all data written and furnishes an endless number of EOF indications. It is even visible using an "ls -l /dev/null". I'm using Sergei's updated cygwinb19.dll, and never used the original B19 DLL from Cygnus, so I cannot comment on how it works in a pristine installation. A quick grep-scan through the DLL sources revealed a number of synthetic "/dev" files that are created on the fly when needed (I could have missed some...): /dev/con /dev/conin /dev/conout /dev/dgsocket /dev/fd0 /dev/fd1 /dev/null /dev/ptmx /dev/st0 /dev/st1 /dev/streamsocket /dev/tcp /dev/tty /dev/udp /dev/windows Would anybody care to document them? Sergei? Geoffrey? Many of them I recognize from various flavors of UNIX (and one is briefly documented in Sergei's site), but others look like DOS-specific additions. I believe this belongs in the FAQ. Leo Mauro Principal Scientist TeleSys Technologies, Inc. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".