X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=base-target-features.lisp-expr;h=c6a5479d52daea11b3545f1af835b6374b2549db;hb=daba25be05dd7b4089ed382368f9ff666d16c6fb;hp=e7b6406eeda8dcec720dacdbabaeb349fa89a18e;hpb=e8607908388c96db633bb7046a4b97844642768b;p=sbcl.git diff --git a/base-target-features.lisp-expr b/base-target-features.lisp-expr index e7b6406..c6a5479 100644 --- a/base-target-features.lisp-expr +++ b/base-target-features.lisp-expr @@ -7,10 +7,13 @@ ;;;; ;;;; Note that the recommended way to customize the features of a ;;;; local build of SBCL is not to edit this file, but instead to -;;;; tweak customize-target-features.lisp. If you define a function -;;;; in customize-target-features.lisp, it will be used to transform -;;;; the target features list after it's read and before it's used. -;;;; E.g. you can use code like this: +;;;; tweak customize-target-features.lisp. (You must create this file +;;;; first; it is not in the SBCL distribution, and is in fact +;;;; explicitly excluded from the distribution in places like +;;;; .cvsignore.) If you define a function in +;;;; customize-target-features.lisp, it will be used to transform the +;;;; target features list after it's read and before it's used. E.g., +;;;; you can use code like this: ;;;; (lambda (list) ;;;; (flet ((enable (x) (pushnew x list)) ;;;; (disable (x) (setf list (remove x list)))) @@ -107,11 +110,13 @@ ;; 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 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 + ;; Build SBCL with the old CMU CL low level debugger, "ldb". In the + ;; ideal world you would not need this unless you are 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). However, + ;; experience shows that sooner or later everyone lose()'s, in which + ;; case SB-LDB can at least provide an informative backtrace. + :sb-ldb ;; This isn't really a target Lisp feature at all, but controls ;; whether the build process produces an after-xc.core file. This @@ -162,6 +167,22 @@ ;; so caveat executor. ; :sb-thread + ;; lutex support + ;; + ;; While on linux we are able to use futexes for our locking + ;; primitive, on other platforms we don't have this luxury. NJF's + ;; lutexes present a locking API similar to the futex-based API that + ;; allows for sb-thread support on x86 OS X, Solaris and + ;; FreeBSD. + ;; + ; :sb-lutex + + ;; On some operating systems the FS segment register (used for SBCL's + ;; thread local storage) is not reliably preserved in signal + ;; handlers, so we need to restore its value from the pthread thread + ;; local storage. + ; :restore-tls-segment-register-from-tls + ;; Support for detection of unportable code (when applied to the ;; COMMON-LISP package, or SBCL-internal pacakges) or bad-neighbourly ;; code (when applied to user-level packages), relating to material @@ -173,6 +194,11 @@ ;; character set. :sb-unicode + ;; Record source location information for variables, classes, conditions, + ;; packages, etc. Gives much better information on M-. in Slime, but + ;; increases core size by about 100kB. + :sb-source-locations + ;; This affects the definition of a lot of things in bignum.lisp. It ;; doesn't seem to be documented anywhere what systems it might apply ;; to. It doesn't seem to be needed for X86 systems anyway. @@ -244,6 +270,8 @@ ;; machine architecture features: ;; :x86 ;; any Intel 386 or better, or compatibles like the AMD K6 or K7 + ;; :x86-64 + ;; any x86-64 CPU running in 64-bit mode ;; :alpha ;; DEC/Compaq Alpha CPU ;; :sparc @@ -277,6 +305,9 @@ ;; :stack-allocatable-closures ;; The compiler can allocate dynamic-extent closures on stack. ;; + ;; :alien-callbacks + ;; Alien callbacks have been implemented for this platform. + ;; ;; operating system features: ;; :linux = We're intended to run under some version of Linux. ;; :bsd = We're intended to run under some version of BSD Unix. (This @@ -285,12 +316,13 @@ ;; :freebsd = We're intended to run under FreeBSD. ;; :openbsd = We're intended to run under OpenBSD. ;; :netbsd = We're intended to run under NetBSD. + ;; :darwin = We're intended to run under Darwin (including MacOS X). ;; :sunos = We're intended to run under Solaris user environment ;; with the SunOS kernel. ;; :osf1 = We're intended to run under Tru64 (aka Digital Unix ;; aka OSF/1). - ;; (No others are supported by SBCL as of 0.7.5, but :hpux or :irix + ;; (No others are supported by SBCL as of 0.9.6, but :hpux or :irix ;; support could be ported from CMU CL if anyone is sufficiently ;; motivated to do so, and it'd even be possible, though harder, to - ;; port the system to Microsoft Windows or MacOS X.) + ;; port the system to Microsoft Windows.) )