Use a cross compiler.
This commit is contained in:
parent
3926fcb1c3
commit
c78f0941f3
8
Makefile
8
Makefile
@ -1,9 +1,9 @@
|
|||||||
ASM=nasm
|
ASM=nasm
|
||||||
BIN=bin
|
BIN=bin
|
||||||
CFLAGS=-ffreestanding -fno-pie -m32 -ansi
|
CC=i686-elf-gcc
|
||||||
CC=gcc
|
CFLAGS=-ffreestanding -fno-pie -ansi
|
||||||
LD=ld
|
LD=i686-elf-ld
|
||||||
LDFLAGS=-melf_i386 -Ttext 0x1000 --oformat binary
|
LDFLAGS=-Ttext 0x1000 --oformat binary
|
||||||
|
|
||||||
OBJ=kernel/kernel_entry.o kernel/kernel.o kernel/ports.o kernel/util.o drivers/screen.o
|
OBJ=kernel/kernel_entry.o kernel/kernel.o kernel/ports.o kernel/util.o drivers/screen.o
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user