Compare commits

..

No commits in common. "23a41dfbdd4b28e8601f19a5d941e0167acc4ead" and "b24035c51f345697b7f97d0acd1f3e03e44d13c0" have entirely different histories.

3 changed files with 3 additions and 12 deletions

View file

@ -17,10 +17,7 @@ CFLAGS = -Wall -Werror -O
CFLAGS += -Wno-unused-result
CFLAGS += -mcmodel=medany
CFLAGS += -march=rv64gc -mabi=lp64
CFLAGS += -ffreestanding
CFLAGS += -fno-common
CFLAGS += -nostdlib
CFLAGS += -mno-relax
CFLAGS += -ffreestanding -fno-common -nostdlib -mno-relax
CFLAGS += -fno-stack-protector # Prevents code that needs libc / runtime support
CFLAGS += -MD # Generate header dependency files (.d)

View file

@ -1,8 +0,0 @@
#ifndef _STDBOOL_H
#define _STDBOOL_H
/*TODO*/
typedef char bool;
enum { false = 0, true = 1 };
#endif

View file

@ -12,3 +12,5 @@ typedef unsigned long uint64_t;
typedef uint64_t size_t;
typedef uint64_t uintptr_t;
typedef u8 bool;