Some improvements and bug fixes
This commit is contained in:
parent
e07d65cd54
commit
beb3af95fc
File diff suppressed because it is too large
Load Diff
13
run.sh
13
run.sh
@ -1,10 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
NEST_BUILD_DIR=build
|
||||||
|
NEST_EXE_NAME=nest
|
||||||
set -ex
|
set -ex
|
||||||
mkdir -p build
|
mkdir -p $NEST_BUILD_DIR
|
||||||
time clang++ \
|
time clang++ \
|
||||||
-o build/hatch \
|
-o $NEST_BUILD_DIR/$NEST_EXE_NAME \
|
||||||
bootstrap/main.cpp \
|
bootstrap/main.cpp \
|
||||||
bootstrap/entry.S \
|
bootstrap/entry.S \
|
||||||
|
`# -Oz` \
|
||||||
|
`# -march=native` \
|
||||||
|
`# -Wl,-strip-all` \
|
||||||
-g \
|
-g \
|
||||||
-std=gnu++23 \
|
-std=gnu++23 \
|
||||||
-Wall \
|
-Wall \
|
||||||
@ -19,5 +24,5 @@ bootstrap/entry.S \
|
|||||||
-fno-stack-protector \
|
-fno-stack-protector \
|
||||||
-ferror-limit=1 \
|
-ferror-limit=1 \
|
||||||
`#-ftime-report` \
|
`#-ftime-report` \
|
||||||
-MJ build/compile_commands.json
|
-MJ $NEST_BUILD_DIR/compile_commands.json
|
||||||
gf2 -ex r build/hatch
|
gf2 -ex r $NEST_BUILD_DIR/$NEST_EXE_NAME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user