public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: GS5.50 under 20.1 : compiling=ok, running!=ok
@ 1999-04-26  5:55 Earnie Boyd
  1999-04-26 10:38 ` Eugene Kanter
  1999-04-30 18:32 ` Earnie Boyd
  0 siblings, 2 replies; 8+ messages in thread
From: Earnie Boyd @ 1999-04-26  5:55 UTC (permalink / raw)
  To: zaimi, cygwin

This is related to a bug in the version of the cygwin1.dll that you have.  The
bug is that the BINARY specifier in all functions is being ignored. 8-(  This
has been fixed in the snapshots.  I believe it to be fixed in the favored Jan
15th snapshot.

--- Samy Alex ZAIMI <zaimi@kiwi.iamp.tohoku.ac.jp> wrote:
> 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.
--8<--

===
"Earnie Boyd" < mailto:earnie_boyd@yahoo.com >
CYGWIN RELATED HELP:
 DOCUMENTATION: < http://sourceware.cygnus.com/cygwin/docs.html >
       DLLHELP: < http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ >
ARCHIVE SEARCH: < http://www.delorie.com/archives/ > OR
                < http://www.eGroups.com/list/gnu-win32/ >
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: GS5.50 under 20.1 : compiling=ok, running!=ok
@ 1999-04-26 12:27 Earnie Boyd
  1999-04-30 18:32 ` Earnie Boyd
  0 siblings, 1 reply; 8+ messages in thread
From: Earnie Boyd @ 1999-04-26 12:27 UTC (permalink / raw)
  To: Eugene Kanter, cygwin

--- Eugene Kanter <eugene@bgs.com> wrote:
> Earnie Boyd wrote:
> > 
> > This is related to a bug in the version of the cygwin1.dll that you have. 
> The
> > bug is that the BINARY specifier in all functions is being ignored. 8-( 
> This
> > has been fixed in the snapshots.  I believe it to be fixed in the favored
> Jan
> > 15th snapshot.
> 
> Was this bug intrduced in B20.1?? I am using RPM (Red hat Package
> Manager) with B20. RPM uses a lot of different file open modes (some
> binary some text) just fine without setting any enviroment and using
> default mounts (text mode).
> 
> Eugene.
> 

I'm not sure when the bug was introduced.  I do know that this has been
discussed before (within the past few months) in relation to Perl.  This bug is
also mentioned in the FAQ or Online Documentation.  I don't know how you are
successfully using B20, there were enough bugs to force me back to B19 when B20
originally released.
===
"Earnie Boyd" < mailto:earnie_boyd@yahoo.com >
CYGWIN RELATED HELP:
 DOCUMENTATION: < http://sourceware.cygnus.com/cygwin/docs.html >
       DLLHELP: < http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ >
ARCHIVE SEARCH: < http://www.delorie.com/archives/ > OR
                < http://www.eGroups.com/list/gnu-win32/ >
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread
* GS5.50 under 20.1 : compiling=ok, running!=ok
@ 1999-04-26  3:34 Samy Alex ZAIMI
  1999-04-30 18:32 ` Samy Alex ZAIMI
  0 siblings, 1 reply; 8+ messages in thread
From: Samy Alex ZAIMI @ 1999-04-26  3:34 UTC (permalink / raw)
  To: cygwin

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)
zaimi@kiwi.iamp.tohoku.ac.jp
========================================

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 cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-04-30 18:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-26  5:55 GS5.50 under 20.1 : compiling=ok, running!=ok Earnie Boyd
1999-04-26 10:38 ` Eugene Kanter
1999-04-30 18:32   ` Eugene Kanter
1999-04-30 18:32 ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
1999-04-26 12:27 Earnie Boyd
1999-04-30 18:32 ` Earnie Boyd
1999-04-26  3:34 Samy Alex ZAIMI
1999-04-30 18:32 ` Samy Alex ZAIMI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).