fixes for build on my old Debian system...
...added missing #!+LINKAGE-TABLE
...converted "cd foo" to "cd ./foo" so that CDPATH-based logic
won't helpfully announce the name of the new dir to
stdout (and thus into local-target-features.lisp-expr);
then "cd ./foo > /dev/null" for overkill
generally grepped for and changed "cd foo" to "cd ./foo" to
reduce the amount of CDPATH ambiguity involved and
the amount of stdout noise generated
;; readtable configured so that the system sources can be read.
; :sb-show
- ;; Build SBCL with the old CMU CL low level debugger, "ldb". If
- ;; are aren't messing with CMU CL at a very low level (e.g.
- ;; trying to diagnose GC problems, or trying to debug assembly
- ;; code for a port to a new CPU) you shouldn't need this.
+ ;; Build SBCL with the old CMU CL low level debugger, "ldb". If are
+ ;; aren't messing with SBCL at a very low level (e.g., trying to
+ ;; diagnose GC problems, or trying to debug assembly code for a port
+ ;; to a new CPU) you shouldn't need this.
; :sb-ldb
;; This isn't really a target Lisp feature at all, but controls
# Ask some other directories to clean themselves up.
original_pwd=`pwd`
for d in tools-for-build; do
- cd $d > /dev/null
+ cd ./$d > /dev/null
# I hope the -s option is standard. At least GNU make and BSD make
# support it. It silences make, since otherwise the output from
# this script is just the operations done by these make's, which
# is misleading when this script does lotso other operations too.
# -- WHN
$GNUMAKE -I ../src/runtime -s clean
- cd $original_pwd > /dev/null
+ cd $original_pwd > /dev/null
done
# Within all directories, remove things which don't look like source
-name 'test-passed' -o \
-name 'local-target-features.lisp-expr' \) -print | xargs rm -f
-cd doc && sh ./clean.sh
+cd ./doc && sh ./clean.sh
for d in src/compiler src/assembly; do
echo //setting up symlink $d/target
original_dir=`pwd`
- cd $d
+ cd ./$d
if [ -h target ] ; then
rm target
elif [ -w target ] ; then
echo //setting up OS-dependent information
original_dir=`pwd`
-cd src/runtime/
+cd ./src/runtime/
rm -f Config target-arch-os.h target-arch.h target-os.h target-lispregs.h
# KLUDGE: these two logically belong in the previous section
# ("architecture-dependent"); it seems silly to enforce this in terms
# could come either before or after running the cross compiler; that
# doesn't matter.)
echo //building runtime system and symbol table file
-cd src/runtime
+cd ./src/runtime
$GNUMAKE clean || exit 1
$GNUMAKE depend || exit 1
$GNUMAKE all || exit 1
# Use a little C program to grab stuff from the C header files and
# smash it into Lisp source code.
-cd tools-for-build
+cd ./tools-for-build
$GNUMAKE -I../src/runtime grovel-headers || exit 1
cd ..
tools-for-build/grovel-headers > output/stuff-groveled-from-headers.lisp
# after-grovel-headers may not exist for all platforms (used for
# Darwin hacks)
-cd src/runtime
+cd ./src/runtime
$GNUMAKE after-grovel-headers || true
cd ..
bigvec)
\f
;;;; looking up bytes and multi-byte values in a BIGVEC (considering
-;;;; it as an image of machine memory)
+;;;; it as an image of machine memory on the cross-compilation target)
;;; BVREF-32 and friends. These are like SAP-REF-n, except that
;;; instead of a SAP we use a BIGVEC.
(do-cold-fixup code-object offset value kind))
code-object))
+#!+linkage-table
(define-cold-fop (fop-foreign-dataref-fixup)
(let* ((kind (pop-stack))
(code-object (pop-stack))
(format t "/*~%")
(dolist (line
'("This is a machine-generated file. Please do not edit it by hand."
+ "(As of sbcl-0.8.14, it came from WRITE-CONFIG-H in genesis.lisp.)"
""
"This file contains low-level information about the"
"internals of a particular version and configuration"
#ifndef _X86_ARCH_H
#define _X86_ARCH_H
#ifndef SBCL_GENESIS_CONFIG
-#error genesis/config.h (or sbcl.h) must be incuded before this file
+#error genesis/config.h (or sbcl.h) must be included before this file
#endif
#ifndef SBCL_GENESIS_CONFIG
-#error genesis/config.h (or sbcl.h) must be incuded before this file
+#error genesis/config.h (or sbcl.h) must be included before this file
#endif
#define ARCH_HAS_STACK_POINTER
# Automated platform feature testing
-cd tools-for-build
+cd ./tools-for-build > /dev/null
# FIXME: Use this to test for dlopen presence and hence
# load-shared-object buildability
-cd tools-for-build
+cd ./tools-for-build
TMP=sparc-funcdef.S
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.8.14.8"
+"0.8.14.9"