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-byte" :not-target)
69 ("src/code/cross-float" :not-target)
70 ("src/code/cross-io" :not-target)
71 ("src/code/cross-sap" :not-target)
72 ("src/code/cross-make-load-form" :not-target)
74 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
75 ;;; stuff needed early both in cross-compilation host and in target Lisp
78 ("src/code/early-defbangmethod")
80 ("src/code/defbangtype")
81 ("src/code/defbangmacro")
82 ("src/code/defbangconstant")
84 ("src/code/primordial-extensions")
86 ;; for various constants e.g. SB!XC:MOST-POSITIVE-FIXNUM and
87 ;; SB!VM:N-LOWTAG-BITS, needed by "early-objdef" and others
88 ("src/compiler/generic/early-vm")
89 ("src/compiler/generic/early-objdef")
90 ("src/compiler/target/parms")
91 ("src/code/early-array") ; needs "early-vm" numbers
93 ("src/code/parse-body") ; on host for PARSE-BODY
94 ("src/code/parse-defmacro") ; on host for PARSE-DEFMACRO
95 ("src/code/early-extensions") ; on host for COLLECT, SYMBOLICATE, etc.
96 ("src/compiler/deftype") ; on host for SB!XC:DEFTYPE
97 ("src/compiler/defconstant")
98 ("src/code/early-alieneval") ; for vars needed both at build and run time
100 ("src/code/specializable-array")
102 ("src/code/early-cl")
103 ("src/code/early-fasl")
105 ;; mostly needed by stuff from comcom, but also used by "x86-vm"
106 ("src/code/debug-var-io")
108 ("src/code/cold-init-helper-macros")
110 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
111 ;;; basic machinery for the target Lisp. Note that although most of these
112 ;;; files are flagged :NOT-HOST, a few might not be.
114 ("src/code/target-defbangmethod" :not-host)
116 ("src/code/early-print" :not-host)
117 ("src/code/early-pprint" :not-host)
118 ("src/code/early-impl" :not-host)
120 ("src/code/target-extensions" :not-host)
122 ("src/code/early-defstructs" :not-host) ; gotta-be-first DEFSTRUCTs
124 ("src/code/defbangstruct")
126 ("src/code/funutils" :not-host)
128 ;; This needs DEF!STRUCT, and is itself needed early so that structure
129 ;; accessors and inline functions defined here can be compiled inline
130 ;; later. (Avoiding full calls not only increases efficiency, but also
131 ;; avoids some cold init issues involving full calls to structure
133 ("src/code/type-class")
135 ("src/code/early-pcounter")
136 ("src/code/pcounter" :not-host)
138 ("src/code/ansi-stream" :not-host)
140 ("src/code/sysmacs" :not-host)
142 ;; "assembly/assemfile" was here in the sequence inherited from
143 ;; CMU CL worldcom.lisp, but also appears later in the sequence
144 ;; inherited from CMU CL comcom.lisp. We shouldn't need two versions,
145 ;; so I've deleted the one here. -- WHN 19990620
147 ("src/code/target-error" :not-host)
149 ;; a comment from classic CMU CL:
150 ;; "These guys can supposedly come in any order, but not really.
151 ;; Some are put at the end so that macros don't run interpreted
153 ;; Dunno exactly what this meant or whether it still holds. -- WHN 19990803
154 ;; FIXME: more informative and up-to-date comment?
155 ("src/code/kernel" :not-host)
156 ("src/code/toplevel" :not-host)
157 ("src/code/cold-error" :not-host)
158 ("src/code/fdefinition" :not-host)
159 ;; FIXME: Figure out some way to make the compiler macro for INFO
160 ;; available for compilation of "code/fdefinition".
162 ;; In classic CMU CL, code/type was here. I've since split that into
163 ;; lots of smaller pieces, some of which are here and some of which
164 ;; are handled later in the sequence, when the cross-compiler is
165 ;; built. -- WHN 19990620
166 ("src/code/target-type" :not-host)
168 ("src/code/pred" :not-host)
170 ("src/code/target-alieneval" :not-host)
171 ("src/code/target-c-call" :not-host)
172 ("src/code/target-allocate" :not-host)
174 ;; This needs DEFINE-ALIEN-ROUTINE from target-alieneval.
175 ("src/code/misc-aliens" :not-host)
177 ("src/code/array" :not-host)
178 ("src/code/target-sxhash" :not-host)
180 ("src/code/list" :not-host)
181 ("src/code/seq" :not-host) ; "code/seq" should come after "code/list".
182 ("src/code/coerce" :not-host)
184 ("src/code/string" :not-host)
185 ("src/code/mipsstrops" :not-host)
187 ;; "src/code/unix.lisp" needs this. It's generated automatically by
188 ;; grovel_headers.c, i.e. it's not in CVS.
189 ("output/stuff-groveled-from-headers" :not-host)
191 ("src/code/unix" :not-host)
193 #!+mach ("src/code/mach" :not-host)
194 #!+mach ("src/code/mach-os" :not-host)
195 #!+sunos ("src/code/sunos-os" :not-host)
196 #!+hpux ("src/code/hpux-os" :not-host)
197 #!+osf1 ("src/code/osf1-os" :not-host)
198 #!+irix ("src/code/irix-os" :not-host)
199 #!+bsd ("src/code/bsd-os" :not-host)
200 #!+linux ("src/code/linux-os" :not-host)
202 ;; sparc-vm and ppc-vm need sc-offset defined to get at internal
203 ;; error args. This file contains stuff previously in
204 ;; debug-info.lisp. Should it therefore be :not-host? -- CSR,
206 ("src/code/sc-offset")
208 ;; KLUDGE: I'd prefer to have this done with a "code/target" softlink
209 ;; instead of a bunch of reader macros. -- WHN 19990308
210 #!+sparc ("src/code/sparc-vm" :not-host)
211 #!+hppa ("src/code/hppa-vm" :not-host)
212 #!+x86 ("src/code/x86-vm" :not-host)
213 #!+ppc ("src/code/ppc-vm" :not-host)
214 #!+alpha ("src/code/alpha-vm" :not-host)
215 #!+mips ("src/code/mips-vm" :not-host)
217 ;; FIXME: do we really want to keep this? -- CSR, 2002-08-31
218 #!+rt ("src/code/rt-vm" :not-host)
220 ("src/code/target-signal" :not-host) ; needs OS-CONTEXT-T from x86-vm
222 ("src/code/symbol" :not-host)
223 ("src/code/bignum" :not-host)
224 ("src/code/numbers" :not-host)
225 ("src/code/float-trap" :not-host)
226 ("src/code/float" :not-host)
227 ("src/code/irrat" :not-host)
230 ("src/code/target-char" :not-host)
231 ("src/code/target-misc" :not-host)
234 ("src/code/room" :not-host)
235 ("src/code/gc" :not-host)
236 ("src/code/purify" :not-host)
238 ("src/code/stream" :not-host)
239 ("src/code/print" :not-host)
240 ("src/code/pprint" :not-host)
241 ("src/code/early-format")
242 ("src/code/target-format" :not-host)
243 ("src/code/defpackage" :not-host)
244 ("src/code/pp-backq" :not-host)
246 ("src/code/error-error" :not-host) ; needs WITH-STANDARD-IO-SYNTAX macro
248 ("src/code/serve-event" :not-host)
249 ("src/code/fd-stream" :not-host)
251 ("src/code/module" :not-host)
253 ("src/code/interr" :not-host)
255 ("src/code/query" :not-host)
257 ("src/code/sort" :not-host)
258 ("src/code/time" :not-host)
259 ("src/code/weak" :not-host)
260 ("src/code/final" :not-host)
262 #!+mp ("src/code/multi-proc" :not-host)
264 ("src/code/setf-funs" :not-host)
266 ("src/code/stubs" :not-host)
268 ("src/code/exhaust" :not-host)
270 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
271 ;;; compiler (and a few miscellaneous files whose dependencies make it
272 ;;; convenient to stick them here)
274 ("src/compiler/early-c")
275 ("src/compiler/policy")
276 ("src/code/typedefs")
278 ;; ("src/code/defbangmacro" was here until sbcl-0.6.7.3.)
280 ("src/compiler/macros")
281 ("src/compiler/generic/vm-macs")
283 ;; needed by "compiler/vop"
284 ("src/compiler/sset")
286 ;; for e.g. BLOCK-ANNOTATION, needed by "compiler/vop"
287 ("src/compiler/node")
289 ;; for e.g. PRIMITIVE-TYPE, needed by "vmdef"
292 ;; needed by "vm" and "primtype"
293 ("src/compiler/backend")
295 ;; for e.g. MAX-VOP-TN-REFS, needed by "meta-vmdef"
296 ("src/compiler/vmdef")
299 ("src/compiler/target/backend-parms")
301 ;; for INFO and SB!XC:MACRO-FUNCTION, needed by defmacro.lisp
302 ("src/compiler/globaldb")
303 ("src/compiler/info-functions")
305 ("src/code/force-delayed-defbangconstants")
306 ("src/code/defmacro")
307 ("src/code/force-delayed-defbangmacros")
309 ("src/compiler/late-macros")
311 ;; for e.g. !DEF-PRIMITIVE-TYPE, needed by primtype.lisp, and
312 ;; DEFINE-STORAGE-CLASS, needed by target/vm.lisp
313 ("src/compiler/meta-vmdef")
315 ;; for e.g. DESCRIPTOR-REG, needed by primtype.lisp
316 ("src/compiler/target/vm")
318 ;; for e.g. SPECIFIER-TYPE, needed by primtype.lisp
319 ("src/code/early-type")
321 ;; FIXME: Classic CMU CL had (OPTIMIZE (SAFETY 2) (DEBUG 2) declared
322 ;; around the compilation of "code/class". Why?
325 ;; The definition of CONDITION-CLASS depends on SLOT-CLASS, defined
327 ("src/code/condition" :not-host)
329 ("src/compiler/generic/primtype")
331 ;; the implementation of the compiler-affecting part of forms like
332 ;; DEFMACRO and DEFTYPE; must be loaded before we can start
334 ("src/compiler/parse-lambda-list")
336 ;; for DEFSTRUCT ALIEN-TYPE, needed by host-type.lisp
337 ("src/code/host-alieneval")
339 ;; can't be done until definition of e.g. DEFINE-ALIEN-TYPE-CLASS in
340 ;; host-alieneval.lisp
341 ("src/code/host-c-call")
343 ;; SB!XC:DEFTYPE is needed in order to compile late-type
344 ;; in the host Common Lisp, and in order to run, it needs
345 ;; %COMPILER-DEFTYPE.
346 ("src/compiler/compiler-deftype")
348 ;; These appear here in the build sequence because they require
349 ;; * the macro INFO, defined in globaldb.lisp, and
350 ;; * the function PARSE-DEFMACRO, defined in parse-defmacro.lisp,
351 ;; and because they define
352 ;; * the function SPECIFIER-TYPE, which is used in fndb.lisp.
353 ("src/code/late-type")
354 ("src/code/deftypes-for-target")
356 ;; defines IR1-ATTRIBUTES macro, needed by proclaim.lisp
357 ("src/compiler/knownfun")
359 ;; needs FUN-INFO structure slot setters, defined in knownfun.lisp
360 ("src/compiler/fun-info-funs")
362 ;; stuff needed by "code/defstruct"
363 ("src/code/cross-type" :not-target)
364 ("src/compiler/generic/vm-type")
365 ("src/compiler/proclaim")
366 ("src/code/typecheckfuns")
368 ;; The DEFSTRUCT machinery needs SB!XC:SUBTYPEP, defined in
369 ;; "code/late-type", and SB!XC:TYPEP, defined in "code/cross-type",
370 ;; and SPECIALIZE-ARRAY-TYPE, defined in "compiler/generic/vm-type",
371 ;; and SB!XC:PROCLAIM, defined in "src/compiler/proclaim"
372 ("src/code/defstruct")
373 ("src/code/target-defstruct" :not-host)
375 ;; ALIEN-VALUE has to be defined as a class (done by DEFSTRUCT
376 ;; machinery) before we can set its superclasses here.
377 ("src/code/alien-type")
379 ;; This needs not just the SB!XC:DEFSTRUCT machinery, but also
380 ;; the TYPE= stuff defined in late-type.lisp, and the
381 ;; CHECK-FUN-NAME defined in proclaim.lisp.
382 ("src/code/force-delayed-defbangstructs")
384 ("src/code/typep" :not-host)
386 ("src/compiler/compiler-error")
388 ("src/code/type-init")
390 ;; These define target types needed by fndb.lisp.
393 ("src/code/hash-table")
394 ("src/code/readtable")
395 ("src/code/pathname")
396 ("src/compiler/lexenv")
398 ;; KLUDGE: Much stuff above here is the type system and/or the INFO
399 ;; system, not really the compiler proper. It might be easier to
400 ;; understand the system if those things were split off into packages
401 ;; SB-TYPE and SB-INFO and built in their own sections. -- WHN 20000124
403 ;; In classic CMU CL (re)build order, these were done later, but
404 ;; in building from scratch, these must be loaded before
405 ;; "compiler/generic/objdef" in order to allow forms like
406 ;; (DEFINE-PRIMITIVE-OBJECT (..) (CAR ..) ..) to work.
407 ("src/compiler/fndb")
408 ("src/compiler/generic/vm-fndb")
410 ("src/compiler/generic/objdef")
412 ("src/compiler/generic/interr")
414 ("src/compiler/bit-util")
416 ;; This has ASSEMBLY-UNIT-related stuff needed by core.lisp.
417 ("src/compiler/early-assem")
419 ;; core.lisp contains DEFSTRUCT CORE-OBJECT, and "compiler/main.lisp"
420 ;; does lots of (TYPEP FOO 'CORE-OBJECT), so it's nice to compile this
421 ;; before "compiler/main.lisp" so that those can be coded efficiently
422 ;; (and so that they don't cause lots of annoying compiler warnings
423 ;; about undefined types).
424 ("src/compiler/generic/core")
428 ("src/code/fop") ; needs macros from code/load.lisp
430 ("src/compiler/ctype")
431 ("src/compiler/disassem")
432 ("src/compiler/assem")
434 ("src/compiler/trace-table") ; needs EMIT-LABEL macro from compiler/assem.lisp
436 ;; Compiling this requires fop definitions from code/fop.lisp and
437 ;; trace table definitions from compiler/trace-table.lisp.
438 ("src/compiler/dump")
440 ("src/compiler/main") ; needs DEFSTRUCT FASL-OUTPUT from dump.lisp
441 ("src/compiler/target-main" :not-host)
442 ("src/compiler/ir1tran")
443 ("src/compiler/ir1-translators")
444 ("src/compiler/ir1util")
445 ("src/compiler/ir1report")
446 ("src/compiler/ir1opt")
448 ("src/compiler/ir1final")
449 ("src/compiler/array-tran")
450 ("src/compiler/seqtran")
451 ("src/compiler/typetran")
452 ("src/compiler/generic/vm-typetran")
453 ("src/compiler/float-tran")
454 ("src/compiler/saptran")
455 ("src/compiler/srctran")
456 ("src/compiler/locall")
458 ("src/compiler/checkgen")
459 ("src/compiler/constraint")
460 ("src/compiler/physenvanal")
463 ("src/compiler/life")
465 ("src/code/debug-info")
467 ("src/compiler/debug-dump")
468 ("src/compiler/generic/utils")
469 ("src/assembly/assemfile")
471 ;; Compiling this file requires the macros SB!ASSEM:EMIT-LABEL and
472 ;; SB!ASSEM:EMIT-POST-IT, defined in assem.lisp, and also possibly
473 ;; the definition of the LOCATION-INFO structure (if structures in
474 ;; the host lisp have setf expanders rather than setf functions).
475 ("src/compiler/late-vmdef")
477 ("src/compiler/fixup") ; for DEFSTRUCT FIXUP, used by insts.lisp
479 ("src/compiler/target/insts")
480 ("src/compiler/target/macros")
481 ("src/compiler/generic/early-type-vops")
483 ("src/assembly/target/support")
485 ("src/compiler/target/move")
486 ("src/compiler/target/float")
487 ("src/compiler/target/sap")
488 ("src/compiler/target/system")
489 ("src/compiler/target/char")
490 ("src/compiler/target/memory")
491 ("src/compiler/target/static-fn")
492 ("src/compiler/target/arith"
493 ;; KLUDGE: for ppc and sparc this appears to be necessary -- see the
494 ;; comment below regarding src/compiler/target/array -- CSR,
497 ("src/compiler/target/subprim")
499 ("src/compiler/target/debug")
500 ;; src/compiler/sparc/c-call contains a deftransform for
501 ;; %ALIEN-FUNCALL -- CSR
502 ("src/compiler/early-aliencomp")
503 ("src/compiler/target/c-call")
504 ("src/compiler/target/cell")
505 ("src/compiler/target/values")
506 ("src/compiler/target/alloc")
507 ("src/compiler/target/call")
508 ("src/compiler/target/nlx")
509 ("src/compiler/target/show")
510 ("src/compiler/target/array"
511 ;; KLUDGE: Compiling this file for X86 raises alarming warnings of
513 ;; Argument FOO to VOP CHECK-BOUND has SC restriction
514 ;; DESCRIPTOR-REG which is not allowed by the operand type:
515 ;; (:OR POSITIVE-FIXNUM)
516 ;; This seems not to be something that I broke, but rather a "feature"
517 ;; inherited from classic CMU CL. (Debian cmucl_2.4.8.deb compiling
518 ;; Debian cmucl_2.4.8.tar.gz raises the same warning). Thus, even though
519 ;; these warnings are severe enough that they would ordinarily abort
520 ;; compilation, for now we blithely ignore them and press on to more
521 ;; pressing problems. Someday, though, it would be nice to figure out
522 ;; what the problem is and fix it. (See the comments in
523 ;; src/compiler/x86/array for a candidate patch.) -- WHN 19990323
525 ("src/compiler/target/pred")
527 ("src/compiler/target/type-vops")
528 ("src/compiler/generic/late-type-vops")
530 ("src/assembly/target/assem-rtns" :assem)
531 ("src/assembly/target/array" :assem)
532 ("src/assembly/target/arith" :assem)
533 ("src/assembly/target/alloc" :assem)
535 ("src/compiler/pseudo-vops")
537 ("src/compiler/aliencomp")
542 ("src/compiler/stack")
543 ("src/compiler/control")
544 ("src/compiler/entry")
545 ("src/compiler/ir2tran")
547 ("src/compiler/generic/vm-ir2tran")
549 ("src/compiler/copyprop")
550 ("src/compiler/represent")
551 ("src/compiler/generic/vm-tran")
552 ("src/compiler/pack")
553 ("src/compiler/codegen")
554 ("src/compiler/debug")
556 #!+sb-dyncount ("src/compiler/dyncount")
557 #!+sb-dyncount ("src/code/dyncount")
559 ;; needed by OPEN-FASL-OUTPUT, which is called by COMPILE-FILE
560 ("src/code/format-time")
562 ;; needed by various unhappy-path cases in the cross-compiler
565 ;; This wasn't in classic CMU CL "comcom.lisp", but it has some stuff
566 ;; that Python-as-cross-compiler has turned out to need.
567 ("src/code/macroexpand")
569 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
570 ;; files which depend in some way (directly or indirectly) on stuff
571 ;; compiled as part of the compiler
573 ("src/code/late-extensions") ; needs condition system
574 ("src/compiler/generic/target-core" :not-host) ; uses stuff from
575 ; "compiler/generic/core"
577 ("src/code/eval" :not-host) ; uses INFO, wants compiler macro
578 ("src/code/target-sap" :not-host) ; uses SAP-INT type
579 ("src/code/target-package" :not-host) ; needs "code/package"
580 ("src/code/target-random" :not-host) ; needs "code/random"
581 ("src/code/target-hash-table" :not-host) ; needs "code/hash-table"
582 ("src/code/reader" :not-host) ; needs "code/readtable"
583 ("src/code/target-pathname" :not-host) ; needs "code/pathname"
584 ("src/code/filesys" :not-host) ; needs HOST from "code/pathname"
585 ("src/code/save" :not-host) ; uses the definition of PATHNAME
586 ; from "code/pathname"
587 ("src/code/sharpm" :not-host) ; uses stuff from "code/reader"
589 ;; defines SB!DI:DO-DEBUG-FUN-BLOCKS, needed by target-disassem.lisp
590 ("src/code/debug-int" :not-host)
592 ;; target-only assemblerish stuff
593 ("src/compiler/target-disassem" :not-host)
594 ("src/compiler/target/target-insts" :not-host)
596 ("src/code/debug" :not-host)
598 ;; The code here can't be compiled until CONDITION and
599 ;; DEFINE-CONDITION are defined and SB!DEBUG:*STACK-TOP-HINT* is
601 ("src/code/parse-defmacro-errors")
603 ("src/code/bit-bash" :not-host) ; needs %NEGATE from assembly/target/arith
605 ("src/code/target-load" :not-host) ; needs special vars from code/load.lisp
606 ("src/compiler/target/sanctify" :not-host)
608 ;; FIXME: Does this really need stuff from compiler/dump.lisp?
609 ("src/compiler/target-dump" :not-host) ; needs stuff from compiler/dump.lisp
611 ("src/code/cold-init" :not-host) ; needs (SETF EXTERN-ALIEN) macroexpansion
613 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
614 ;; target macros and DECLAIMs installed at build-the-cross-compiler time
616 ;; Declare all target special variables defined by ANSI now, so that
617 ;; we don't have to worry about any of them being bound incorrectly
618 ;; when the compiler processes code which appears before the appropriate
619 ;; DEFVAR or DEFPARAMETER.
620 ("src/code/cl-specials")
622 ;; fundamental target macros (e.g. CL:DO and CL:DEFUN) and support
625 ("src/code/destructuring-bind")
626 ("src/code/early-setf")
629 ("src/code/late-setf")
631 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
633 ;; other target-code-building stuff which can't be processed until
634 ;; machinery like SB!XC:DEFMACRO exists
636 ("src/code/late-format") ; needs SB!XC:DEFMACRO
637 ("src/code/sxhash") ; needs SB!XC:DEFINE-MODIFY-MACRO
639 ("src/code/late-defbangmethod"))