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

Last change on this file since 11291 was 11291, checked in by gb, 13 years ago

:solarisx8662, with two #\ss.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.3 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    :clozure
31    :clozure-common-lisp
32    :ansi-cl
33    #-windows-target :unix
34    :openmcl-unicode-strings
35    ;; Threads and MOP stuff is pretty redundant.
36    :openmcl-native-threads
37    :openmcl-partial-mop
38    :mcl-common-mop-subset
39    :openmcl-mop-2
40    ;; Thread-private hash-tables were introduced in version 1.0
41    :openmcl-private-hash-tables
42    ;; Hash-consing support (special primitives for allocating
43    ;; and managing statically allocated CONS cells) will be
44    ;; added in 1.1
45    ;; Was dropped in 1.2
46    ;; :openmcl-hash-consing
47    #+eabi-target :eabi-target
48    #+ppc-target :powerpc
49    #+ppc-target :ppc-target
50    #+ppc-target :ppc-clos              ; used in encapsulate
51    #+ppc32-target :ppc32-target
52    #+ppc32-target :ppc32-host
53    #+ppc64-target :ppc64-target
54    #+ppc64-target :ppc64-host
55    #+x8632-target :x8632-target
56    #+x8632-target :x8632-host
57    #+x8664-target :x86-64
58    #+x8664-target :x86_64
59    #+x8632-target :x86
60    #+x86-target :x86-target
61    #+x86-target :x86-host
62    #+x8664-target :x8664-target
63    #+x8664-target :x8664-host
64    #+linux-target :linux-host
65    #+linux-target :linux-target
66    #+linuxppc-target :linuxppc-target
67    #+linuxppc-target :linuxppc-host
68    #+linuxx86-target :linuxx86-target
69    #+linuxx8664-target :linuxx8664-target
70    #+linuxx8664-target :linuxx8664-host
71    #+linuxx8632-target :linuxx8632-target
72    #+linuxx8632-target :linuxx8632-host
73    #+darwinppc-target :darwinppc-target
74    #+darwinppc-target :darwinppc-host
75    #+darwinppc-target :darwin-target
76    #+freebsd-target :freebsd-host
77    #+freebsd-target :freebsd-target
78    #+freebsdx86-target :freebsdx86-target
79    #+freebsdx8664-target :freebsdx8664-target
80    #+freebsdx8664-target :freebsdx8664-host
81    #+darwin-target :darwin-host
82    #+darwin-target :darwin-target
83    #+darwinx86-target :darwinx86-target
84    #+darwinx8632-target :darwinx8632-target
85    #+darwinx8632-target :darwinx8632-host
86    #+darwinx8664-target :darwinx8664-target
87    #+darwinx8664-target :darwinx8664-host
88    #+windows-target :windows-host
89    #+windows-target :windows-target
90    #+win64-target :win64-target
91    #+win64-target :win64-host
92    #+win32-target :win32-target
93    #+win32-target :win32-host
94    #+solaris-target :solaris-host
95    #+solaris-target :solaris-target
96    #+solarisx86-target :solarisx86-target
97    #+solarisx8664-target :solarisx8664-target
98    #+solarisx8664-target :solarisx8664-host
99    #+solarisx8632-target :solarisx8632-target
100    #+solarisx8632-target :solarisx8632-host
101    #+poweropen-target :poweropen-target
102    #+64-bit-target :64-bit-target
103    #+64-bit-target :64-bit-host
104    #+32-bit-target :32-bit-target
105    #+32-bit-target :32-bit-host
106    #+ppc-target :big-endian-target
107    #+ppc-target :big-endian-host
108    #+x86-target :little-endian-target
109    #+x86-target :little-endian-host
110    #+darwin-target :darwin
111    #+linux-target :linux
112    #+freebsd-target :freebsd
113    #+solaris-target :solaris
114    #+windows-target :windows
115    ;; :mcl                                ;deprecated
116    )
117  "a list of symbols that describe features provided by the
118   implementation")
119
120(defparameter *optional-features* () "Set by build process")
121
122(defparameter *load-verbose* nil
123  "the default for the :VERBOSE argument to LOAD")
124
125;All Lisp package variables... Dunno if this still matters, but it
126;used to happen in the kernel...
127(dolist (x '(* ** *** *APPLYHOOK* *DEBUG-IO*
128             *DEFAULT-PATHNAME-DEFAULTS* *ERROR-OUTPUT* *EVALHOOK*
129             *FEATURES* *LOAD-VERBOSE* *MACROEXPAND-HOOK* *MODULES*
130             *PACKAGE* *PRINT-ARRAY* *PRINT-BASE* *PRINT-CASE* *PRINT-CIRCLE*
131             *PRINT-ESCAPE* *PRINT-GENSYM* *PRINT-LENGTH* *PRINT-LEVEL*
132             *PRINT-PRETTY* *PRINT-RADIX* *QUERY-IO* *RANDOM-STATE* *READ-BASE*
133             *READ-DEFAULT-FLOAT-FORMAT* *READ-SUPPRESS* *READTABLE*
134             *STANDARD-INPUT* *STANDARD-OUTPUT* *TERMINAL-IO* *TRACE-OUTPUT*
135             + ++ +++ - / // /// ARRAY-DIMENSION-LIMIT ARRAY-RANK-LIMIT
136             ARRAY-TOTAL-SIZE-LIMIT BOOLE-1 BOOLE-2 BOOLE-AND BOOLE-ANDC1
137             BOOLE-ANDC2 BOOLE-C1 BOOLE-C2 BOOLE-CLR BOOLE-EQV BOOLE-IOR
138             BOOLE-NAND BOOLE-NOR BOOLE-ORC1 BOOLE-ORC2 BOOLE-SET BOOLE-XOR
139             CALL-ARGUMENTS-LIMIT CHAR-CODE-LIMIT
140             DOUBLE-FLOAT-EPSILON DOUBLE-FLOAT-NEGATIVE-EPSILON
141             INTERNAL-TIME-UNITS-PER-SECOND LAMBDA-LIST-KEYWORDS
142             LAMBDA-PARAMETERS-LIMIT LEAST-NEGATIVE-DOUBLE-FLOAT
143             LEAST-NEGATIVE-LONG-FLOAT LEAST-NEGATIVE-SHORT-FLOAT
144             LEAST-NEGATIVE-SINGLE-FLOAT LEAST-POSITIVE-DOUBLE-FLOAT
145             LEAST-POSITIVE-LONG-FLOAT LEAST-POSITIVE-SHORT-FLOAT
146             LEAST-POSITIVE-SINGLE-FLOAT LONG-FLOAT-EPSILON
147             LONG-FLOAT-NEGATIVE-EPSILON MOST-NEGATIVE-DOUBLE-FLOAT
148             MOST-NEGATIVE-FIXNUM MOST-NEGATIVE-LONG-FLOAT
149             MOST-NEGATIVE-SHORT-FLOAT MOST-NEGATIVE-SINGLE-FLOAT
150             MOST-POSITIVE-DOUBLE-FLOAT MOST-POSITIVE-FIXNUM
151             MOST-POSITIVE-LONG-FLOAT MOST-POSITIVE-SHORT-FLOAT
152             MOST-POSITIVE-SINGLE-FLOAT MULTIPLE-VALUES-LIMIT PI
153             SHORT-FLOAT-EPSILON SHORT-FLOAT-NEGATIVE-EPSILON
154             SINGLE-FLOAT-EPSILON SINGLE-FLOAT-NEGATIVE-EPSILON))
155  (%symbol-bits x (%ilogior2 (%symbol-bits x) (ash 1 $sym_bit_special))))
156
157(defparameter *loading-file-source-file* nil)
158
159(defvar *nx-speed* 1)
160(defvar *nx-space* 1)
161(defvar *nx-safety* 1)
162(defvar *nx-cspeed* 1)
163(defvar *nx-debug* 1)
164
165;;; end
Note: See TracBrowser for help on using the repository browser.