9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

gnu.mk (454B)


      1 TOOLCFLAGS = -g -static -nostdinc -ffreestanding -std=c99 -fno-stack-protector -MD
      2 TOOLLDFLAGS = -static -z nodefaultlib
      3 
      4 COMP = gcc
      5 ASM = as
      6 LINKER = ld
      7 OBJDUMP = objdump
      8 OBJCOPY = objcopy
      9 RANLIB = ranlib
     10 ARCHIVE = ar
     11 
     12 ARFLAGS = -U
     13 LINKSCRIPT = -T $(BUILDDIR)/tool/gnu.ld
     14 NOPIE_CFLAGS = -nopie
     15 NOPIE_LDFLAGS = -nopie
     16 OS9_CFLAGS = -mgeneral-regs-only --no-pie -march=armv8.1-a
     17 ARM32_CFLAGS = -marm
     18 ARM32_LDFLAGS = -lgcc
     19 ARMV81_ASFLAGS = -march=armv8.1-a