From: Chris Hanson Date: Sat, 14 Apr 2007 03:55:06 +0000 (+0000) Subject: Restructure bundling so that each subsystem has its own bundle. Add X-Git-Tag: 20090517-FFI~663 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=be40175f10c989e72ce876984a4a0b8728716998;p=mit-scheme.git Restructure bundling so that each subsystem has its own bundle. Add necessary shared-library declarations in a few places. --- diff --git a/v7/src/Setup.sh b/v7/src/Setup.sh index ae6e61ded..7db975383 100755 --- a/v7/src/Setup.sh +++ b/v7/src/Setup.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: Setup.sh,v 1.18 2007/04/05 17:49:54 cph Exp $ +# $Id: Setup.sh,v 1.19 2007/04/14 03:54:37 cph Exp $ # # Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, # 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, @@ -50,7 +50,7 @@ maybe_link lib/edwin/autoload ../../edwin # lib/shared maybe_mkdir lib/shared -for BUNDLE in sf+compiler edwin 6001 cref imail sos ssp xdoc xml; do +for BUNDLE in 6001 compiler cref edwin imail sf sos ssp star-parser xdoc xml; do maybe_link "lib/shared/${BUNDLE}.so" "../../microcode/${BUNDLE}.so" done diff --git a/v7/src/compiler/machines/C/make.scm b/v7/src/compiler/machines/C/make.scm index 6b7f08d00..0611bc7e5 100644 --- a/v7/src/compiler/machines/C/make.scm +++ b/v7/src/compiler/machines/C/make.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: make.scm,v 1.9 2007/01/05 21:19:20 cph Exp $ +$Id: make.scm,v 1.10 2007/04/14 03:54:42 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -29,18 +29,18 @@ USA. (declare (usual-integrations)) -(load-option 'synchronous-subprocess) - -(begin - (declare-shared-library "sf+compiler" (lambda () true)) - (let ((value ((load "base/make") - (string-append "C/" microcode-id/machine-type)))) - (set! (access compiler:compress-top-level? (->environment '(compiler))) - true) - (set! (access compiler:compile-data-files-as-expressions? - (->environment '(compiler top-level))) - false) - (set! (access compiler:fggen-unmap-reference-traps-early? - (->environment '(compiler fg-generator))) - false) - value)) \ No newline at end of file +(load-option 'SYNCHRONOUS-SUBPROCESS) + +(declare-shared-library "compiler" (lambda () #t)) +(let ((value ((load "base/make") + (string-append "C/" microcode-id/machine-type)))) + (set! (access compiler:compress-top-level? + (->environment '(compiler))) + #t) + (set! (access compiler:compile-data-files-as-expressions? + (->environment '(compiler top-level))) + false) + (set! (access compiler:fggen-unmap-reference-traps-early? + (->environment '(compiler fg-generator))) + false) + value) \ No newline at end of file diff --git a/v7/src/cref/make.scm b/v7/src/cref/make.scm index fac050231..66a6bab3a 100644 --- a/v7/src/cref/make.scm +++ b/v7/src/cref/make.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: make.scm,v 1.30 2007/01/05 21:19:23 cph Exp $ +$Id: make.scm,v 1.31 2007/04/14 03:54:46 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -30,6 +30,7 @@ USA. (declare (usual-integrations)) (load-option 'RB-TREE) +(declare-shared-library "cref" (lambda () #t)) (with-working-directory-pathname (directory-pathname (current-load-pathname)) (lambda () ((access with-directory-rewriting-rule diff --git a/v7/src/etc/c-initial-bands.sh b/v7/src/etc/c-initial-bands.sh index dddb747ea..0571d2f48 100755 --- a/v7/src/etc/c-initial-bands.sh +++ b/v7/src/etc/c-initial-bands.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: c-initial-bands.sh,v 1.2 2007/04/09 16:44:06 cph Exp $ +# $Id: c-initial-bands.sh,v 1.3 2007/04/14 03:54:50 cph Exp $ # # Copyright 2007 Massachusetts Institute of Technology # @@ -25,15 +25,15 @@ set -e ( cd runtime - ../microcode/scheme --library ../lib --fasl runtime_make <environment '(RUNTIME COMPILER-INFO))) + (working-directory-pathname) + (pathname-as-directory "star-parser") + (lambda () + (load-package-set "parser"))))) +(declare-shared-library "star-parser" (lambda () (global-parser-macros))) (add-subsystem-identification! "*Parser" '(0 13)) \ No newline at end of file