X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=build-order.lisp-expr;h=9987d2736e66b1695f2eec8ca22647ec5d05e391;hb=c43e3ee7e99bf8116402c2e6a90320b2e92b391b;hp=9db6817ef9904e78e8e1990d73dacf3abf90f811;hpb=42fcad110cd7e966c89bda8f5d3be96862ba1dbd;p=sbcl.git diff --git a/build-order.lisp-expr b/build-order.lisp-expr index 9db6817..9987d27 100644 --- a/build-order.lisp-expr +++ b/build-order.lisp-expr @@ -39,6 +39,10 @@ ;; This comes early because it's useful for debugging everywhere. ("src/code/show") + ;; This comes as early as possible, so that we catch the source locations + ;; for everything. + ("src/code/early-source-location") + ;; 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 @@ -101,6 +105,7 @@ ;; for various constants e.g. SB!XC:MOST-POSITIVE-FIXNUM and ;; SB!VM:N-LOWTAG-BITS, needed by "early-objdef" and others + ("src/compiler/generic/parms") ("src/compiler/target/parms") ("src/compiler/generic/early-vm") ("src/compiler/generic/early-objdef") @@ -167,6 +172,10 @@ ("src/code/target-error" :not-host) ("src/compiler/early-backend") + ;; "src/code/toplevel.lisp" si the first to need this. It's generated + ;; automatically by grovel_headers.c, i.e. it's not in CVS. + ("output/stuff-groveled-from-headers" :not-host) + ;; a comment from classic CMU CL: ;; "These guys can supposedly come in any order, but not really. ;; Some are put at the end so that macros don't run interpreted @@ -206,13 +215,12 @@ ("src/code/string" :not-host) ("src/code/mipsstrops" :not-host) - ;; "src/code/unix.lisp" needs this. It's generated automatically by - ;; grovel_headers.c, i.e. it's not in CVS. - ("output/stuff-groveled-from-headers" :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) + + ("src/code/common-os" :not-host) #!+mach ("src/code/mach-os" :not-host) #!+sunos ("src/code/sunos-os" :not-host) #!+hpux ("src/code/hpux-os" :not-host) @@ -220,6 +228,7 @@ #!+irix ("src/code/irix-os" :not-host) #!+bsd ("src/code/bsd-os" :not-host) #!+linux ("src/code/linux-os" :not-host) + #!+win32 ("src/code/win32-os" :not-host) ;; sparc-vm and ppc-vm need sc-offset defined to get at internal ;; error args. This file contains stuff previously in @@ -240,7 +249,8 @@ ;; FIXME: do we really want to keep this? -- CSR, 2002-08-31 #!+rt ("src/code/rt-vm" :not-host) - ("src/code/target-signal" :not-host) ; needs OS-CONTEXT-T from x86-vm + #!-win32 ("src/code/target-signal" :not-host) ; needs OS-CONTEXT-T from x86-vm + #!+win32 ("src/code/target-exception" :not-host) ("src/code/symbol" :not-host) ("src/code/bignum" :not-host) @@ -250,6 +260,7 @@ ("src/code/irrat" :not-host) ("src/code/char") + ("src/code/huffman") ("src/code/target-char" :not-host) ("src/code/target-misc" :not-host) ("src/code/misc") @@ -277,6 +288,7 @@ ("src/code/sort" :not-host) ("src/code/time" :not-host) + ("src/code/timer" :not-host) ("src/code/weak" :not-host) ("src/code/final" :not-host) @@ -380,6 +392,7 @@ ;; defines IR1-ATTRIBUTES macro, needed by proclaim.lisp ("src/compiler/knownfun") + ("src/compiler/constantp") ;; needs FUN-INFO structure slot setters, defined in knownfun.lisp ("src/compiler/fun-info-funs") @@ -408,10 +421,20 @@ ;; CHECK-FUN-NAME defined in proclaim.lisp. ("src/code/force-delayed-defbangstructs") + ;; early-full-eval uses !DEFSTRUCT-WITH-ALTERNATE-METACLASS and + ;; DEF!METHOD. It split out from the rest of full-eval because + ;; defstruct/metaclass fun makes it unslammable, and to define + ;; INTERPRETED-FUNCTION before it is used in compiler/main and in the + ;; definition of the COMPILED-FUNCTION type. + #!+sb-eval + ("src/code/early-full-eval") + ("src/code/typep" :not-host) ("src/compiler/compiler-error") + ("src/code/late-deftypes-for-target") + ("src/code/type-init") ;; Now that the type system is initialized, fix up UNKNOWN types that ;; have crept in. @@ -457,7 +480,8 @@ ("src/code/load") #!+linkage-table ("src/code/linkage-table" :not-host) - #!+os-provides-dlopen ("src/code/foreign-load" :not-host) + #!+(and os-provides-dlopen (not win32)) ("src/code/foreign-load" :not-host) + #!+(and os-provides-dlopen win32) ("src/code/win32-foreign-load" :not-host) ("src/code/foreign") ("src/code/fop") ; needs macros from code/load.lisp @@ -473,11 +497,12 @@ ("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") @@ -505,6 +530,8 @@ ("src/compiler/debug-dump") ("src/compiler/generic/utils") + ("src/compiler/fopcompile") + ("src/assembly/assemfile") ;; Compiling this file requires the macros SB!ASSEM:EMIT-LABEL and @@ -632,13 +659,19 @@ ("src/code/reader" :not-host) ; needs "code/readtable" ("src/code/target-stream" :not-host) ; needs WHITESPACEP from "code/reader" ("src/code/target-pathname" :not-host) ; needs "code/pathname" + ("src/code/unix-pathname" :not-host) + ("src/code/win32-pathname" :not-host) ("src/code/filesys" :not-host) ; needs HOST from "code/pathname" + ("src/code/save" :not-host) ; uses the definition of PATHNAME ; from "code/pathname" ("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) @@ -660,13 +693,26 @@ #!+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/ucs-2" :not-host) ;; The code here can't be compiled until CONDITION and ;; DEFINE-CONDITION are defined and SB!DEBUG:*STACK-TOP-HINT* is ;; declared special. ("src/code/parse-defmacro-errors") + #!+sb-eval + ("src/code/full-eval" :not-host) ; uses INFO, ARG-COUNT-ERROR + ("src/code/bit-bash" :not-host) ; needs %NEGATE from assembly/target/arith ("src/code/target-load" :not-host) ; needs special vars from code/load.lisp