Skip to content
Newer
Older
100644 42 lines (36 sloc) 1.72 KB
d7f6139 0.6.12.7.flaky1:
William Harold Newman authored May 15, 2001
1 #!/bin/sh
babd45f 0.9.4.72:
Thiemo Seufer authored Sep 16, 2005
2 set -e
d7f6139 0.6.12.7.flaky1:
William Harold Newman authored May 15, 2001
3
4 # This is a script to be run as part of make.sh. The only time you'd
5 # want to run it by itself is if you're trying to cross-compile the
6 # system or if you're doing some kind of troubleshooting.
7
8 # This software is part of the SBCL system. See the README file for
9 # more information.
10 #
11 # This software is derived from the CMU CL system, which was
12 # written at Carnegie Mellon University and released into the
13 # public domain. The software is in the public domain and is
14 # provided with absolutely no warranty. See the COPYING and CREDITS
15 # files for more information.
16
17 echo //entering make-genesis-2.sh
18
19 # In a fresh host Lisp invocation, load the cross-compiler (in order
20 # to get various definitions that GENESIS needs, not in order to
21 # cross-compile GENESIS, then load and run GENESIS. (We use a fresh
22 # host Lisp invocation here for basically the same reasons we did
23 # before when loading and running the cross-compiler.)
24 #
25 # (Why do we need this second invocation of GENESIS? In order to
26 # create a .core file, as opposed to just a .h file, GENESIS needs
27 # symbol table data on the C runtime. And we can get that symbol
28 # data only after the C runtime has been built. Therefore, even
29 # though we ran GENESIS earlier, we couldn't get it to make a .core
04d819b @csrhodes 0.9.8.27:
csrhodes authored Jan 9, 2006
30 # file at that time; but we needed to run it earlier in order to
d7f6139 0.6.12.7.flaky1:
William Harold Newman authored May 15, 2001
31 # get to where we can write a .core file.)
32 echo //loading and running GENESIS to create cold-sbcl.core
89987c8 @csrhodes 0.9.8.4:
csrhodes authored Dec 29, 2005
33 $SBCL_XC_HOST < make-genesis-2.lisp
d7f6139 0.6.12.7.flaky1:
William Harold Newman authored May 15, 2001
34
35 echo //testing for consistency of first and second GENESIS passes
0739c36 @csrhodes 0.7.13.31:
csrhodes authored Mar 19, 2003
36 if diff -r src/runtime/genesis output/genesis-2; then
3bb2fb5 @telent 0.7.13.5
telent authored Feb 27, 2003
37 echo //header files match between first and second GENESIS -- good
d7f6139 0.6.12.7.flaky1:
William Harold Newman authored May 15, 2001
38 else
3bb2fb5 @telent 0.7.13.5
telent authored Feb 27, 2003
39 echo error: header files do not match between first and second GENESIS
d7f6139 0.6.12.7.flaky1:
William Harold Newman authored May 15, 2001
40 exit 1
41 fi
Something went wrong with that request. Please try again.