[comp.sys.atari.st] Problems with MWC compiling C-TeX

lbn@iesd.uucp (Lars Bo Nielsen) (10/27/88)

Hi, out there..

I'm having some problems compiling the c-source codes for TeX (using
MWC ver. 3.0 on a Mega 4), as generated from tex.web by web2c, and I'm
having some problems (it bombs (bus-error) ;-). But, I have an idear
that the problem comes from the datatypes in the file `memory.h',
where a couple of unions and structs are being typedef'ed:

typedef union { struct { halfword RH, LH; } v;
    struct { halfword junk_space; quarterword B0, B1;} u;
} twohalves;
typedef struct { struct { quarterword B0; quarterword B1;} u;
    quarterword b2; quarterword b3;
} fourquarters;
typedef union {integer cint; glueratio gr; twohalves hh; fourquarters qqqq;
} memoryword;

with integer = long (32 bit), halfword = short (16 bit), and
quarterword = char (8 bit). MWC tells me that it has problems with the
union memoryword:

	Strict: size of union overflows size_t

The manual says that `size_t' is an internal constant, but when it's
only a strict code is generated. Another problem might be the arrays.
Ver. 3.0 of MWC should be able to handle arrays > 64K, but are there
still some problems?

Could somebody please give me a hint, or has anybody succesfully
compiled TeX on an Atari?

 /========================================================================\
 | Lars Bo Nielsen                 |  lbn@iesd.dk                         |
 | Department of Computer Science  |  {...}!mcvax!diku!iesd!lbn           |
 | Aalborg University, St. 19      |--------------------------------------|
 | DK 9000 Aalborg                 | Wise words in latin:                 |
 | D E N M A R K                   | Vir prudens non contra ventum mingit |
 \========================================================================/