From de010c54a0a89ad7288998e1101913d1e1639afb Mon Sep 17 00:00:00 2001 From: Bryan English Date: Thu, 29 Jan 2026 22:42:35 -0500 Subject: [PATCH] update fib-example --- rel-lang/.gitignore | 1 + rel-lang/fib-example/compile.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rel-lang/.gitignore b/rel-lang/.gitignore index 82f7d40..a41520b 100644 --- a/rel-lang/.gitignore +++ b/rel-lang/.gitignore @@ -2,3 +2,4 @@ target qemu/machine *.o *.asm +*.out diff --git a/rel-lang/fib-example/compile.sh b/rel-lang/fib-example/compile.sh index 24fe7a7..2e8be05 100644 --- a/rel-lang/fib-example/compile.sh +++ b/rel-lang/fib-example/compile.sh @@ -1,4 +1,4 @@ -../target/debug/relc fib.rel > fib.asm +../target/debug/relc fib.rel riscv64-unknown-linux-gnu-as -o fib.o fib.asm -riscv64-unknown-linux-gnu-cc -O1 -no-pie -o test fib.o putn.c -nostartfiles -./test +riscv64-unknown-linux-gnu-cc -O1 -no-pie -o test.out fib.o putn.c -nostartfiles +./test.out -- 2.43.0