3 ;;;; This software is part of the SBCL system. See the README file for
6 ;;;; This software is derived from the CMU CL system, which was
7 ;;;; written at Carnegie Mellon University and released into the
8 ;;;; public domain. The software is in the public domain and is
9 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
10 ;;;; files for more information.
12 ;;; a linear ordering of system sources which works both to compile/load
13 ;;; the cross-compiler under the host Common Lisp and then to cross-compile
14 ;;; the complete system into the under-construction target SBCL
16 ;;; Of course, it'd be very nice to have this be a dependency DAG
17 ;;; instead, so that we could do automated incremental recompilation.
18 ;;; But the dependencies are varied and subtle, and it'd be extremely
19 ;;; difficult to extract them automatically, and it'd be extremely
20 ;;; tedious and error-prone to extract them manually, so we don't
21 ;;; extract them. (It would be nice to fix this someday. The most
22 ;;; feasible approach that I can think of would be to make the
23 ;;; dependencies work on a package level, not an individual file
24 ;;; level. Doing it at the package level would make the granularity
25 ;;; coarse enough that it would probably be pretty easy to maintain
26 ;;; the dependency information manually, and the brittleness of the
27 ;;; package system would help make most violations of the declared
28 ;;; dependencies obvious at build time. -- WHN 20000803
30 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
33 ;; This comes early because it's useful for debugging everywhere.
36 ;; This comes early because the cross-compilation host's backquote
37 ;; logic can expand into something which can't be executed on the
38 ;; target Lisp (e.g. in CMU CL where it expands into internal
39 ;; functions like BACKQ-LIST), and by replacing the host backquote
40 ;; logic with our own as early as possible, we minimize the chance of
41 ;; any forms referring to cross-compilation host internal functions
42 ;; leaking into target SBCL code.
45 ;; It's difficult to be too early with a DECLAIM SPECIAL (or DEFVAR
46 ;; or whatever) thanks to the sullenly-do-the-wrong-thing semantics
47 ;; of CL special binding when the variable is undeclared.
48 ("src/code/globals" :not-host)
50 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
51 ;; various DEFSETFs and/or other DEFMACROish things, defined as early as
52 ;; possible so we don't need to fiddle with any subtleties of defining them
53 ;; before any possible use
55 ;; KLUDGE: It would be nice to reimplement most or all of these as
56 ;; functions (possibly inlined functions) so that we wouldn't need to
57 ;; worry so much about forcing them all to be defined before any possible
58 ;; use. It might be pretty tedious, though, working through any
59 ;; transforms and translators and optimizers and so forth to make sure
60 ;; that they can handle the change. -- WHN 19990919
63 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
64 ;;; cross-compiler-only replacements for stuff which in target Lisp would be
65 ;;; supplied by basic machinery
67 ("src/code/cross-misc" :not-target)
68 ("src/code/cross-float" :not-target)
69 ("src/code/cross-io" :not-target)
70 ("src/code/cross-sap" :not-target)
71 ("src/code/cross-make-load-form" :not-target)
73 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
74 ;;; stuff needed early both in cross-compilation host and in target Lisp
77 ("src/code/early-defbangmethod")
79 ("src/code/defbangtype")
80 ("src/code/defbangmacro")
81 ("src/code/defbangconstant")
83 ("src/code/primordial-extensions")
85 ;; for various constants e.g. SB!XC:MOST-POSITIVE-FIXNUM and
86 ;; SB!VM:N-LOWTAG-BITS, needed by "early-objdef" and others
87 ("src/compiler/generic/early-vm")
88 ("src/compiler/generic/early-objdef")
89 ("src/compiler/target/parms")
90 ("src/code/early-array") ; needs "early-vm" numbers
92 ("src/code/parse-body") ; on host for PARSE-BODY
93 ("src/code/parse-defmacro") ; on host for PARSE-DEFMACRO
94 ("src/code/early-extensions") ; on host for COLLECT, SYMBOLICATE, etc.
95 ("src/compiler/deftype") ; on host for SB!XC:DEFTYPE
96 ("src/compiler/defconstant")
97 ("src/code/early-alieneval") ; for vars needed both at build and run time
99 ("src/code/specializable-array")
101 ("src/code/early-cl")
102 ("src/code/early-fasl")
104 ;; mostly needed by stuff from comcom, but also used by "x86-vm"
105 ("src/code/debug-var-io")
107 ("src/code/cold-init-helper-macros")
109 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
110 ;;; basic machinery for the target Lisp. Note that although most of these
111 ;;; files are flagged :NOT-HOST, a few might not be.
113 ("src/code/target-defbangmethod" :not-host)
115 ("src/code/early-print" :not-host)
116 ("src/code/early-pprint" :not-host)
117 ("src/code/early-impl" :not-host)
119 ("src/code/target-extensions" :not-host)
121 ("src/code/early-defstructs" :not-host) ; gotta-be-first DEFSTRUCTs
123 ("src/code/defbangstruct")
125 ("src/code/funutils" :not-host)
127 ;; This needs DEF!STRUCT, and is itself needed early so that structure
128 ;; accessors and inline functions defined here can be compiled inline
129 ;; later. (Avoiding full calls not only increases efficiency, but also
130 ;; avoids some cold init issues involving full calls to structure
132 ("src/code/type-class")
134 ("src/code/early-pcounter")
135 ("src/code/pcounter" :not-host)
137 ("src/code/ansi-stream" :not-host)
139 ("src/code/sysmacs" :not-host)
141 ;; "assembly/assemfile" was here in the sequence inherited from
142 ;; CMU CL worldcom.lisp, but also appears later in the sequence
143 ;; inherited from CMU CL comcom.lisp. We shouldn't need two versions,
144 ;; so I've deleted the one here. -- WHN 19990620
146 ("src/code/target-error" :not-host)
148 ;; a comment from classic CMU CL:
149 ;; "These guys can supposedly come in any order, but not really.
150 ;; Some are put at the end so that macros don't run interpreted
152 ;; Dunno exactly what this meant or whether it still holds. -- WHN 19990803
153 ;; FIXME: more informative and up-to-date comment?
154 ("src/code/kernel" :not-host)
155 ("src/code/toplevel" :not-host)
156 ("src/code/cold-error" :not-host)
157 ("src/code/fdefinition" :not-host)
158 ;; FIXME: Figure out some way to make the compiler macro for INFO
159 ;; available for compilation of "code/fdefinition".
161 ;; In classic CMU CL, code/type was here. I've since split that into
162 ;; lots of smaller pieces, some of which are here and some of which
163 ;; are handled later in the sequence, when the cross-compiler is
164 ;; built. -- WHN 19990620
165 ("src/code/target-type" :not-host)
167 ("src/code/pred" :not-host)
169 ("src/code/target-alieneval" :not-host)
170 ("src/code/target-c-call" :not-host)
171 ("src/code/target-allocate" :not-host)
173 ;; This needs DEFINE-ALIEN-ROUTINE from target-alieneval.
174 ("src/code/misc-aliens" :not-host)
176 ("src/code/array" :not-host)
177 ("src/code/target-sxhash" :not-host)
179 ("src/code/list" :not-host)
180 ("src/code/seq" :not-host) ; "code/seq" should come after "code/list".
181 ("src/code/coerce" :not-host)
183 ("src/code/string" :not-host)
184 ("src/code/mipsstrops" :not-host)
186 ;; "src/code/unix.lisp" needs this. It's generated automatically by
187 ;; grovel_headers.c, i.e. it's not in CVS.
188 ("output/stuff-groveled-from-headers" :not-host)
190 ("src/code/unix" :not-host)
192 #!+mach ("src/code/mach" :not-host)
193 #!+mach ("src/code/mach-os" :not-host)
194 #!+sunos ("src/code/sunos-os" :not-host)
195 #!+hpux ("src/code/hpux-os" :not-host)
196 #!+osf1 ("src/code/osf1-os" :not-host)
197 #!+irix ("src/code/irix-os" :not-host)
198 #!+bsd ("src/code/bsd-os" :not-host)
199 #!+linux ("src/code/linux-os" :not-host)
201 ;; sparc-vm and ppc-vm need sc-offset defined to get at internal
202 ;; error args. This file contains stuff previously in
203 ;; debug-info.lisp. Should it therefore be :not-host? -- CSR,
205 ("src/code/sc-offset")
207 ;; KLUDGE: I'd prefer to have this done with a "code/target" softlink
208 ;; instead of a bunch of reader macros. -- WHN 19990308
209 #!+pmax ("src/code/pmax-vm" :not-host)
210 #!+(and sparc svr4) ("src/code/sparc-svr4-vm" :not-host)
211 #!+(and sparc (not svr4)) ("src/code/sparc-vm" :not-host)
212 #!+rt ("src/code/rt-vm" :not-host)
213 #!+hppa ("src/code/hppa-vm" :not-host)
214 #!+x86 ("src/code/x86-vm" :not-host)
215 #!+ppc ("src/code/ppc-vm" :not-host)
216 #!+alpha ("src/code/alpha-vm" :not-host)
217 #!+sgi ("src/code/sgi-vm" :not-host)
219 ("src/code/target-signal" :not-host) ; needs OS-CONTEXT-T from x86-vm
221 ("src/code/symbol" :not-host)
222 ("src/code/bignum" :not-host)
223 ("src/code/numbers" :not-host)
224 ("src/code/float-trap" :not-host)
225 ("src/code/float" :not-host)
226 ("src/code/irrat" :not-host)
229 ("src/code/target-char" :not-host)
230 ("src/code/target-misc" :not-host)
233 ("src/code/room" :not-host)
234 ("src/code/gc" :not-host)
235 ("src/code/purify" :not-host)
237 ("src/code/stream" :not-host)
238 ("src/code/print" :not-host)
239 ("src/code/pprint" :not-host)
240 ("src/code/early-format")
241 ("src/code/target-format" :not-host)
242 ("src/code/defpackage" :not-host)
243 ("src/code/pp-backq" :not-host)
245 ("src/code/error-error" :not-host) ; needs WITH-STANDARD-IO-SYNTAX macro
247 ("src/code/serve-event" :not-host)
248 ("src/code/fd-stream" :not-host)
250 ("src/code/module" :not-host)
252 ("src/code/interr" :not-host)
254 ("src/code/query" :not-host)
256 ("src/code/sort" :not-host)
257 ("src/code/time" :not-host)
258 ("src/code/weak" :not-host)
259 ("src/code/final" :not-host)
261 #!+mp ("src/code/multi-proc" :not-host)
263 ("src/code/setf-funs" :not-host)
265 ("src/code/stubs" :not-host)
267 ("src/code/exhaust" :not-host)
269 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
270 ;;; compiler (and a few miscellaneous files whose dependencies make it
271 ;;; convenient to stick them here)
273 ("src/compiler/early-c")
274 ("src/compiler/policy")
275 ("src/code/typedefs")
277 ;; ("src/code/defbangmacro" was here until sbcl-0.6.7.3.)
279 ("src/compiler/macros")
280 ("src/compiler/generic/vm-macs")
282 ;; needed by "compiler/vop"
283 ("src/compiler/sset")
285 ;; for e.g. BLOCK-ANNOTATION, needed by "compiler/vop"
286 ("src/compiler/node")
288 ;; for e.g. PRIMITIVE-TYPE, needed by "vmdef"
291 ;; needed by "vm" and "primtype"
292 ("src/compiler/backend")
294 ;; for e.g. MAX-VOP-TN-REFS, needed by "meta-vmdef"
295 ("src/compiler/vmdef")
298 ("src/compiler/target/backend-parms")
300 ;; for INFO and SB!XC:MACRO-FUNCTION, needed by defmacro.lisp
301 ("src/compiler/globaldb")
302 ("src/compiler/info-functions")
304 ("src/code/force-delayed-defbangconstants")
305 ("src/code/defmacro")
306 ("src/code/force-delayed-defbangmacros")
308 ("src/compiler/late-macros")
310 ;; for e.g. !DEF-PRIMITIVE-TYPE, needed by primtype.lisp, and
311 ;; DEFINE-STORAGE-CLASS, needed by target/vm.lisp
312 ("src/compiler/meta-vmdef")
314 ;; for e.g. DESCRIPTOR-REG, needed by primtype.lisp
315 ("src/compiler/target/vm")
317 ;; for e.g. SPECIFIER-TYPE, needed by primtype.lisp
318 ("src/code/early-type")
320 ;; FIXME: Classic CMU CL had (OPTIMIZE (SAFETY 2) (DEBUG 2) declared
321 ;; around the compilation of "code/class". Why?
324 ;; The definition of CONDITION-CLASS depends on SLOT-CLASS, defined
326 ("src/code/condition" :not-host)
328 ("src/compiler/generic/primtype")
330 ;; the implementation of the compiler-affecting part of forms like
331 ;; DEFMACRO and DEFTYPE; must be loaded before we can start
333 ("src/compiler/parse-lambda-list")
335 ;; for DEFSTRUCT ALIEN-TYPE, needed by host-type.lisp
336 ("src/code/host-alieneval")
338 ;; can't be done until definition of e.g. DEFINE-ALIEN-TYPE-CLASS in
339 ;; host-alieneval.lisp
340 ("src/code/host-c-call")
342 ;; SB!XC:DEFTYPE is needed in order to compile late-type
343 ;; in the host Common Lisp, and in order to run, it needs
344 ;; %COMPILER-DEFTYPE.
345 ("src/compiler/compiler-deftype")
347 ;; These appear here in the build sequence because they require
348 ;; * the macro INFO, defined in globaldb.lisp, and
349 ;; * the function PARSE-DEFMACRO, defined in parse-defmacro.lisp,
350 ;; and because they define
351 ;; * the function SPECIFIER-TYPE, which is used in fndb.lisp.
352 ("src/code/late-type")
353 ("src/code/deftypes-for-target")
355 ;; defines IR1-ATTRIBUTES macro, needed by proclaim.lisp
356 ("src/compiler/knownfun")
358 ;; needs FUN-INFO structure slot setters, defined in knownfun.lisp
359 ("src/compiler/fun-info-funs")
361 ;; stuff needed by "code/defstruct"
362 ("src/code/cross-type" :not-target)
363 ("src/compiler/generic/vm-type")
364 ("src/compiler/proclaim")
365 ("src/code/typecheckfuns")
367 ;; The DEFSTRUCT machinery needs SB!XC:SUBTYPEP, defined in
368 ;; "code/late-type", and SB!XC:TYPEP, defined in "code/cross-type",
369 ;; and SPECIALIZE-ARRAY-TYPE, defined in "compiler/generic/vm-type",
370 ;; and SB!XC:PROCLAIM, defined in "src/compiler/proclaim"
371 ("src/code/defstruct")
372 ("src/code/target-defstruct" :not-host)
374 ;; ALIEN-VALUE has to be defined as a class (done by DEFSTRUCT
375 ;; machinery) before we can set its superclasses here.
376 ("src/code/alien-type")
378 ;; This needs not just the SB!XC:DEFSTRUCT machinery, but also
379 ;; the TYPE= stuff defined in late-type.lisp, and the
380 ;; CHECK-FUN-NAME defined in proclaim.lisp.
381 ("src/code/force-delayed-defbangstructs")
383 ("src/code/typep" :not-host)
385 ("src/compiler/compiler-error")
387 ("src/code/type-init")
389 ;; These define target types needed by fndb.lisp.
392 ("src/code/hash-table")
393 ("src/code/readtable")
394 ("src/code/pathname")
395 ("src/compiler/lexenv")
397 ;; KLUDGE: Much stuff above here is the type system and/or the INFO
398 ;; system, not really the compiler proper. It might be easier to
399 ;; understand the system if those things were split off into packages
400 ;; SB-TYPE and SB-INFO and built in their own sections. -- WHN 20000124
402 ;; In classic CMU CL (re)build order, these were done later, but
403 ;; in building from scratch, these must be loaded before
404 ;; "compiler/generic/objdef" in order to allow forms like
405 ;; (DEFINE-PRIMITIVE-OBJECT (..) (CAR ..) ..) to work.
406 ("src/compiler/fndb")
407 ("src/compiler/generic/vm-fndb")
409 ("src/compiler/generic/objdef")
411 ("src/compiler/generic/interr")
413 ("src/compiler/bit-util")
415 ;; This has ASSEMBLY-UNIT-related stuff needed by core.lisp.
416 ("src/compiler/early-assem")
418 ;; core.lisp contains DEFSTRUCT CORE-OBJECT, and "compiler/main.lisp"
419 ;; does lots of (TYPEP FOO 'CORE-OBJECT), so it's nice to compile this
420 ;; before "compiler/main.lisp" so that those can be coded efficiently
421 ;; (and so that they don't cause lots of annoying compiler warnings
422 ;; about undefined types).
423 ("src/compiler/generic/core")
427 ("src/code/fop") ; needs macros from code/load.lisp
429 ("src/compiler/ctype")
430 ("src/compiler/disassem")
431 ("src/compiler/assem")
433 ("src/compiler/trace-table") ; needs EMIT-LABEL macro from compiler/assem.lisp
435 ;; Compiling this requires fop definitions from code/fop.lisp and
436 ;; trace table definitions from compiler/trace-table.lisp.
437 ("src/compiler/dump")
439 ("src/compiler/main") ; needs DEFSTRUCT FASL-OUTPUT from dump.lisp
440 ("src/compiler/target-main" :not-host)
441 ("src/compiler/ir1tran")
442 ("src/compiler/ir1-translators")
443 ("src/compiler/ir1util")
444 ("src/compiler/ir1report")
445 ("src/compiler/ir1opt")
447 ("src/compiler/ir1final")
448 ("src/compiler/array-tran")
449 ("src/compiler/seqtran")
450 ("src/compiler/typetran")
451 ("src/compiler/generic/vm-typetran")
452 ("src/compiler/float-tran")
453 ("src/compiler/saptran")
454 ("src/compiler/srctran")
455 ("src/compiler/locall")
457 ("src/compiler/checkgen")
458 ("src/compiler/constraint")
459 ("src/compiler/physenvanal")
462 ("src/compiler/life")
464 ("src/code/debug-info")
466 ("src/compiler/debug-dump")
467 ("src/compiler/generic/utils")
468 ("src/assembly/assemfile")
470 ;; Compiling this file requires the macros SB!ASSEM:EMIT-LABEL and
471 ;; SB!ASSEM:EMIT-POST-IT, defined in assem.lisp, and also possibly
472 ;; the definition of the LOCATION-INFO structure (if structures in
473 ;; the host lisp have setf expanders rather than setf functions).
474 ("src/compiler/late-vmdef")
476 ("src/compiler/fixup") ; for DEFSTRUCT FIXUP, used by insts.lisp
478 ("src/compiler/target/insts")
479 ("src/compiler/target/macros")
481 ("src/assembly/target/support")
483 ("src/compiler/target/move")
484 ("src/compiler/target/float")
485 ("src/compiler/target/sap")
486 ("src/compiler/target/system")
487 ("src/compiler/target/char")
488 ("src/compiler/target/memory")
489 ("src/compiler/target/static-fn")
490 ("src/compiler/target/arith"
491 ;; KLUDGE: for ppc and sparc this appears to be necessary -- see the
492 ;; comment below regarding src/compiler/target/array -- CSR,
495 ("src/compiler/target/subprim")
497 ("src/compiler/target/debug")
498 ;; src/compiler/sparc/c-call contains a deftransform for
499 ;; %ALIEN-FUNCALL -- CSR
500 ("src/compiler/early-aliencomp")
501 ("src/compiler/target/c-call")
502 ("src/compiler/target/cell")
503 ("src/compiler/target/values")
504 ("src/compiler/target/alloc")
505 ("src/compiler/target/call")
506 ("src/compiler/target/nlx")
507 ("src/compiler/target/show")
508 ("src/compiler/target/array"
509 ;; KLUDGE: Compiling this file for X86 raises alarming warnings of
511 ;; Argument FOO to VOP CHECK-BOUND has SC restriction
512 ;; DESCRIPTOR-REG which is not allowed by the operand type:
513 ;; (:OR POSITIVE-FIXNUM)
514 ;; This seems not to be something that I broke, but rather a "feature"
515 ;; inherited from classic CMU CL. (Debian cmucl_2.4.8.deb compiling
516 ;; Debian cmucl_2.4.8.tar.gz raises the same warning). Thus, even though
517 ;; these warnings are severe enough that they would ordinarily abort
518 ;; compilation, for now we blithely ignore them and press on to more
519 ;; pressing problems. Someday, though, it would be nice to figure out
520 ;; what the problem is and fix it. (See the comments in
521 ;; src/compiler/x86/array for a candidate patch.) -- WHN 19990323
523 ("src/compiler/target/pred")
524 ("src/compiler/target/type-vops")
526 ("src/assembly/target/assem-rtns" :assem)
527 ("src/assembly/target/array" :assem)
528 ("src/assembly/target/arith" :assem)
529 ("src/assembly/target/alloc" :assem)
531 ("src/compiler/pseudo-vops")
533 ("src/compiler/aliencomp")
538 ("src/compiler/stack")
539 ("src/compiler/control")
540 ("src/compiler/entry")
541 ("src/compiler/ir2tran")
543 ("src/compiler/generic/vm-ir2tran")
545 ("src/compiler/copyprop")
546 ("src/compiler/represent")
547 ("src/compiler/generic/vm-tran")
548 ("src/compiler/pack")
549 ("src/compiler/codegen")
550 ("src/compiler/debug")
552 #!+sb-dyncount ("src/compiler/dyncount")
553 #!+sb-dyncount ("src/code/dyncount")
555 ;; needed by OPEN-FASL-OUTPUT, which is called by COMPILE-FILE
556 ("src/code/format-time")
558 ;; needed by various unhappy-path cases in the cross-compiler
561 ;; This wasn't in classic CMU CL "comcom.lisp", but it has some stuff
562 ;; that Python-as-cross-compiler has turned out to need.
563 ("src/code/macroexpand")
565 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
566 ;; files which depend in some way (directly or indirectly) on stuff
567 ;; compiled as part of the compiler
569 ("src/code/late-extensions") ; needs condition system
570 ("src/compiler/generic/target-core" :not-host) ; uses stuff from
571 ; "compiler/generic/core"
573 ("src/code/eval" :not-host) ; uses INFO, wants compiler macro
574 ("src/code/target-sap" :not-host) ; uses SAP-INT type
575 ("src/code/target-package" :not-host) ; needs "code/package"
576 ("src/code/target-random" :not-host) ; needs "code/random"
577 ("src/code/target-hash-table" :not-host) ; needs "code/hash-table"
578 ("src/code/reader" :not-host) ; needs "code/readtable"
579 ("src/code/target-pathname" :not-host) ; needs "code/pathname"
580 ("src/code/filesys" :not-host) ; needs HOST from "code/pathname"
581 ("src/code/save" :not-host) ; uses the definition of PATHNAME
582 ; from "code/pathname"
583 ("src/code/sharpm" :not-host) ; uses stuff from "code/reader"
585 ;; defines SB!DI:DO-DEBUG-FUN-BLOCKS, needed by target-disassem.lisp
586 ("src/code/debug-int" :not-host)
588 ;; target-only assemblerish stuff
589 ("src/compiler/target-disassem" :not-host)
590 ("src/compiler/target/target-insts" :not-host)
592 ("src/code/debug" :not-host)
594 ;; The code here can't be compiled until CONDITION and
595 ;; DEFINE-CONDITION are defined and SB!DEBUG:*STACK-TOP-HINT* is
597 ("src/code/parse-defmacro-errors")
599 ("src/code/bit-bash" :not-host) ; needs %NEGATE from assembly/target/arith
601 ("src/code/target-load" :not-host) ; needs special vars from code/load.lisp
602 ("src/compiler/target/sanctify" :not-host)
604 ;; FIXME: Does this really need stuff from compiler/dump.lisp?
605 ("src/compiler/target-dump" :not-host) ; needs stuff from compiler/dump.lisp
607 ("src/code/cold-init" :not-host) ; needs (SETF EXTERN-ALIEN) macroexpansion
609 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
610 ;; target macros and DECLAIMs installed at build-the-cross-compiler time
612 ;; Declare all target special variables defined by ANSI now, so that
613 ;; we don't have to worry about any of them being bound incorrectly
614 ;; when the compiler processes code which appears before the appropriate
615 ;; DEFVAR or DEFPARAMETER.
616 ("src/code/cl-specials")
618 ;; fundamental target macros (e.g. CL:DO and CL:DEFUN) and support
621 ("src/code/destructuring-bind")
622 ("src/code/early-setf")
625 ("src/code/late-setf")
627 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
629 ;; other target-code-building stuff which can't be processed until
630 ;; machinery like SB!XC:DEFMACRO exists
632 ("src/code/late-format") ; needs SB!XC:DEFMACRO
633 ("src/code/sxhash") ; needs SB!XC:DEFINE-MODIFY-MACRO
635 ("src/code/late-defbangmethod"))