🆕 运行文件系统中的二进制程序

This commit is contained in:
fslongjin
2022-05-06 00:25:32 +08:00
parent 099b24539a
commit 0aec6827ee
24 changed files with 673 additions and 68 deletions

12
user/libs/libc/Makefile Normal file
View File

@ -0,0 +1,12 @@
all: libc
CFLAGS += -I .
libc: unistd.o fcntl.o
unistd.o: unistd.c
gcc $(CFLAGS) -c unistd.c -o unistd.o
fcntl.o: fcntl.c
gcc $(CFLAGS) -c fcntl.c -o fcntl.o