kmk@assari.tut.fi (Kai 'Kaizzu' Kein{nen) (08/31/90)
Has anyone had any luck compiling any version of TeX, preferably 3.0, with MIPS machines and RISC/os 4.50? All suggestions and patches are appreciated. Thanks, -- ------------------------------------------------------ - Kai 'Kaizzu' Kein{nen < - > kmk@tut.fi - - kaizzu@modeemi.tut.fi < - > KMK@FINTUT.BITNET - ------------------------------------------------------
lgy@phys.washington.edu (Laurence G. Yaffe) (08/31/90)
kmk@assari.tut.fi (Kai 'Kaizzu' Kein{nen) writes: >Has anyone had any luck compiling any version of TeX, preferably 3.0, >with MIPS machines and RISC/os 4.50? Yes. I've built TeX (first 2.95 and now 3.0) under RISC/os. My version of "site.h" is appended below. Building TeX, Metafont, and all the ancillary programs, starting from an up-to-date Unix TeX distribution tape, should be easy. -------------------------------------------------------------------------- Laurence G. Yaffe Internet: lgy@newton.phys.washington.edu University of Washington Bitnet: yaffe@uwaphast.bitnet -------------------------------------------------------------------------- /* Master configuration file for WEB to C. Tim Morgan 2/13/88 Last changed 02/04/90. */ /* Define if you're running under 4.2 or 4.3 BSD. */ #undef BSD /* Define if you're running under System V. */ #define SYSV /* Define if you're running under MS-DOS with Microsoft C. */ #undef MS_DOS /* Define these according to your local setup. */ #define TEXINPUTS ".:/usr/local/tex/inputs" #define TEXFONTS ".:/usr/local/tex/fonts/tfm" #define TEXFORMATS ".:/usr/local/tex/formats" #define TEXPOOL ".:/usr/local/tex" #define MFBASES ".:/usr/local/mf/bases" #define MFINPUTS ".:/usr/local/mf/inputs" #define MFPOOL ".:/usr/local/mf" /* BibTeX search path for .bib files. TEXINPUTS is used by BibTeX to search for .bst files. */ #define BIBINPUTS ".:/usr/local/tex/bib" /* Metafont window support: More than one may be defined, as long as you don't try to have both X10 and X11 support in the same binary (because there are conflicting routine names in the libraries). If you define one or more of these windowing systems, you must update the top-level Makefile accordingly. */ #undef SUNWIN /* SunWindows support. */ #undef X10WIN /* X Version 10 support. */ #define X11WIN /* X Version 11 support. */ #undef HP2627WIN /* HP 2627 support. */ #undef TEKTRONIXWIN /* Tektronix 4014 support. */ #if defined(X10WIN) && defined(X11WIN) sorry #endif /* Define to be the return type of your signal handlers. POSIX says it should be `void', but some older systems want `int'. Check your <signal.h> include file if you're not sure. */ #define SIGNAL_HANDLER_RETURN_TYPE void /* The type `glueratio' should be a floating point type which won't unnecessarily increase the size of the memoryword structure. This is the basic requirement. On most machines, if you're building a normal-sized TeX, then glueratio must probably meet the following restriction: sizeof(glueratio) <= sizeof(integer). Usually, then, glueratio must be `float'. But if you build a big TeX, you can (on most machines) and should make it `double' to avoid loss of precision and conversions to and from double during calculations. (All this also goes for Metafont.) Furthermore, if you have enough memory, it won't hurt to have this defined for running the trip/trap tests. */ typedef double glueratio; /* Define this if you want TeX to be compiled with local variables declared as `register'. On SunOS 3.2 and 3.4 (at least), compiling with cc, this will cause problems. If you're using gcc or the SunOS 4.x compiler, and compiling with -O, register declarations are ignored, so there is no point in defining this. */ #define REGFIX /* If the type `int' is at least 32 bits (including a sign bit), this symbol should be #undef'd; otherwise, it should be #define'd. If your compiler uses 16-bit int's, arrays larger than 32K may give you problems, especially if indices are automatically cast to int's. */ #undef SIXTEENBIT /* Our character set is 8-bit ASCII unless NONASCII is defined. For other character sets, make sure that first_text_char and last_text_char are defined correctly (they're 0 and 255, respectively, by default). In the *.defines files, change the indicated range of type `char' to be the same as first_text_char..last_text_char, `#define NONASCII', and retangle and recompile everything. */ #undef NONASCII /* Default editor command string: %d expands to the line number where TeX or Metafont found an error and %s expands to the name of the file. The environment variables TEXEDIT and MFEDIT override this. */ #define EDITOR "/usr/ucb/vi +%d %s" /* The type `schar' should be defined here to be the smallest signed type available. ANSI C compilers may need to use `signed char'. If you don't have signed characters, then define schar to be the type `short'. */ typedef signed char schar; /* The type `integer' must be a signed integer capable of holding at least the range of numbers (-2^31)..(2^32-1). The ANSI C draft standard says that `long' meets this requirement. */ typedef long integer; /* Define MAXPATHLENGTH to be the maximum number of characters in a search path. This is used to size the buffers for the environment variables. */ #define MAXPATHLENGTH 5000 #include "defaults.h" -- -------------------------------------------------------------------------- Laurence G. Yaffe Internet: lgy@newton.phys.washington.edu University of Washington Bitnet: yaffe@uwaphast.bitnet