[comp.text.tex] TeX3.0 and SCO Xenix

jheimone@vipunen.hut.fi (Jorma Heimonen) (05/19/91)

I have been (desperately) trying to compile TeX3.0 in a 486
with SCO Xenix 2.3.2. Here is my story:

% make all
cd web2c; make SITEDIR=".." CC="cc" ...

	web2c  compiles all right.

web
	until tangle tangle.web tangle.ch ; \
	do
	cc -Dlink=link_array -I.. -o tangle tangleboot.c tanglext.c; \
	done

	This is TANGLE, C Version 4
	*1*11*19*29*37*50*65*70*77*94*112
	! Missing 128 )'s. (l.2157)
	
	
	  Sending a verbatim string is similar, but we don't have to look
	  ahead.
	sh: 179: Memory fault - Core dump
	%

So the initial TANGLE fails to tangle itself.
After this I made some further experimenting with this initial tangle.

% cd mfware
% ../web/tangle gftopk.web gftopk.ch

This is TANGLE, C Version 4
*1*9*14*21*37*48*51*62*88*89
Writing the output file...
Done.
(No errors were found.)

%make gftopk
/bin/sh ./convert gftopk.p gftopk.c
cc -Dlink_array -I.. -c gftopk.c
cc -Dlink_array -I.. -c mfwarext.c
cc -o gftopk gftopk.o mfwarext.o
%gftopk
Usage: gftopk [-v] <gf file> [pk file].
%

When I tried to tangle some other fontutils/mfware/pkware programs,
I got various results. Tangle could handle some of them, for example
pktogf, and died with others, for example vftovp or tex itself, giving
similar error messages as in make, for example:
! Missing 46 )'s. (.l1576)
....
Memory fault - Core dump or Segmentation violation - Core dumped

The compiler I use is Xenix default cc. Here are the most
important definitions in site.h.
#undef BSD
#define SYSV
#undef ANSI
#define SIGNAL_HANDLER_RETURN_TYPE void
typedef double glueratio
#undef REGFIX
#undef SIXTEENBIT

#undef SIXTEENBIT
#define schar short
#define integer long
#define MAXPATHLENGTH 5000

I would be wery grateful of any kind of solutions, workarounds,
hints and clues.

Jorma Heimonen
Rantakiventie 5A
00960 Helsinki
FINLAND


email: jheimone@vipunen.hut.fi