home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / CLISP / CLISPSRC.TAR / clisp-1995-01-01 / dos / INSTALL < prev    next >
Encoding:
Text File  |  1994-12-05  |  3.4 KB  |  117 lines

  1. Installation on DOS:
  2. --------------------
  3.  
  4. 1. Get and install EMX.
  5.    EMX is Eberhard Mattes' Unix emulation for DOS and OS/2. You can get it
  6.    by anonymous ftp from ftp.uni-stuttgart.de or ftp-os2.cdrom.com.
  7.    You will need EMX 0.8d or newer, preferrably EMX 0.8f or newer.
  8.  
  9. 2. Make sure that \EMX\BIN is in your path, before any directory that
  10.    contains programs named CPP.EXE or AS.EXE. Set the environment variables
  11.    C_INCLUDE_PATH and LIBRARY_PATH. For example:
  12.  
  13.          PATH=C:\EMX\BIN;%PATH%
  14.          SET C_INCLUDE_PATH=c:/emx/include
  15.          SET LIBRARY_PATH=c:/emx/lib
  16.  
  17.    This must be done before executing ANY executable produced by EMX
  18.    except LISP.EXE which will be created in a special way.
  19.  
  20.    Also install a `working' MAKE.EXE, e.g. dmake or GNU make. If you have
  21.    problems with "make", try "make -n > h.bat" and then executing "h".
  22.  
  23. 3. Choose a directory for Clisp, say \CLISP.
  24.  
  25.          CD \CLISP
  26.  
  27.    Unpack the sources in this directory:
  28.  
  29.          PKUNZIP -d CLISP.ZIP
  30.    or
  31.          TAR xvf CLISP.TAR
  32.  
  33. 4. Convert the sources to the IBM PC character set.
  34.    They are distributed in ISO Latin-1 character set.
  35.  
  36.          cd dos
  37.          gcc -O cv_lt_pc.c -o cv_lt_pc.exe
  38.          cv_lt_pc < convert.bax > convert.bat
  39.          convert.bat
  40.          cd ..
  41.  
  42.    Copy some DOS specific files into SRC:
  43.  
  44.          DOS\COPYX.BAT
  45.  
  46.    You may then delete unnecessary files:
  47.  
  48.          DOS\DELX.BAT
  49.  
  50. 5. Go to directory
  51.  
  52.          cd src
  53.  
  54. 6. Build the readline library:
  55.  
  56.          cd readline
  57.          make
  58.          cd ..
  59.  
  60. 7. Type
  61.  
  62.          make config.lsp
  63.  
  64.    and edit the contents of config.lsp appropriately for your site,
  65.    especially the definitions of short-site-name and long-site-name.
  66.  
  67. 8. Type
  68.  
  69.          make
  70.  
  71.    to build CLISP.
  72.    You may alternatively do this in six steps:
  73.          make init                prepares all symbolic links and utilities
  74.          make allc                makes all *.c files
  75.          make lisp.exe            makes the executable
  76.          make interpreted.mem     a memory image with everything uncompiled
  77.          make compiled.mem        makes all *.fas files and
  78.                                   a memory image with everything compiled
  79.          make manual              makes the documentation
  80.    The fifth step is the most time consuming: it takes about an hour on a
  81.    486/33 and may take several hours on a slower machine.
  82.  
  83. 9. Make a directory for a lasting installation of CLISP, say D:\LIB\LISP.
  84.    Copy lisp.exe and compiled.mem there:
  85.  
  86.          copy lisp.exe D:\LIB\LISP\lisp.exe
  87.          copy compiled.mem D:\LIB\LISP\lispinit.mem
  88.  
  89.    Make a batch file for CLISP in a directory belonging to your PATH:
  90.  
  91.          copy con D:\BAT\CLISP.BAT
  92.          D:\LIB\LISP\lisp.exe -M D:\LIB\LISP\lispinit.mem %1 %2 %3 %4 %5 %6 %7 %8 %9
  93.          [Ctrl-Z]
  94.  
  95.    Don't forget the documentation:
  96.  
  97.          copy ..\DOS\CLISP.* D:\LIB\LISP
  98.          copy ..\DOS\IMPNOTES.TXT D:\LIB\LISP
  99.  
  100.    You can now remove directory \CLISP and all its contents.
  101.  
  102. 10.If you find CLISP fast and bug-free and you like using it, a gift of $25
  103.    (or any amount you like) will be appreciated. If not, feel free to send
  104.    us suggestions for improvement.
  105.  
  106.  
  107. Authors:
  108. --------
  109.  
  110.         Bruno Haible                    Michael Stoll
  111.         Augartenstraâ–€e 40               Gallierweg 39
  112.     D - 76137 Karlsruhe             D - 53117 Bonn
  113.         Germany                         Germany
  114.  
  115. Email: haible@ma2s2.mathematik.uni-karlsruhe.de
  116.  
  117.