os

An operating system
git clone https://erai.gay/code/os/
Log | Files | Refs | README | LICENSE

commit 5de2af32a51e88ddb3f57d16cd337351d5349f8c
parent d9e7d85d63936012c9b2a923a9d1520f6eca28f8
Author: erai <erai@omiltem.net>
Date:   Wed,  7 May 2025 14:24:51 -0400

add -std=c89 to bootstrap

Diffstat:
Mbootstrap.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bootstrap.sh b/bootstrap.sh @@ -5,7 +5,7 @@ LIBS="bufio.om lib.om alloc.om syscall.om" SOURCES="cc1.om cc4.om type.om as.om decl.om node.om ir.om ircout.om rb.om table.om lexer.om lalr.om x86.om syscall.x86.om" # Build the bootstrap compiler from c -[ cc0 -nt cc0.c ] || ${CC:-gcc} -O1 -g ${BOOTSTRAP} -o cc0 +[ cc0 -nt cc0.c ] || ${CC:-gcc} -std=c89 -O1 -g ${BOOTSTRAP} -o cc0 ./cc0 ${LIBS} ${SOURCES} -o cc1 -n cc1.lines -G cc1.call # Double check the bootstrap and self hosting compiler have the same output