Use a cross compiler.

This commit is contained in:
Nicolás Ortega Froysa 2018-02-27 00:50:27 +01:00
parent 3926fcb1c3
commit c78f0941f3
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF

View File

@ -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