From 1f460d7d4fcbf29e21b3da77eab247f528f02f19 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Fri, 21 Nov 2014 05:15:29 +0100 Subject: os-specific toolchain! --- Makefile | 2 +- README.md | 1 + userspace/Makefile | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9ab1e7c..91e04e9 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ USB_STICK=/dev/sdf KERNEL_START=0x100000 #use our cross compiler -CC=i686-elf-gcc +CC=i686-foolos-gcc ############ compiler flags ############ CFLAGS= diff --git a/README.md b/README.md index 9449241..8a193ff 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,7 @@ Some might be disabled temporarily due to conflicts or regressions. Todos ----- +* hide cursor? * allow GRUB as bootloader (multiboot spec/ grub-mkrescue) * set up os-specific toolchain! * use linker script! diff --git a/userspace/Makefile b/userspace/Makefile index 18b5ded..7ae91ee 100644 --- a/userspace/Makefile +++ b/userspace/Makefile @@ -1,7 +1,7 @@ #i686-elf-gcc test.c -L/home/miguel/temp/fool-os-stuff/newlib-build-clean/i686-elf/newlib/ -I/home/miguel/temp/fool-os-stuff/newlib-2.1.0/newlib/libc/include/ -L/home/miguel/temp/fool-os-stuff/newlib-build-clean/i686-elf/libgloss/libnosys/ -CC=i686-elf-gcc -LD=i686-elf-ld +CC=i686-foolos-gcc +LD=i686-foolos-ld CFLAGS=-I.. -I/home/miguel/temp/fool-os-stuff/newlib-2.1.0/newlib/libc/include CFLAGS+=--no-builtin-malloc -- cgit v1.2.3