home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / tile-forth-2.1-base.tgz / tile-forth-2.1-base.tar / fsf / tile-forth / INSTALL < prev    next >
Lisp/Scheme  |  1991-09-14  |  3KB  |  93 lines

  1. THREADED INTERPRETIVE LANGUAGE ENVIRONMENT (TILE) INSTALLATION GUIDE
  2.  
  3. RELEASE 2.1
  4.  
  5. August 20, 1990
  6.  
  7. Mikael R.K. Patel
  8. Computer Aided Design Laboratory (CADLAB)
  9. Department of Computer and Information Science
  10. Linkoping University
  11. S-581 83 LINKOPING
  12. SWEDEN
  13. Email: mip@ida.liu.se
  14.  
  15.  
  16. 1.    INTRODUCTION
  17.  
  18. To install the TILE forth environment create a directory with the 
  19. name "tile" and move all the "tile.kit" files to the new directory.
  20. The kit files should be packed up with the command "sh". A number
  21. of additional directories will be built. To compile the TILE forth
  22. application issue the command "make". The sequence of commands is:
  23.  
  24. % mkdir tile
  25. % mv tile.kit.* tile
  26. % cd tile
  27. % sh tile.kit.01
  28. % ...
  29. % { sh tile.man.01 }
  30. % ...
  31. % make
  32.  
  33. The "make" command will compile the forth environment. You can use
  34. the option "opt" to generate an optimized version. The standard make
  35. file in the source directory assumes that you are using GNU CC. Change
  36. or comment out the compiler definition line if you are using some
  37. other C compiler.
  38.  
  39.  
  40. 2.    SEARCH PATHS
  41.  
  42. The compiled forth application will be placed in the "tile/bin"
  43. directory. To gain access to it and the manual pages you should
  44. add the following section to your ".login" file. 
  45.  
  46. setenv TILE $HOME/tile
  47. set path = ($path $TILE/bin)
  48. #
  49. setenv TILEPATH .:$TILE/lib:$TILE/tst
  50. setenv MANPATH $TILE/man:/usr/share/man
  51.  
  52.  
  53. 3.     GNU EMACS FORTH-MODE
  54.  
  55. The programming environment is a forth-mode for GNU emacs. To make
  56. it available to emacs you must add the following definitions to your
  57. ".emacs" file (or load the library "src/forth.el" manually in emacs 
  58. each time).
  59.  
  60. ;; *** Search path for directories to find files to load ***
  61. (set-variable 'load-path (append load-path '(nil "~/tile/scr")))
  62.  
  63. ;; *** TILE forth mode ***
  64. (setq forth-help-load-path '("~/tile/doc"))
  65. (autoload 'forth-mode "forth")
  66. (setq auto-mode-alist
  67.       (append '(("\\.tst$" . forth-mode) 
  68.         ("\\.f83$" . forth-mode))
  69.           auto-mode-alist))
  70.  
  71.  
  72. Depending on which directory you have used ($HOME or some system 
  73. directory) the directory specification will have to be changed. If
  74. correctly installed emacs will automatically load the forth-mode 
  75. on files with the extensions "f83" and "tst" and start the forth
  76. application in a sub-window. For more information about the
  77. forth-mode just give the command "M-X describe-mode" in emacs.
  78.  
  79.  
  80. 4.    GNU EMACS HELP FILES
  81.  
  82. If you have available the manual pages you should issue the following
  83. make command at the top directory (tile):
  84.  
  85. % make help
  86.  
  87. This command will process all the manual pages so that they may be
  88. used by the function help command (C-h) in the forth-mode in GNU
  89. Emacs.
  90.  
  91.  
  92.  
  93.