🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #564

Compiling under UNICOS

#564
From: Chris Goedde
Date: Tue, 15 Dec 1992 06:38
27 lines
1337 bytes
I'm trying to compile ghostscript 2.5.2 on a cray under unicos.  The
first problem is that ints are 8 bytes, which causes a problem in
gdevmem.h at:

/*
 * The clog2_bytes macro assumes that ints are 2 or 4 bytes in size:
 * check this now.
 */
#if !(arch_sizeof_int == 2 || arch_sizeof_int == 4)
#  error sizeof(int) must be 2 or 4 for correct operation.
#endif
/* Generic macros for chunk accessing. */
#define cbytes(ct) ((int)sizeof(ct))    /* sizeof may be unsigned */
#  define chunk_bytes cbytes(chunk)
#define clog2_bytes(ct) ((int)sizeof(ct)>>1)    /* works for 1,2,4! */

My questions are:

1) Is this a hopeless task?  Has anyone succeeded or tried and failed
   at this?
b) Is there a work around for this macro, or does this particular
   assumption  about the length of ints appear elsewhere?

Thanks,

chris
goedde@shape.mps.ohio-state.edu
Technical Details
Message-ID: <1gl1m5INNpme@ellipse.mps.ohio-state.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!shape.mps.ohio-state.edu!goedde

Show Full Headers
Complete Article Headers
Newsgroups: gnu.ghostscript.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!shape.mps.ohio-state.edu!goedde
From: goedde@shape.mps.ohio-state.edu (Chris Goedde)
Subject: Compiling under UNICOS
Message-ID: <1gl1m5INNpme@ellipse.mps.ohio-state.edu>
Sender: gnulists@ai.mit.edu
Organization: Department of Mathematics, The Ohio State University
Distribution: gnu
Date: Tue, 15 Dec 1992 06:38:29 GMT
Approved: bug-ghostscript@prep.ai.mit.edu
Lines: 29