lesson 23, steps 1 and 2

This commit is contained in:
Carlos
2015-08-18 10:14:06 +02:00
parent 0134c5625c
commit 92ff191c3d
4 changed files with 54 additions and 6 deletions

View File

@@ -7,8 +7,7 @@ OBJ = ${C_SOURCES:.c=.o cpu/interrupt.o}
CC = /usr/local/i386elfgcc/bin/i386-elf-gcc
GDB = /usr/local/i386elfgcc/bin/i386-elf-gdb
# -g: Use debugging symbols in gcc
CFLAGS = -g -m32 -nostdlib -nostdinc -fno-builtin -fno-stack-protector -nostartfiles -nodefaultlibs \
-Wall -Wextra -Werror
CFLAGS = -g -ffreestanding -Wall -Wextra -fno-exceptions
# First rule is run by default
os-image.bin: boot/bootsect.bin kernel.bin