From 87799a7eca53577808576ff99a0b57fba3ba5aba Mon Sep 17 00:00:00 2001
From: gerd <gerd>
Date: Wed, 26 Mar 2003 21:10:44 +0000
Subject: [PATCH] boot3.lisp

---
 bootfiles/18e/boot3.lisp | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 bootfiles/18e/boot3.lisp

diff --git a/bootfiles/18e/boot3.lisp b/bootfiles/18e/boot3.lisp
new file mode 100644
index 000000000..5ea33af84
--- /dev/null
+++ b/bootfiles/18e/boot3.lisp
@@ -0,0 +1,32 @@
+;;;;
+;;;; Boot file for control stack checking, except that there is no
+;;;; boot file necessary, only a normal cross-compilation.
+;;;;
+;;;; Stack checking is implemented and known to work on FreeBSD 4/x86
+;;;; and Debian 2.2.20/86 only, and it is optional, that is, one
+;;;; should be able to build with or without it.
+;;;;
+;;;; Using Pierre Mai's build scripts, assuming your source directory
+;;;; is called src-head, and your fasl directories are called
+;;;; fasl-head and cross-fasl-head:
+;;;;
+;;;; -- Add :STACK-CHECKING to fasl-head/setenv.lisp.
+;;;;
+;;;; -- Add :STACK-CHECKING to your cross-compilation script,
+;;;; where it has 
+;;;;
+;;;; (c::new-backend "X86"
+;;;;   '(... :stack-checking ...)
+;;;;   '(...))
+;;;;
+;;;; -- Cross-compile to fasl-head via cross-fasl-head.  This will fail
+;;;; and tell you that the C header file has changed.  Build a new
+;;;; runtime, and start over.
+;;;;	
+;;;; NB: If your source directory is not called "src", make sure that
+;;;; fasl-head/lisp/Config refers to the directory you are actually
+;;;; using, src-head in this example.
+;;;;	
+;;;; -- Do a full normal compile with the result of the
+;;;; cross-compilation.
+;;;;
-- 
GitLab