Skip to content
Snippets Groups Projects
Commit 87799a7e authored by gerd's avatar gerd
Browse files

boot3.lisp

parent 1e88e890
No related branches found
No related tags found
No related merge requests found
;;;;
;;;; 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.
;;;;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment