Article View: gnu.misc.discuss
Article #1414GS 2.52 on ICL DRS6000 ?
From: SW International
Date: Fri, 18 Dec 1992 06:51
Date: Fri, 18 Dec 1992 06:51
74 lines
2879 bytes
2879 bytes
Hello everyone !
We have here a DRS6000 from ICL, running SVR4:
# uname -a
unix unicorn 4.0 5.1.04 DRS 6000 sparc
I have tried building Ghostscript 2.5.2 on this machine using the
SVR$ settings. I have several problems:
a) In gdevepsn.c (line 101 and 107) I get an Initialiser doesn't fit
warning, showing values of 131 and 168. They are assigned
to char, so I assume that char is *signed*?
b) In iinit.c, there are a few places where it seems that a constant
variable is assigned to. I don't have my ANSI-Standards around,
but this looks wrong to me:
---- iinit.c ----
[...]
163 /* Run the initialization procedures of the individual operator files. */
164 void
165 zop_init()
166 { op_def_ptr _ds *tptr;
167 op_def_ptr def;
^^^^^^^^^^op-def_ptr is typedef'd const in opdef.h
168 for ( tptr = op_defs_all; *tptr != 0; tptr++ )
169 { for ( def = *tptr; def->oname != 0; def++ ) ;
^^^ assigned here ^^^^
170 if ( def->proc != 0 )
171 ((void (*)(P0()))(def->proc))();
172 }
173 }
174 /* Initialize the operator table. */
175 void
176 op_init()
177 { int count = 1;
178 op_def_ptr _ds *tptr;
179 op_def_ptr def;
^^^^^^^^^^^^^^same here
180 const char _ds *nstr;
181
182 /* Do a first pass just to count the operators. */
183
184 for ( tptr = op_defs_all; *tptr != 0; tptr ++ )
185 for ( def = *tptr; def->oname != 0; count++, def++ )
^^^^and here
[...]
--------
and some other places.
It looks wrong, but I'm not a ANSI guru, and my H&S is far away...
My compiler certainly barfs here..
c) The gettimeofday of the DRS6000 only knows one argument, the
struct time pointer, not the struct timezone one. I can use
the global timezone variable to get around it, but is there
a better way?
So here is my foremost question: Has anyone got GS to run on such
a machine and is willing to share the info?
Thx alot
Mathias
--
SW International Systems Pte Ltd | "I've got a plan so cunning
14, Science Park Drive | you could put a tail on it and
Singapore Science Park | call it a weasel".. Black Adder
Singapore 0511 |
Tel: (65) 778-0066 |
Fax: (65) 777-9401 | swispl@solomon.technet.sg
Technical Details
Message-ID:
<BzG0D6.1BH@newsserver.technet.sg>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!newsserver.technet.sg!swisplShow Full Headers
Complete Article Headers
Newsgroups: gnu.misc.discuss Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!newsserver.technet.sg!swispl From: swispl@solomon.technet.sg (SW International) Subject: GS 2.52 on ICL DRS6000 ? Message-ID: <BzG0D6.1BH@newsserver.technet.sg> Sender: news@newsserver.technet.sg Nntp-Posting-Host: solomon.technet.sg Organization: TECHNET, Singapore X-Newsreader: TIN [version 1.1 PL8] Date: Fri, 18 Dec 1992 06:51:06 GMT Lines: 74