OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [baremetal/] [threads_demo/] [SConstruct] - Diff between revs 2 and 5

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 5
Line 44... Line 44...
 
 
env = Environment(CC = config.toolchain_userspace + 'gcc',
env = Environment(CC = config.toolchain_userspace + 'gcc',
                  # We don't use -nostdinc because sometimes we need standard headers,
                  # We don't use -nostdinc because sometimes we need standard headers,
                  # such as stdarg.h e.g. for variable args, as in printk().
                  # such as stdarg.h e.g. for variable args, as in printk().
                  CCFLAGS = ['-g', '-nostdlib', '-ffreestanding', '-std=gnu99', '-Wall', \
                  CCFLAGS = ['-g', '-nostdlib', '-ffreestanding', '-std=gnu99', '-Wall', \
                             '-Werror', '-march=' + gcc_arch_flag],
                             '-Werror'],
                  LINKFLAGS = ['-nostdlib', '-T' + "include/linker.lds", "-u_start"],
                  LINKFLAGS = ['-nostdlib', '-T' + "include/linker.lds", "-u_start"],
                  ASFLAGS = ['-D__ASSEMBLY__'],
                  ASFLAGS = ['-D__ASSEMBLY__'],
                  PROGSUFFIX = '.elf', # The suffix to use for final executable
                  PROGSUFFIX = '.elf', # The suffix to use for final executable
                  ENV = {'PATH' : os.environ['PATH']}, # Inherit shell path
                  ENV = {'PATH' : os.environ['PATH']}, # Inherit shell path
                  LIBS = ['libl4', 'libmalloc', 'c-userspace', 'libdev-userspace', \
                  LIBS = ['libl4', 'libmalloc', 'c-userspace', 'libdev-userspace', \

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.