64 bit mode
This commit is contained in:
8
makefile
8
makefile
@@ -1,7 +1,7 @@
|
||||
CC = i386-elf-gcc
|
||||
LD = i386-elf-ld
|
||||
CC = x86_64-elf-gcc
|
||||
LD = x86_64-elf-ld
|
||||
|
||||
CFLAGS = -ffreestanding -m32
|
||||
CFLAGS = -ffreestanding -m64
|
||||
|
||||
all: .build/nub-os.iso
|
||||
|
||||
@@ -27,4 +27,4 @@ build-dir:
|
||||
$(CC) $(CFLAGS) -c -o .build/print.o src/print.c
|
||||
|
||||
.build/boot.o: build-dir src/boot.asm
|
||||
nasm -f elf32 -o .build/boot.o src/boot.asm
|
||||
nasm -f elf64 -o .build/boot.o src/boot.asm
|
||||
Reference in New Issue
Block a user