diff --git a/library/bootstrap/boot-stage1.factor b/library/bootstrap/boot-stage1.factor index a603258514..3a0e839922 100644 --- a/library/bootstrap/boot-stage1.factor +++ b/library/bootstrap/boot-stage1.factor @@ -317,7 +317,6 @@ sequences vectors words ; { "x86" "pentium4" } { "/library/compiler/x86/assembler.factor" "/library/compiler/x86/architecture.factor" - "/library/compiler/x86/alien.factor" "/library/compiler/x86/intrinsics.factor" } if-arch diff --git a/library/bootstrap/boot-stage2.factor b/library/bootstrap/boot-stage2.factor index 17f0155052..9317874b0a 100644 --- a/library/bootstrap/boot-stage2.factor +++ b/library/bootstrap/boot-stage2.factor @@ -10,30 +10,37 @@ parser sequences sequences-internals words ; "Cross-referencing..." print flush H{ } clone crossref set-global xref-words + cpu "x86" = [ + macosx? + "/library/compiler/x86/alien-macosx.factor" + "/library/compiler/x86/alien.factor" + ? + ] when + "compile" get [ "native-io" get [ unix? [ "/library/unix/load.factor" run-resource ] when ] when - + windows? [ "/library/windows/load.factor" run-resource ] when - + parse-command-line - + "Compiling base..." print flush - + [ \ + compile \ = compile { "kernel" "sequences" "assembler" } compile-vocabs - + "Compiling system..." print flush compile-all ] with-classstring write " compiled words" print - + [ symbol? ] word-subset length number>string write " symbol words" print - + all-words length - number>string write " words total" print - + number>string write " words total" print + "Total bootstrap GC time: " write gc-time number>string write " ms" print - + "Bootstrapping is complete." print "Now, you can run ./f factor.image" print flush - + "factor.image" resource-path save-image ] [ print-error listener ] recover