Added nostartfiles to Makefile.gcc in part11

This commit is contained in:
babbleberry 2024-02-23 22:21:52 +00:00
parent 376a918303
commit fea167dab3

View file

@ -1,9 +1,8 @@
CFILES = $(wildcard *.c lib/*.c) CFILES = $(wildcard *.c lib/*.c)
OFILES = $(CFILES:.c=.o) OFILES = $(CFILES:.c=.o)
GCCFLAGS = -Wall -O2 -ffreestanding -nostdinc -nostdlib GCCFLAGS = -Wall -O2 -ffreestanding -nostdinc -nostdlib -nostartfiles
GCCPATH = ../../gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf/bin GCCPATH = ../../gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf/bin
all: clean kernel8.img all: clean kernel8.img
boot/boot.o: boot/boot.S boot/boot.o: boot/boot.S