delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/12/10:59:10

From: vischne AT ibm DOT net (Victor Schneider)
Subject: Output redirection, file creation, and libjpeg.a
12 Oct 1997 10:59:10 -0700 :
Message-ID: <1.5.4.16.19971012132202.2567965e.cygnus.gnu-win32@pop1.ibm.net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019