Mail Archives: cygwin/1996/11/06/18:07:35
I've been trying to compile the pbmplus utilities using gcc. Setting
the switch -DSYSV seems to do the job, and we get nice executable
utilities. Unfortunately, the pbmplus utilities expect to be used in
a series of pipes and so want to read from stdin and write to stdout.
Hacking the registry to set all files to binary mode seems a bit
extreme. Visual C++ allows you to define _setmode to be _O_BINARY
and get stdin and stdout to come up in binary mode, but I see nothing
like that for the Cygnus version of gcc.
Any chance that the mode of stdin/stdout could be set to default to
binary mode? Or adding _setmode() to the distribution?
----------------------------------------------------------
Don Anderson, Department of Computer Science
University of California, San Diego La Jolla CA 92037-0114
phone: (619) 534-1180
email: danderson AT ucsd DOT edu
url: http://iip.ucsd.edu/personal/dwa
----------------------------------------------------------
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -