[comp.unix.xenix] Trouble compiling TeX on SCO XENIX

dooley@physics.utoronto.ca (Kevin Dooley) (05/02/90)

I am trying to get a full implementation of TeX running on an
SCO XENIX 2.3 386 machine.  I fixed the few obvious problems
of file name length limits and the few include file differences
which the compiler choked on, but I still get this sort of error.
Can anybody offer any assistance?

	../texware/tangle tex.web ctex.ch
This is TANGLE, C Version 2.9
*1*9*10
! Change file entry did not match. (change file l.109)
@d init== {change this to `$\\{init}\equiv\.{@@\{}$' in the production version}
                                                                                
Writing the output file
! Not present: <Compiler directives>. (l.1)
{4:}... 
! Not present: <Constants in the outer block>. (l.1)
{4:}program TEX;const... 
! Not present: <Types in the outer block>. (l.1)
{4:}program TEX;const type... 
! Not present: <Global variables>. (l.1)
{4:}program TEX;const type var... 
! Not present: <Local variables for initialization>. (l.1)
{4:}program TEX;const type var procedure initialize;var... 
! Not present: <Initialize whatever \TeX\ might access>. (l.1)
{4:}program TEX;const type var procedure initialize;var begin... 
! Not present: <Basic printing procedures>. (l.1)
{4:}program TEX;const type var procedure initialize;var begin end;... 
! Not present: <Error handling procedures>. (l.1)
{4:}program TEX;const type var procedure initialize;var begin end;... *** Termination code 139

-- 
 Kevin Dooley         UUCP - {uunet,pyramid}!utai!helios.physics!dooley
 Physics Dept.        BITNET - dooley@utorphys
 U. of Toronto        INTERNET - dooley@helios.physics.utoronto.ca

jtc@van-bc.UUCP (J.T. Conklin) (05/03/90)

In article <1990May2.121616.22111@helios.physics.utoronto.ca> dooley@physics.utoronto.ca (Kevin Dooley) writes:
>I am trying to get a full implementation of TeX running on an
>SCO XENIX 2.3 386 machine.  I fixed the few obvious problems
>of file name length limits and the few include file differences
>which the compiler choked on, but I still get this sort of error.
>Can anybody offer any assistance?
>
>	../texware/tangle tex.web ctex.ch

Tangle tickles a compiler bug in the Xenix C compiler.  When I first
brought up TeX under Xenix, I had to compile tangle on a SCO Unix box.

If you do this, the standard Xenix Development System will be able to
compile TeX and METAFONT.  They seems to run ok, but TeX does not pass
the TRIP test and METAFONT does not pass the TRAP test.

I have since recompiled TeX and METAFONT with GCC; everything works
fine now.

	--jtc

-- 
J.T. Conklin	UniFax Communications Inc.
		...!{uunet,ubc-cs}!van-bc!jtc, jtc@wimsey.bc.ca

kayvan@mrspoc.Transact.COM (Rpp) (05/04/90)

In article <1990May2.121616.22111@helios.physics.utoronto.ca>
dooley@physics.utoronto.ca (Kevin Dooley) writes:

> I am trying to get a full implementation of TeX running on an
> SCO XENIX 2.3 386 machine.  I fixed the few obvious problems
> of file name length limits and the few include file differences
> which the compiler choked on, but I still get this sort of error.
> Can anybody offer any assistance?

The Microsoft C compiler is broken. It frequently chokes on complex
expressions and can not handle long strings. With tangle.c, it
produces incorrect code.

Use GCC to compile TeX and it will be very painless. I got TeX up
under Xenix with the Microsoft C compiler only after kludging tangle.c
horribly (I threw away the changes after getting GCC and recompiling
TeX). GCC also produces faster and smaller code.

If you want more information, ask me by Email.

			---Kayvan
-- 
| Kayvan Sylvan @ Transact Software, Inc. -*-  Los Altos, CA (415) 961-6112 |
| Internet: kayvan@{mrspoc.Transact.com, eris.berkeley.edu, largo.ig.com}   |
| UUCP: ...!{apple,pyramid,bionet,mips}!mrspoc!kayvan "Imagine Cute Saying" |