Diff of /make-genesis-2.sh [85483d] .. [babd45] Maximize Restore

  Switch to unified view

a/make-genesis-2.sh b/make-genesis-2.sh
1
#!/bin/sh
1
#!/bin/sh
2
set -e
2
3
3
# This is a script to be run as part of make.sh. The only time you'd
4
# This is a script to be run as part of make.sh. The only time you'd
4
# want to run it by itself is if you're trying to cross-compile the
5
# want to run it by itself is if you're trying to cross-compile the
5
# system or if you're doing some kind of troubleshooting.
6
# system or if you're doing some kind of troubleshooting.
6
7
...
...
27
# data only after the C runtime has been built. Therefore, even
28
# data only after the C runtime has been built. Therefore, even
28
# though we ran GENESIS earlier, we couldn't get it to make a .core
29
# though we ran GENESIS earlier, we couldn't get it to make a .core
29
# file at that time; but we needed to run it earlier in order to 
30
# file at that time; but we needed to run it earlier in order to 
30
# get to where we can write a .core file.)
31
# get to where we can write a .core file.)
31
echo //loading and running GENESIS to create cold-sbcl.core
32
echo //loading and running GENESIS to create cold-sbcl.core
32
$SBCL_XC_HOST <<-'EOF' || exit 1
33
$SBCL_XC_HOST <<-'EOF'
33
    (setf *print-level* 5 *print-length* 5)
34
    (setf *print-level* 5 *print-length* 5)
34
    (load "src/cold/shared.lisp")
35
    (load "src/cold/shared.lisp")
35
    (in-package "SB-COLD")
36
    (in-package "SB-COLD")
36
    (setf *host-obj-prefix* "obj/from-host/"
37
    (setf *host-obj-prefix* "obj/from-host/"
37
          *target-obj-prefix* "obj/from-xc/")
38
          *target-obj-prefix* "obj/from-xc/")