Some improvements and bug fixes

This commit is contained in:
David Gonzalez Martin 2024-06-28 22:31:45 +02:00
parent e07d65cd54
commit beb3af95fc
2 changed files with 597 additions and 286 deletions

File diff suppressed because it is too large Load Diff

13
run.sh
View File

@ -1,10 +1,15 @@
#!/bin/sh
NEST_BUILD_DIR=build
NEST_EXE_NAME=nest
set -ex
mkdir -p build
mkdir -p $NEST_BUILD_DIR
time clang++ \
-o build/hatch \
-o $NEST_BUILD_DIR/$NEST_EXE_NAME \
bootstrap/main.cpp \
bootstrap/entry.S \
`# -Oz` \
`# -march=native` \
`# -Wl,-strip-all` \
-g \
-std=gnu++23 \
-Wall \
@ -19,5 +24,5 @@ bootstrap/entry.S \
-fno-stack-protector \
-ferror-limit=1 \
`#-ftime-report` \
-MJ build/compile_commands.json
gf2 -ex r build/hatch
-MJ $NEST_BUILD_DIR/compile_commands.json
gf2 -ex r $NEST_BUILD_DIR/$NEST_EXE_NAME