source: trunk/source/level-0/l0-init.lisp @ 12911

Last change on this file since 12911 was 12911, checked in by rme, 11 years ago

Put :CCL-1.4 on *FEATURES*.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.5 KB
Line 
1;;;-*-Mode: LISP; Package: CCL -*-
2;;;
3;;;   Copyright (C) 1994-2001 Digitool, Inc
4;;;   This file is part of OpenMCL. 
5;;;
6;;;   OpenMCL is licensed under the terms of the Lisp Lesser GNU Public
7;;;   License , known as the LLGPL and distributed with OpenMCL as the
8;;;   file "LICENSE".  The LLGPL consists of a preamble and the LGPL,
9;;;   which is distributed with OpenMCL as the file "LGPL".  Where these
10;;;   conflict, the preamble takes precedence. 
11;;;
12;;;   OpenMCL is referenced in the preamble as the "LIBRARY."
13;;;
14;;;   The LLGPL is also available online at
15;;;   http://opensource.franz.com/preamble.html
16
17(in-package "CCL")
18
19(defconstant array-total-size-limit
20  #.(expt 2 (- target::nbits-in-word target::num-subtag-bits))
21  "the exclusive upper bound on the total number of elements in an array")
22
23
24;Features for #+/- conditionalization:
25(defparameter *features*
26  '(:common-lisp
27    :openmcl
28    :ccl
29    :ccl-1.2
30    :ccl-1.3
31    :ccl-1.4
32    :clozure
33    :clozure-common-lisp
34    :ansi-cl
35    #-windows-target :unix
36    :openmcl-unicode-strings
37    ;; Threads and MOP stuff is pretty redundant.
38    :openmcl-native-threads
39    :openmcl-partial-mop
40    :mcl-common-mop-subset
41    :openmcl-mop-2
42    ;; Thread-private hash-tables were introduced in version 1.0
43    :openmcl-private-hash-tables
44    ;; Hash-consing support (special primitives for allocating
45    ;; and managing statically allocated CONS cells) will be
46    ;; added in 1.1
47    ;; Was dropped in 1.2
48    ;; :openmcl-hash-consing
49    #+eabi-target :eabi-target
50    #+ppc-target :powerpc
51    #+ppc-target :ppc-target
52    #+ppc-target :ppc-clos              ; used in encapsulate
53    #+ppc32-target :ppc32-target
54    #+ppc32-target :ppc32-host
55    #+ppc64-target :ppc64-target
56    #+ppc64-target :ppc64-host
57    #+x8632-target :x8632-target
58    #+x8632-target :x8632-host
59    #+x8664-target :x86-64
60    #+x8664-target :x86_64
61    #+x8632-target :x86
62    #+x86-target :x86-target
63    #+x86-target :x86-host
64    #+x8664-target :x8664-target
65    #+x8664-target :x8664-host
66    #+linux-target :linux-host
67    #+linux-target :linux-target
68    #+linuxppc-target :linuxppc-target
69    #+linuxppc-target :linuxppc-host
70    #+linuxx86-target :linuxx86-target
71    #+linuxx8664-target :linuxx8664-target
72    #+linuxx8664-target :linuxx8664-host
73    #+linuxx8632-target :linuxx8632-target
74    #+linuxx8632-target :linuxx8632-host
75    #+darwinppc-target :darwinppc-target
76    #+darwinppc-target :darwinppc-host
77    #+darwinppc-target :darwin-target
78    #+freebsd-target :freebsd-host
79    #+freebsd-target :freebsd-target
80    #+freebsdx86-target :freebsdx86-target
81    #+freebsdx8664-target :freebsdx8664-target
82    #+freebsdx8664-target :freebsdx8664-host
83    #+freebsdx8632-target :freebsdx8632-target
84    #+freebsdx8632-target :freebsdx8632-host
85    #+darwin-target :darwin-host
86    #+darwin-target :darwin-target
87    #+darwinx86-target :darwinx86-target
88    #+darwinx8632-target :darwinx8632-target
89    #+darwinx8632-target :darwinx8632-host
90    #+darwinx8664-target :darwinx8664-target
91    #+darwinx8664-target :darwinx8664-host
92    #+windows-target :windows-host
93    #+windows-target :windows-target
94    #+win64-target :win64-target
95    #+win64-target :win64-host
96    #+win32-target :win32-target
97    #+win32-target :win32-host
98    #+solaris-target :solaris-host
99    #+solaris-target :solaris-target
100    #+solarisx86-target :solarisx86-target
101    #+solarisx8664-target :solarisx8664-target
102    #+solarisx8664-target :solarisx8664-host
103    #+solarisx8632-target :solarisx8632-target
104    #+solarisx8632-target :solarisx8632-host
105    #+(and ppc-target poweropen-target) :poweropen-target
106    #+64-bit-target :64-bit-target
107    #+64-bit-target :64-bit-host
108    #+32-bit-target :32-bit-target
109    #+32-bit-target :32-bit-host
110    #+ppc-target :big-endian-target
111    #+ppc-target :big-endian-host
112    #+x86-target :little-endian-target
113    #+x86-target :little-endian-host
114    #+darwin-target :darwin
115    #+linux-target :linux
116    #+freebsd-target :freebsd
117    #+solaris-target :solaris
118    #+windows-target :windows
119    )
120  "a list of symbols that describe features provided by the
121   implementation")
122
123(defparameter *optional-features* () "Set by build process")
124
125(defparameter *load-verbose* nil
126  "the default for the :VERBOSE argument to LOAD")
127
128;All Lisp package variables... Dunno if this still matters, but it
129;used to happen in the kernel...
130(dolist (x '(* ** *** *APPLYHOOK* *DEBUG-IO*
131             *DEFAULT-PATHNAME-DEFAULTS* *ERROR-OUTPUT* *EVALHOOK*
132             *FEATURES* *LOAD-VERBOSE* *MACROEXPAND-HOOK* *MODULES*
133             *PACKAGE* *PRINT-ARRAY* *PRINT-BASE* *PRINT-CASE* *PRINT-CIRCLE*
134             *PRINT-ESCAPE* *PRINT-GENSYM* *PRINT-LENGTH* *PRINT-LEVEL*
135             *PRINT-PRETTY* *PRINT-RADIX* *QUERY-IO* *RANDOM-STATE* *READ-BASE*
136             *READ-DEFAULT-FLOAT-FORMAT* *READ-SUPPRESS* *READTABLE*
137             *STANDARD-INPUT* *STANDARD-OUTPUT* *TERMINAL-IO* *TRACE-OUTPUT*
138             + ++ +++ - / // /// ARRAY-DIMENSION-LIMIT ARRAY-RANK-LIMIT
139             ARRAY-TOTAL-SIZE-LIMIT BOOLE-1 BOOLE-2 BOOLE-AND BOOLE-ANDC1
140             BOOLE-ANDC2 BOOLE-C1 BOOLE-C2 BOOLE-CLR BOOLE-EQV BOOLE-IOR
141             BOOLE-NAND BOOLE-NOR BOOLE-ORC1 BOOLE-ORC2 BOOLE-SET BOOLE-XOR
142             CALL-ARGUMENTS-LIMIT CHAR-CODE-LIMIT
143             DOUBLE-FLOAT-EPSILON DOUBLE-FLOAT-NEGATIVE-EPSILON
144             INTERNAL-TIME-UNITS-PER-SECOND LAMBDA-LIST-KEYWORDS
145             LAMBDA-PARAMETERS-LIMIT LEAST-NEGATIVE-DOUBLE-FLOAT
146             LEAST-NEGATIVE-LONG-FLOAT LEAST-NEGATIVE-SHORT-FLOAT
147             LEAST-NEGATIVE-SINGLE-FLOAT LEAST-POSITIVE-DOUBLE-FLOAT
148             LEAST-POSITIVE-LONG-FLOAT LEAST-POSITIVE-SHORT-FLOAT
149             LEAST-POSITIVE-SINGLE-FLOAT LONG-FLOAT-EPSILON
150             LONG-FLOAT-NEGATIVE-EPSILON MOST-NEGATIVE-DOUBLE-FLOAT
151             MOST-NEGATIVE-FIXNUM MOST-NEGATIVE-LONG-FLOAT
152             MOST-NEGATIVE-SHORT-FLOAT MOST-NEGATIVE-SINGLE-FLOAT
153             MOST-POSITIVE-DOUBLE-FLOAT MOST-POSITIVE-FIXNUM
154             MOST-POSITIVE-LONG-FLOAT MOST-POSITIVE-SHORT-FLOAT
155             MOST-POSITIVE-SINGLE-FLOAT MULTIPLE-VALUES-LIMIT PI
156             SHORT-FLOAT-EPSILON SHORT-FLOAT-NEGATIVE-EPSILON
157             SINGLE-FLOAT-EPSILON SINGLE-FLOAT-NEGATIVE-EPSILON))
158  (%symbol-bits x (%ilogior2 (%symbol-bits x) (ash 1 $sym_bit_special))))
159
160(defparameter *loading-file-source-file* nil)
161(defparameter *loading-toplevel-location* nil)
162
163(defvar *nx-speed* 1)
164(defvar *nx-space* 1)
165(defvar *nx-safety* 1)
166(defvar *nx-cspeed* 1)
167(defvar *nx-debug* 1)
168
169(defparameter *case-sensitive-filesystem* t)
170
171;;; end
Note: See TracBrowser for help on using the repository browser.