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

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

put :ccl-1.3 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    :clozure
32    :clozure-common-lisp
33    :ansi-cl
34    #-windows-target :unix
35    :openmcl-unicode-strings
36    ;; Threads and MOP stuff is pretty redundant.
37    :openmcl-native-threads
38    :openmcl-partial-mop
39    :mcl-common-mop-subset
40    :openmcl-mop-2
41    ;; Thread-private hash-tables were introduced in version 1.0
42    :openmcl-private-hash-tables
43    ;; Hash-consing support (special primitives for allocating
44    ;; and managing statically allocated CONS cells) will be
45    ;; added in 1.1
46    ;; Was dropped in 1.2
47    ;; :openmcl-hash-consing
48    #+eabi-target :eabi-target
49    #+ppc-target :powerpc
50    #+ppc-target :ppc-target
51    #+ppc-target :ppc-clos              ; used in encapsulate
52    #+ppc32-target :ppc32-target
53    #+ppc32-target :ppc32-host
54    #+ppc64-target :ppc64-target
55    #+ppc64-target :ppc64-host
56    #+x8632-target :x8632-target
57    #+x8632-target :x8632-host
58    #+x8664-target :x86-64
59    #+x8664-target :x86_64
60    #+x8632-target :x86
61    #+x86-target :x86-target
62    #+x86-target :x86-host
63    #+x8664-target :x8664-target
64    #+x8664-target :x8664-host
65    #+linux-target :linux-host
66    #+linux-target :linux-target
67    #+linuxppc-target :linuxppc-target
68    #+linuxppc-target :linuxppc-host
69    #+linuxx86-target :linuxx86-target
70    #+linuxx8664-target :linuxx8664-target
71    #+linuxx8664-target :linuxx8664-host
72    #+linuxx8632-target :linuxx8632-target
73    #+linuxx8632-target :linuxx8632-host
74    #+darwinppc-target :darwinppc-target
75    #+darwinppc-target :darwinppc-host
76    #+darwinppc-target :darwin-target
77    #+freebsd-target :freebsd-host
78    #+freebsd-target :freebsd-target
79    #+freebsdx86-target :freebsdx86-target
80    #+freebsdx8664-target :freebsdx8664-target
81    #+freebsdx8664-target :freebsdx8664-host
82    #+freebsdx8632-target :freebsdx8632-target
83    #+freebsdx8632-target :freebsdx8632-host
84    #+darwin-target :darwin-host
85    #+darwin-target :darwin-target
86    #+darwinx86-target :darwinx86-target
87    #+darwinx8632-target :darwinx8632-target
88    #+darwinx8632-target :darwinx8632-host
89    #+darwinx8664-target :darwinx8664-target
90    #+darwinx8664-target :darwinx8664-host
91    #+windows-target :windows-host
92    #+windows-target :windows-target
93    #+win64-target :win64-target
94    #+win64-target :win64-host
95    #+win32-target :win32-target
96    #+win32-target :win32-host
97    #+solaris-target :solaris-host
98    #+solaris-target :solaris-target
99    #+solarisx86-target :solarisx86-target
100    #+solarisx8664-target :solarisx8664-target
101    #+solarisx8664-target :solarisx8664-host
102    #+solarisx8632-target :solarisx8632-target
103    #+solarisx8632-target :solarisx8632-host
104    #+(and ppc-target poweropen-target) :poweropen-target
105    #+64-bit-target :64-bit-target
106    #+64-bit-target :64-bit-host
107    #+32-bit-target :32-bit-target
108    #+32-bit-target :32-bit-host
109    #+ppc-target :big-endian-target
110    #+ppc-target :big-endian-host
111    #+x86-target :little-endian-target
112    #+x86-target :little-endian-host
113    #+darwin-target :darwin
114    #+linux-target :linux
115    #+freebsd-target :freebsd
116    #+solaris-target :solaris
117    #+windows-target :windows
118    ;; :mcl                                ;deprecated
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.