X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=build-order.lisp-expr;h=f606bc3ffab7675fad17e35b594b92d50aafde12;hb=aa8c8cd473f1d487fa2c1a7490c78a59b9955bbe;hp=d622fc82e1ace7971163e9511a823b9e267ebb53;hpb=ad3beba970fab6e451a461c9f9b14faf4ef17718;p=sbcl.git diff --git a/build-order.lisp-expr b/build-order.lisp-expr index d622fc8..f606bc3 100644 --- a/build-order.lisp-expr +++ b/build-order.lisp-expr @@ -23,7 +23,7 @@ ;;; instead, so that we could do automated incremental recompilation. ;;; But the dependencies are varied and subtle, and it'd be extremely ;;; difficult to extract them automatically, and it'd be extremely -;;; tedious and error-prone to extract them manually, so we don't +;;; tedious and error-prone to extract them manually, so we don't ;;; extract them. (It would be nice to fix this someday. The most ;;; feasible approach that I can think of would be to make the ;;; dependencies work on a package level, not an individual file @@ -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") @@ -142,7 +147,7 @@ ("src/code/defbangstruct") ("src/code/unportable-float") - + ("src/code/funutils" :not-host) ;; This needs DEF!STRUCT, and is itself needed early so that structure @@ -177,7 +182,7 @@ ("src/code/toplevel" :not-host) ("src/code/cold-error" :not-host) ("src/code/fdefinition" :not-host) - ;; FIXME: Figure out some way to make the compiler macro for INFO + ;; FIXME: Figure out some way to make the compiler macro for INFO ;; available for compilation of "code/fdefinition". ;; In classic CMU CL, code/type was here. I've since split that into @@ -211,8 +216,10 @@ ("output/stuff-groveled-from-headers" :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,13 +227,14 @@ #!+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 ;; debug-info.lisp. Should it therefore be :not-host? -- CSR, ;; 2002-02-05 ("src/code/sc-offset") - + ;; KLUDGE: I'd prefer to have this done with a "code/target" softlink ;; instead of a bunch of reader macros. -- WHN 19990308 #!+sparc ("src/code/sparc-vm" :not-host) @@ -240,7 +248,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 +259,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 +287,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) @@ -357,7 +368,7 @@ ;; 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) @@ -380,6 +391,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") @@ -392,7 +404,7 @@ ("src/code/class-init") ("src/code/typecheckfuns") - ;; The DEFSTRUCT machinery needs SB!XC:SUBTYPEP, defined in + ;; The DEFSTRUCT machinery needs SB!XC:SUBTYPEP, defined in ;; "code/late-type", and SB!XC:TYPEP, defined in "code/cross-type", ;; and SPECIALIZE-ARRAY-TYPE, defined in "compiler/generic/vm-type", ;; and SB!XC:PROCLAIM, defined in "src/compiler/proclaim" @@ -445,19 +457,20 @@ ("src/compiler/bit-util") ;; This has ASSEMBLY-UNIT-related stuff needed by core.lisp. - ("src/compiler/early-assem") + ("src/compiler/early-assem") ;; 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 ;; (and so that they don't cause lots of annoying compiler warnings - ;; about undefined types). + ;; about undefined types). ("src/compiler/generic/core") ("src/code/thread") ("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,6 +486,7 @@ ("src/compiler/dump") ("src/compiler/main") ; needs DEFSTRUCT FASL-OUTPUT from dump.lisp + ("src/code/source-location") ("src/compiler/target-main" :not-host) ("src/compiler/ir1tran") ("src/compiler/ir1tran-lambda") @@ -632,7 +646,10 @@ ("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" @@ -652,9 +669,15 @@ ("src/code/octets" :not-host) #!+sb-unicode - ("src/code/eucjp" :not-host) + ("src/code/external-formats/enc-cyr" :not-host) + #!+sb-unicode + ("src/code/external-formats/enc-dos" :not-host) + #!+sb-unicode + ("src/code/external-formats/enc-iso" :not-host) #!+sb-unicode - ("src/code/koi8-r" :not-host) + ("src/code/external-formats/enc-win" :not-host) + #!+sb-unicode + ("src/code/external-formats/eucjp" :not-host) ;; The code here can't be compiled until CONDITION and ;; DEFINE-CONDITION are defined and SB!DEBUG:*STACK-TOP-HINT* is @@ -664,8 +687,8 @@ ("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 - ("src/compiler/target/sanctify" :not-host) - + ("src/compiler/target/sanctify" :not-host) + ;; FIXME: Does this really need stuff from compiler/dump.lisp? ("src/compiler/target-dump" :not-host) ; needs stuff from compiler/dump.lisp @@ -683,7 +706,7 @@ ;; FIXME: here? earlier? can probably be as late as possible. Also ;; maybe call it FORCE-DELAYED-PROCLAIMS? ("src/compiler/late-proclaim") - + ;; fundamental target macros (e.g. CL:DO and CL:DEFUN) and support ;; for them ("src/code/defboot")