Skip to content
Snippets Groups Projects
Commit f466d230 authored by rtoy's avatar rtoy
Browse files

o Add a few comments

o Clean up list of features.  This file should now actually work for
  all x86 builds.
parent 32da9bdf
No related branches found
No related tags found
No related merge requests found
;; Basic cross-compile script for cross-compiling from x86 to x86.
;; May require tweaking for more difficult cross-compiles.
(in-package :cl-user) (in-package :cl-user)
;;; Rename the X86 package and backend so that new-backend does the ;;; Rename the X86 package and backend so that new-backend does the
...@@ -6,23 +9,28 @@ ...@@ -6,23 +9,28 @@
(setf (c:backend-name c:*native-backend*) "OLD-X86") (setf (c:backend-name c:*native-backend*) "OLD-X86")
(c::new-backend "X86" (c::new-backend "X86"
;; Features to add here ;; Features to add here. These are just examples. You may not
;; need to list anything here. We list them here anyway as a
;; record of typical features for all x86 ports.
'(:x86 :i486 :pentium '(:x86 :i486 :pentium
:stack-checking :stack-checking ; Catches stack overflow
:heap-overflow-check :heap-overflow-check ; Catches heap overflows
:relative-package-names :relative-package-names ; relative package names
:mp :mp ; multiprocessing
:gencgc :gencgc ; Generational GC
:conservative-float-type :conservative-float-type
:hash-new :random-mt19937 :hash-new
:linux :glibc2 :glibc2.1 :random-mt19937
:cmu :cmu19 :cmu19e :cmu :cmu19 :cmu19e ; Version features
:double-double :double-double ; double-double float support
) )
;; Features to remove from current *features* here ;; Features to remove from current *features* here. Normally don't
'(:x86-bootstrap :alpha :osf1 :mips ;; need to list anything here unless you are trying to remove a
;; feature.
'(:x86-bootstrap
;; :alpha :osf1 :mips
:propagate-fun-type :propagate-float-type :constrain-float-type :propagate-fun-type :propagate-float-type :constrain-float-type
:openbsd :freebsd :glibc2 :linux ;; :openbsd :freebsd :glibc2 :linux
:long-float :new-random :small)) :long-float :new-random :small))
;;; Compile the new backend. ;;; Compile the new backend.
......
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