Xref: utzoo comp.text:5998 comp.sys.mips:404 Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!zephyr.ens.tek.com!uw-beaver!milton!blake!lgy From: lgy@blake.acs.washington.edu (Laurence Yaffe) Newsgroups: comp.text,comp.sys.mips Subject: Re: METAFONT Trap test fails on MIPS. Help! Keywords: METAFONT, MIPS Message-ID: <5273@blake.acs.washington.edu> Date: 9 Jan 90 18:42:06 GMT References: <1990Jan9.125234.3893@keysec.kse.com> Reply-To: lgy@newton.phys.washington.edu (Laurence Yaffe) Distribution: na Organization: University of Washington, Seattle Lines: 27 In article <1990Jan9.125234.3893@keysec.kse.com> gm@keysec.kse.com (Greg McGary) writes: >MF 1.7 from the UNIX-TeX distribution fails the trap test on a MIPS b. >I'll give a brief report here, and if some kind soul would like more of the >gory details, I'll give a complete report via mail. >-- Greg McGary >-- Key Systems Engineering >-- Work: (703) 742-7870 Home: (703) 352-0407 >-- gm@kse.com, gm@cs.duke.edu, ..!uunet!keysec!gm I've built both TeX and Metafont using MIPS' 2.0 compilers and had them successfully pass the TRIP and TRAP tests. In 'site.h', I use: #define SYSV #undef BSD #undef ANSI typedef signed char schar; The 'signed char' in the last typedef is cruical. I've tried using both #define SYSV (and /bin/cc) and #define BSD (and /bsd43/bin/cc) - both worked when optimization no greater than -O1 was used. Using -O2 breaks something in both TeX and Metafont. I've sent MIPS a bug report about this many months ago, but never heard whether the problem has been found. Hope this helps. -- Laurence G. Yaffe Internet: lgy@newton.phys.washington.edu University of Washington Bitnet: yaffe@uwaphast.bitnet