C userspace programs
This commit is contained in:
3
mk/arch/toolchain-x86_64.mk
Normal file
3
mk/arch/toolchain-x86_64.mk
Normal file
@ -0,0 +1,3 @@
|
||||
CC := x86_64-elf-gcc
|
||||
LD := x86_64-elf-ld
|
||||
AR := x86_64-elf-ar
|
13
mk/user/x86_64.mk
Normal file
13
mk/user/x86_64.mk
Normal file
@ -0,0 +1,13 @@
|
||||
CFLAGS += -m64 \
|
||||
-fPIE \
|
||||
-mno-80387 \
|
||||
-mno-mmx \
|
||||
-mno-sse \
|
||||
-nostartfiles \
|
||||
-nostdlib \
|
||||
-mno-sse2 \
|
||||
-mno-red-zone \
|
||||
-fno-stack-protector \
|
||||
-fno-stack-check \
|
||||
-fno-builtin \
|
||||
-Os \
|
Reference in New Issue
Block a user