Fix oversight in the bootstrap procedure
Stage 0 is supposed to emit compiled versions of system.scm and compiler.scm. The compiler.scm bytecode wasn't emitted properly because the emitter put the two files' bytecode in two separate C variables instead of concatenating them into the same variable as they should be.
This commit is contained in:
+2
-4
@@ -113,8 +113,7 @@ cd ../scheme-core
|
||||
echo "Entering directory '$PWD'"
|
||||
echo "Creating stage 0 boot file..."
|
||||
set -x
|
||||
../"$builddir"/upscheme mkboot0.scm system.scm compiler.scm \
|
||||
>../scheme-boot/boot_image.h.new
|
||||
../"$builddir"/upscheme mkboot0.scm >../scheme-boot/boot_image.h.new
|
||||
mv ../scheme-boot/boot_image.h.new ../scheme-boot/boot_image.h
|
||||
|
||||
{ set +x; } 2>/dev/null
|
||||
@@ -129,8 +128,7 @@ cd ../scheme-core
|
||||
echo "Entering directory '$PWD'"
|
||||
echo "Creating stage 1 boot file..."
|
||||
set -x
|
||||
../"$builddir"/upscheme mkboot1.scm \
|
||||
>../scheme-boot/boot_image.h.new
|
||||
../"$builddir"/upscheme mkboot1.scm >../scheme-boot/boot_image.h.new
|
||||
mv ../scheme-boot/boot_image.h.new ../scheme-boot/boot_image.h
|
||||
|
||||
{ set +x; } 2>/dev/null
|
||||
|
||||
Reference in New Issue
Block a user