X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=build-order.lisp-expr;h=c31d5184334a38af6cdb1c09782b326fc5fe223f;hb=e0aff99a73d836da0dad4602e5559595fbe5ba5c;hp=27b9cc24b639b9cd8749b310065d7b9a0c7fee5b;hpb=d1e7b48b17180a417c41ed55eb382ebf6d4e7a2a;p=sbcl.git diff --git a/build-order.lisp-expr b/build-order.lisp-expr index 27b9cc2..c31d518 100644 --- a/build-order.lisp-expr +++ b/build-order.lisp-expr @@ -35,6 +35,7 @@ ( ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; miscellaneous + ("src/code/cross-early" :not-target) ;; This comes early because it's useful for debugging everywhere. ("src/code/show") @@ -43,6 +44,8 @@ ;; for everything. ("src/code/early-source-location") + ("src/code/early-constants") + ;; This comes early because the cross-compilation host's backquote ;; logic can expand into something which can't be executed on the ;; target Lisp (e.g. in CMU CL where it expands into internal @@ -157,9 +160,6 @@ ;; accessors.) ("src/code/type-class") - ("src/code/early-pcounter") - ("src/code/pcounter" :not-host) - ("src/code/ansi-stream" :not-host) ("src/code/sysmacs" :not-host) @@ -215,6 +215,7 @@ ("src/code/string" :not-host) ("src/code/mipsstrops" :not-host) + ("src/code/early-time" :not-host) ("src/code/unix" :not-host) #!+win32 ("src/code/win32" :not-host) #!+mach ("src/code/mach" :not-host) @@ -276,6 +277,7 @@ ("src/code/error-error" :not-host) ; needs WITH-STANDARD-IO-SYNTAX macro + ("src/code/deadline" :not-host) ("src/code/serve-event" :not-host) ("src/code/fd-stream" :not-host) @@ -345,7 +347,7 @@ ;; for e.g. DESCRIPTOR-REG, needed by primtype.lisp ("src/compiler/target/vm") - + ("src/code/xset") ;; for e.g. SPECIFIER-TYPE, needed by primtype.lisp ("src/code/early-type") @@ -365,16 +367,12 @@ ;; defining types ("src/compiler/parse-lambda-list") - ;; The following two files trigger function/macro redefinition - ;; warnings in clisp during make-host-2; as a workaround, we ignore - ;; the failure values from COMPILE-FILE under clisp. - ;; for DEFSTRUCT ALIEN-TYPE, needed by host-type.lisp - ("src/code/host-alieneval" #+clisp :ignore-failure-p) + ("src/code/host-alieneval") ;; can't be done until definition of e.g. DEFINE-ALIEN-TYPE-CLASS in ;; host-alieneval.lisp - ("src/code/host-c-call" #+clisp :ignore-failure-p) + ("src/code/host-c-call") ;; SB!XC:DEFTYPE is needed in order to compile late-type ;; in the host Common Lisp, and in order to run, it needs @@ -469,6 +467,9 @@ ;; This has ASSEMBLY-UNIT-related stuff needed by core.lisp. ("src/compiler/early-assem") + ;; This has the BARRIER stuff that the threading support needs. + ("src/code/barrier") + ;; core.lisp contains DEFSTRUCT CORE-OBJECT, and "compiler/main.lisp" ;; does lots of (TYPEP FOO 'CORE-OBJECT), so it's nice to compile this ;; before "compiler/main.lisp" so that those can be coded efficiently @@ -479,7 +480,8 @@ ("src/code/load") #!+linkage-table ("src/code/linkage-table" :not-host) - #!+(and os-provides-dlopen (not win32)) ("src/code/foreign-load" :not-host) + #!+os-provides-dlopen ("src/code/foreign-load" :not-host) + #!+(and os-provides-dlopen (not win32)) ("src/code/unix-foreign-load" :not-host) #!+(and os-provides-dlopen win32) ("src/code/win32-foreign-load" :not-host) ("src/code/foreign") @@ -491,17 +493,18 @@ ("src/compiler/trace-table") ; needs EMIT-LABEL macro from compiler/assem.lisp + ("src/code/debug-info") ;; Compiling this requires fop definitions from code/fop.lisp and ;; trace table definitions from compiler/trace-table.lisp. ("src/compiler/dump") ("src/compiler/main") ; needs DEFSTRUCT FASL-OUTPUT from dump.lisp + ("src/compiler/xref") ("src/code/source-location") ("src/compiler/target-main" :not-host) ("src/compiler/ir1tran") ("src/compiler/ir1tran-lambda") ("src/compiler/ir1-translators") - ("src/compiler/ir1-step") ("src/compiler/ir1util") ("src/compiler/ir1report") ("src/compiler/ir1opt") @@ -525,8 +528,6 @@ ("src/compiler/tn") ("src/compiler/life") - ("src/code/debug-info") - ("src/compiler/debug-dump") ("src/compiler/generic/utils") ("src/compiler/fopcompile") @@ -596,14 +597,14 @@ ("src/compiler/generic/late-type-vops") ;; KLUDGE: The assembly files need to be compiled twice: once as - ;; normal lisp files, and once by sb-c:assemble-file. We play some - ;; symlink games to make sure we don't scribble over anything we - ;; shouldn't, but these are actually the same files: - - ("src/compiler/assembly/target/assem-rtns") - ("src/compiler/assembly/target/array") - ("src/compiler/assembly/target/arith") - ("src/compiler/assembly/target/alloc") + ;; normal lisp files, and once by sb-c:assemble-file. We use a + ;; different suffix / "file type" for the :assem versions to make + ;; sure we don't scribble over anything we shouldn't. + + ("src/assembly/target/assem-rtns") + ("src/assembly/target/array") + ("src/assembly/target/arith") + ("src/assembly/target/alloc") ("src/assembly/target/assem-rtns" :assem :not-host) ("src/assembly/target/array" :assem :not-host) ("src/assembly/target/arith" :assem :not-host) @@ -625,6 +626,7 @@ ("src/compiler/copyprop") ("src/compiler/represent") + ("src/compiler/ir2opt") ("src/compiler/pack") ("src/compiler/codegen") ("src/compiler/debug") @@ -654,6 +656,8 @@ ("src/code/target-sap" :not-host) ; uses SAP-INT type ("src/code/target-package" :not-host) ; needs "code/package" ("src/code/target-random" :not-host) ; needs "code/random" + ("src/code/bignum-random" :not-host) ; needs "code/random" and + ; "code/bignum" ("src/code/target-hash-table" :not-host) ; needs "code/hash-table" ("src/code/reader" :not-host) ; needs "code/readtable" ("src/code/target-stream" :not-host) ; needs WHITESPACEP from "code/reader" @@ -667,7 +671,10 @@ ("src/code/sharpm" :not-host) ; uses stuff from "code/reader" ("src/code/alloc" :not-host) + ("src/code/early-step") ; target-thread needs *STEP-OUT* + ("src/code/target-thread" :not-host) + ;; defines SB!DI:DO-DEBUG-FUN-BLOCKS, needed by target-disassem.lisp ("src/code/gc" :not-host) ("src/code/purify" :not-host) @@ -680,6 +687,8 @@ ("src/code/debug" :not-host) ("src/code/octets" :not-host) + ("src/code/external-formats/enc-basic" :not-host) + ("src/code/external-formats/enc-ebcdic" :not-host) #!+sb-unicode ("src/code/external-formats/enc-cyr" :not-host) #!+sb-unicode @@ -689,9 +698,19 @@ #!+sb-unicode ("src/code/external-formats/enc-win" :not-host) #!+sb-unicode - ("src/code/external-formats/eucjp" :not-host) + ("src/code/external-formats/mb-util" :not-host) + #!+sb-unicode + ("src/code/external-formats/enc-cn-tbl" :not-host) + #!+sb-unicode + ("src/code/external-formats/enc-cn" :not-host) + #!+sb-unicode + ("src/code/external-formats/enc-jpn-tbl" :not-host) + #!+sb-unicode + ("src/code/external-formats/enc-jpn" :not-host) + #!+sb-unicode + ("src/code/external-formats/enc-ucs" :not-host) #!+sb-unicode - ("src/code/external-formats/ucs-2" :not-host) + ("src/code/external-formats/enc-utf" :not-host) ;; The code here can't be compiled until CONDITION and ;; DEFINE-CONDITION are defined and SB!DEBUG:*STACK-TOP-HINT* is @@ -732,6 +751,8 @@ ("src/code/macros") ("src/code/loop") ("src/code/late-setf") + ("src/code/cas") + ("src/code/late-cas") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; other target-code-building stuff which can't be processed until