[comp.lang.scheme] ELK on Apollos

walter@vlsivie.tuwien.ac.at (03/06/91)

  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 ?
  
      Thanks in advance,

                          walt

     Walter Eder                               
     Dept. of VLSI-Design, University Vienna, Austria        
     Email:  walter@vlsivie.tuwien.ac.at                     
     

hanche@imf.unit.no (Harald Hanche-Olsen) (03/07/91)

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 <time.h>
+ #  define FCHMOD_BROKEN
+ #  define INIT_OBJECTS
+ #endif
+ 
  #ifdef ibm032
  #  define VFORK
  #  define POINTER_CONSTANT_HIGH_BITS 0x10000000


- Harald Hanche-Olsen <hanche@imf.unit.no>
  Division of Mathematical Sciences
  The Norwegian Institute of Technology
  N-7034 Trondheim, NORWAY