Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!deccrl!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!hanche From: hanche@imf.unit.no (Harald Hanche-Olsen) Newsgroups: comp.lang.scheme Subject: Re: ELK on Apollos Message-ID: Date: 6 Mar 91 21:50:53 GMT References: <2366@tuvie.UUCP> Sender: news@ugle.unit.no Organization: The Norwegian Institute of Technology, Trondheim, Norway. Lines: 62 In-Reply-To: walter@vlsivie.tuwien.ac.at's message of 6 Mar 91 14:03:09 GMT In article <2366@tuvie.UUCP> walter@vlsivie.tuwien.ac.at writes: Has anybody made a successful port of the ELK (Extended Language Kit) Scheme interpreter to an Apollo DN3500 (SR 10.2) What are the specialities for that installation ? For whatever it is worth, here are the essential patches I applied to get elk 1.2 running on an Apollo DN10000. It should run with the same setup on any of the Apollo m68k's including the 3500, though I haven't tried. Of course, with MACHTYPE=port you don't have general continuations (call/cc only works ala catch/throw), but otherwise at least the interpreter works all right. I haven't tried the X interface yet, though... *** ./Makefile.ORIG Tue Sep 11 14:08:59 1990 --- ./Makefile Thu Nov 29 14:38:08 1990 *************** *** 37,43 **** # Permitted values for MACHTYPE currently are 68k, vax, 386, sparc, # symmetry, rt, sony68k, mips, hp9000s300, and port. ! MACHTYPE= 68k # If symbolic links are not supported by your system, define LINK=ln --- 37,43 ---- # Permitted values for MACHTYPE currently are 68k, vax, 386, sparc, # symmetry, rt, sony68k, mips, hp9000s300, and port. ! MACHTYPE= port # If symbolic links are not supported by your system, define LINK=ln *** ./src/config.h.ORIG Mon Sep 10 15:45:12 1990 --- ./src/config.h Thu Nov 29 16:13:41 1990 *************** *** 3,8 **** --- 3,20 ---- /* Machine/compiler dependencies */ + #ifdef apollo + # define PORTABLE + # ifdef _ISP__A88K + # define ALIGN8 /* ?? */ + # endif + # define VFORK + # define VPRINTF + # define TIME_H + # define FCHMOD_BROKEN + # define INIT_OBJECTS + #endif + #ifdef ibm032 # define VFORK # define POINTER_CONSTANT_HIGH_BITS 0x10000000 - Harald Hanche-Olsen Division of Mathematical Sciences The Norwegian Institute of Technology N-7034 Trondheim, NORWAY