From a3c5134ee7581168947df8a050c332d7cb7aa426 Mon Sep 17 00:00:00 2001 From: Cody Date: Mon, 26 Jun 2023 23:41:21 -0500 Subject: Strings and so much more --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 1969d00..d4d648d 100755 --- a/build.sh +++ b/build.sh @@ -1,11 +1,11 @@ # Build Sloth -cargo build --features=llvm-sys/prefer-dynamic +cargo build # Compile standard library ./target/debug/sloth std/stdio.sloth mv output.o stdio.o ./target/debug/sloth std/stdlib.sloth -mv output.o stdlib.io +mv output.o stdlib.o ./target/debug/sloth std/stdmath.sloth mv output.o stdmath.o @@ -14,4 +14,4 @@ mv output.o stdmath.o mv output.o main.o # Generate binary -gcc stdio.o std/stdio.c stdlib.o std/stdlib.c stdmath.o std/stdmath.c main.o -o program +clang stdio.o std/stdio.c stdlib.o std/stdlib.c stdmath.o std/stdmath.c main.o -o program -- cgit v1.2.3