home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / scheme / c / 78 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  3.3 KB

  1. Path: sparky!uunet!olivea!hal.com!decwrl!deccrl!news.crl.dec.com!birkholz
  2. From: birkholz@crl.dec.com (Matt Birkholz)
  3. Newsgroups: comp.lang.scheme.c
  4. Subject: Re: help generating runtime.com band for scheme-7.2 on 386 Unix
  5. Message-ID: <BIRKHOLZ.92Sep3161934@mingus.crl.dec.com>
  6. Date: 3 Sep 92 21:19:34 GMT
  7. References: <761@jahangir.UUCP> <1992Aug25.180821.15155@athena.mit.edu>
  8. Sender: news@crl.dec.com (USENET News System)
  9. Organization: DEC Cambridge Research Lab
  10. Lines: 59
  11. In-Reply-To: bri@pegasus.mit.edu's message of Tue, 25 Aug 1992 18:08:21 GMT
  12.  
  13.  
  14.    Date: Tue, 25 Aug 1992 18:08:21 GMT
  15.    From: bri@pegasus.mit.edu (Brian D. Carlstrom)
  16.    Newsgroups: comp.lang.scheme.c
  17.  
  18.    In article <761@jahangir.UUCP> pgw@jahangir.UUCP (phil wilson) writes:
  19.    >I've downloaded src.tar.Z from altdorf:/archive/scheme-7.2, and
  20.    >compiled the microcode into a scheme with only minor twiddling.  The
  21.    >scheme, however, won't run without a runtime.com band.  Now I need, I
  22.    >presume, to transform the .scm files in the runtime directory into a
  23.    >runtime.com band, or some other form that the scheme microcode can
  24.    >load..  But I've been unable to figure out how to do this.  Any
  25.    >pointers would be greatly appreciated.  I'm running System V.3 on a
  26.    >386, if it matters.
  27.  
  28.    i'm at the same point with 386bsd. any help would be appreciated.
  29.  
  30.    -bri
  31.  
  32. src.tar.Z is not sufficient to bootstrap MIT-Scheme.  MIT-Scheme's reader
  33. and syntaxer are written in MIT-Scheme.  That's why altdorf:~ftp/archive/
  34. scheme-7.2/DOS-386/ALPHA.TXT says you need to get 387RUN.ZIP or
  35. NO387RUN.ZIP:
  36.  
  37.         Under $SCHEME/lib:
  38.       387RUN.ZIP    ->      RUNTIME.COM     (runtime band)
  39.       NO387RUN.ZIP  ->      RUNTIME.COM     (runtime band)
  40.  
  41.     RUNTIME.COM is a binary dump (a "band", or a saved world
  42.     image) of the runtime system.  This is the runtime
  43.     environment, written in Scheme (and compiled to native 386
  44.     code), providing the read-eval-print loop and a rich set of
  45.     runtime utilities.  The version in 387RUN.ZIP contains
  46.     floating point instructions, so you need to have a 387, 487,
  47.     or a 486 (not an SX!)  to use it.  Use the one in
  48.     NO387RUN.ZIP if you don't have a floating point coprocessor.
  49.     You need at least one of the two runtime system bands to use
  50.     Scheme.
  51.  
  52. There are pre-syntaxed (.bin) files for the reader and syntaxer (and the
  53. rest of the runtime system) that were converted to portable standard binary
  54. (.psb) format and made available in altdorf:~ftp/archive/scheme-7.1/
  55. psb.tar.Z.  They probably won't work in 7.2 and you probably don't want to
  56. try.  Getting from source to a compiled compiler (i.e. a compiler compiled
  57. by an interpreted compiler) requires _days_ worth of _cpu_ time.  You
  58. probably want to just download altdorf:~ftp/archive/scheme-7.2/DOS-386/
  59. no387run.zip.  Please read altdorf:~ftp/archive/scheme-7.2/DOS-386/ALPHA.TXT
  60. while you're at it.
  61.  
  62. Note: the microcode provides the primitives that encapsulate operating
  63. system services.  The binary dump's (band's, .com's) are dumps of a Scheme
  64. heap without those primitives.  Thus, you can use a band on different
  65. operating systems as long as you load it with a microcode implementing all
  66. the necessary primitives on the local operating system.  (Of course, the
  67. machine architecture has to be the same, else byte-ordering or machine code
  68. instructions will be all wrong.)
  69. --
  70. Matt Birkholz                        Cambridge Research Lab
  71. birkholz@crl.dec.com        <DARWIN><        Digital Equipment Corp.
  72.