Fixup C++ compiler path in makefile of CoreLib

memcpy implementation added
This commit is contained in:
2023-02-25 20:04:34 +01:00
parent 644ff5b1f5
commit 745656eb2d
3 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,4 @@
CPP = ${HOME}/opt/cross/bin/i686-elf-g++
CPP = /opt/cross/bin/i686-elf-g++
CFLAGS = -ffreestanding -Og -ggdb -Wall -Wextra
BUILD_DIR = ../build/CoreLib
@ -12,6 +12,7 @@ all: $(OUTPUTFILE)
cp *.h $(BUILD_DIR)/include/CoreLib
$(OUTPUTFILE): $(OFILES)
pwd
ar -rc $(OUTPUTFILE) $(OFILES)
$(OBJ_FOLDER)/memory.o: Memory.cpp