Subject: GS5.50 under 20.1 : compiling=ok, running!=ok
From: Samy Alex ZAIMI <[email-masked]>
To: [email-masked]
Date: Mon, 26 Apr 1999 12:33:31 +0000

Hello all,
I have successfully compiled GS5.50 (that's the
root name for 'ghostscript' distribution),
including the corrections for the Makefile (linked
to 'unix-gcc.mak') and for some *.c files, namely
in 'gp_unifn.c' I have added (as suggested here
and there) the proper binary open mode ("w" ->
"wb" and "r" -> "rb"). Installation was
straightforward.
But I have troubles when using it on some of my
EPS files, to produce a, e.g., PCX file. The
command I run in a bash shell is :
gs -q -dNOPAUSE -r300 -sDEVICE=pcxmono
-sOutputFile=- - quit.ps < file.eps > file.pcx
I also have tried :
gs ... -sOutputFile=file.pcx file.eps quit.ps
and :
cat file.eps | gs ... -sOutputFile=file.pcx -
quit.ps
None of them gave me the expected result !
My disk is mounted in text!=binary. If I mount it
in text=binary, then all three trials give me the
expected result. The same if I define
'CYGWIN=binmode ...' before running bash.
I have carefully read both FAQ, User Manual and
the archive of the mailing list : that's why I
made the tests above. I still do not understand
why 'gs' is behaving like that. Could anybody
explain me what is happenning ?
By the way, if I keep 'text=binary', then the
Makefiles I have do not run anymore. What do I
have to do ?
Hereafter is a copy of the output of 'cygcheck -s
-v -r'.
Many thanks in advance.
--
Dr.-Ing. Sami Alex ZAIMI
IAMP - Tohoku University - Sendai (Japan)
[email-masked]
========================================

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Mon Apr 26 12:01:29 1999

Win95 Ver 4.0 build 67109975  B

Path: /usr/cygnus/bin
 /usr/local/bin
 /usr/X11R6.4/bin
 /home/_c/WINDOWS
 /home/_c/WINDOWS/COMMAND
 /home/_c/_OUTILS

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

CYGWIN = `title strip_title'
HOME = `/home'
MAKE_MODE = `UNIX'
PWD = `/home'

!C: = `C:\WINDOWS\BUREAU'
!D: = `D:\home'
AR = `ar'
BISONLIB = `/usr/local/lib/'
BLASTER = `A220 I5 D0 T4'
CC = `gcc'
CFLAGS = `-O2 -w'
CMDLINE = `win'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
CONFIG = `COMMON'
CPPFLAGS = `-I/usr/local/include'
DISPLAY = `127.0.0.1:0.0'
GCC_EXEC_PREIX = `/usr/cygnus/lib/gcc-lib/'
HOSTNAME = `helios.iamp.tohoku.ac.jp'
HOSTTYPE = `i586'
INSTALL = `install'
LDFLAGS = `-s'
LD_FLAGS = `-s'
LFN = `Y'
LIBDIR = `/usr/local/lib/'
MACHTYPE = `i586-pc-cygwin32'
MAKE = `make'
MANPATH = `/usr/local/man'
OSTYPE = `cygwin32'
PGPLOT_DEV = `/VCPS'
PGPLOT_DIR = `/home/pascal/pgplot/sys_gnu'
PROMPT = `$p$g'
PS1 = `\h:\w$ '
RANLIB = `ranlib'
SHELL = `bash'
SHLVL = `1'
SYSROOT = `d:'
TEMP = `C:\temp'
TERM = `cygwin'
TMP = `/tmp'
TMPDIR = `/tmp'
TZ = `-1'
VIM = `c:\_outils\vim-5.3'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
YACC = `bison -b y -y'
_ = `/usr/cygnus/bin/cygcheck'
cc = `gcc'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus
Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus
Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\00
  (default) = `C:'
  unix = `/home/_c'
  fbinary = 0x00000000
  fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\01
  (default) = 0x00000000
  fsilent = 0x00000001
  native = `D:'
  unix = `/'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin B20
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin B20\B20.1
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\GNUPro
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\GNUPro\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\GNUPro\i586-cygwin32\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\GNUPro\i586-cygwin32\i586-cygwin32\cygwin-B20.1

  (default) = `d:\usr\cygnus'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\1D

a:\ fd           N/A    N/A
c:\ hd  FAT32   1373Mb  24% CP    UN
ACER
d:\ hd  FAT32   1615Mb  46% CP    UN
PCMCIA

D:    /         native  text!=binary
C:    /home/_c  native  text!=binary

Found: D:\usr\cygnus\bin\bash.exe
Found: D:\usr\cygnus\bin\cat.exe
Not Found: cpp (good!)
Found: D:\usr\cygnus\bin\find.exe
Found: C:\WINDOWS\COMMAND\find.exe
Warning: D:\usr\cygnus\bin\find.exe hides
C:\WINDOWS\COMMAND\find.exe
Found: D:\usr\cygnus\bin\gcc.exe
Found: D:\usr\cygnus\bin\gdb.exe
Found: D:\usr\cygnus\bin\ld.exe
Found: D:\usr\cygnus\bin\ls.exe
Found: \bin\ls.exe
Warning: D:\usr\cygnus\bin\ls.exe hides
\bin\ls.exe
Found: D:\usr\cygnus\bin\make.exe
Found: D:\usr\cygnus\bin\sh.exe
Found: \bin\sh.exe
Warning: D:\usr\cygnus\bin\sh.exe hides
\bin\sh.exe

  371k 1998/12/01 D:\usr\cygnus\bin\cygtcl80.dll -
os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=1998/12/1
9:25
    5k 1998/12/01
D:\usr\cygnus\bin\cygtclpip80.dll - os=4.0 img=1.0
sys=4.0
   10k 1998/12/01
D:\usr\cygnus\bin\cygtclreg80.dll - os=4.0 img=1.0
sys=4.0
                  "cygtclreg80.dll" v0.0
ts=1998/12/1 9:25
  600k 1998/12/01 D:\usr\cygnus\bin\cygtk80.dll -
os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=1998/12/1
9:28
  446k 1999/04/05 D:\usr\cygnus\bin\cygwin1.dll -
os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=1998/12/4
5:39
  446k 1998/12/03
D:\usr\cygnus\bin\cygwin1_old.dll - os=4.0 img=1.0
sys=4.0
                  "cygwin1.dll" v0.0 ts=1998/12/4
5:39
Use -h to see help about each section

--
Want to unsubscribe from this list?
Send a message to [email-masked]