stdlibc: \!perror()
[meinos.git] / Makefile.config
blob7dddb58f2a490a9acac57ca36565f7b0680d08ff
1 # Macros for kernel
2 KERNEL_CC      = gcc
3 KERNEL_AR      = ar
4 KERNEL_LD      = ld
5 KERNEL_ASM     = nasm
6 KERNEL_STRIP   = strip
7 KERNEL_OBJDUMP = objdump
8 KERNEL_CFLAGS  = -ffreestanding -Werror -Wall -nostdlib -nostartfiles -nodefaultlibs -Iinclude -I../include
9 KERNEL_LIBS    = libgcc.a ../lib/libmeinos/*.o ../lib/stdlibc/*.o
11 # Macros for libraries
12 LIBS_CC      = gcc
13 LIBS_AR      = ar
14 LIBS_ASM     = nasm
15 LIBS_CFLAGS  = -ffreestanding -Wall -Werror -nostdlib -nostartfiles -nodefaultlibs -I../../include -I../../../include
17 # Macros for applications
18 GCC_TOOLCHAIN = /usr/meinos
19 APPS_CC            = $(GCC_TOOLCHAIN)/bin/i586-pc-meinos-gcc -fno-builtin -Wall -Werror
20 APPS_LD            = $(GCC_TOOLCHAIN)/bin/i586-pc-meinos-ld
21 #APPS_STRIP         = $(GCC_TOOLCHAIN)/bin/i586-pc-meinos-strip
22 APPS_STRIP         = true
23 APPS_OBJDUMP       = $(GCC_TOOLCHAIN)/bin/i586-pc-meinos-objdump