X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=make.sh;h=e054c72c2ea73cc7b57a590931a1fd30147f3d31;hb=19180214a7fd95ab467020469b7182f5ac62bcde;hp=30a91a8318282a6ab3ad545f82567cbbbb3482b2;hpb=c22ea074a048ada3caed985e12fc71e453d0c3a7;p=sbcl.git diff --git a/make.sh b/make.sh index 30a91a8..e054c72 100755 --- a/make.sh +++ b/make.sh @@ -71,6 +71,9 @@ do --xc-host=) $optarg_ok && SBCL_XC_HOST=$optarg ;; + --dynamic-space-size=) + $optarg_ok && SBCL_DYNAMIC_SPACE_SIZE=$optarg + ;; -*) bad_option "Unknown command-line option to $0: \"$option\"" ;; @@ -118,6 +121,16 @@ Options: Default prefix is: /usr/local + --dynamic-space-size= Default dynamic-space size for target. + + This specifies the default dynamic-space size for the SBCL + being built. If you need to control the dynamic-space size + of the host SBCL, use the --xc-host option. + + If not provided, the default is platform-specific. is + taken to be megabytes unless explicitly suffixed with Gb in + order to specify the size in gigabytes. + --xc-host= Specify the Common Lisp compilation host. The string provided should be a command to invoke the @@ -155,9 +168,10 @@ echo "//Starting build: $build_started" # Apparently option parsing succeeded. Print out the results. echo "//Options: --prefix='$SBCL_PREFIX' --xc-host='$SBCL_XC_HOST'" -# Save prefix for make and install.sh. mkdir -p output +# Save prefix for make and install.sh. echo "SBCL_PREFIX='$SBCL_PREFIX'" > output/prefix.def +echo "$SBCL_DYNAMIC_SPACE_SIZE" > output/dynamic-space-size.txt # FIXME: Tweak this script, and the rest of the system, to support # a second bootstrapping pass in which the cross-compilation host is @@ -178,6 +192,9 @@ export DEVNULL . ./find-gnumake.sh find_gnumake +. ./generate-version.sh +generate_version + # If you're cross-compiling, you should probably just walk through the # make-config.sh script by hand doing the right thing on both the host # and target machines.