home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mitsch75.zip / scheme-7_5_17-src.zip / scheme-7.5.17 / src / compiler / base / make.scm < prev    next >
Text File  |  1999-01-03  |  2KB  |  42 lines

  1. #| -*-Scheme-*-
  2.  
  3. $Id: make.scm,v 4.110 1999/01/03 05:23:02 cph Exp $
  4.  
  5. Copyright (c) 1988-1999 Massachusetts Institute of Technology
  6.  
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or (at
  10. your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful, but
  13. WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. |#
  21.  
  22. ;;;; Compiler: System Construction
  23.  
  24. (declare (usual-integrations))
  25.  
  26. (lambda (architecture-name)
  27.   ((access with-directory-rewriting-rule
  28.        (->environment '(RUNTIME COMPILER-INFO)))
  29.    (working-directory-pathname)
  30.    (pathname-as-directory "compiler")
  31.    (lambda ()
  32.      (load-option 'COMPRESS)
  33.      (load-option 'HASH-TABLE)
  34.      (load-option 'RB-TREE)
  35.      (package/system-loader "compiler" '() 'QUERY)))
  36.   (let ((initialize-package!
  37.      (lambda (package-name)
  38.        ((environment-lookup (->environment package-name)
  39.                 'INITIALIZE-PACKAGE!)))))
  40.     (initialize-package! '(COMPILER MACROS))
  41.     (initialize-package! '(COMPILER DECLARATIONS)))
  42.   (add-identification! (string-append "Liar (" architecture-name ")") 4 110))