URL
https://opencores.org/ocsvn/c0or1k/c0or1k/trunk
Subversion Repositories c0or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/c0or1k/trunk/conts/baremetal/hello_world
- from Rev 2 to Rev 5
- ↔ Reverse comparison
Rev 2 → Rev 5
/SConstruct
46,7 → 46,7
# We don't use -nostdinc because sometimes we need standard headers, |
# such as stdarg.h e.g. for variable args, as in printk(). |
CCFLAGS = ['-g', '-nostdlib', '-ffreestanding', '-std=gnu99', '-Wall', \ |
'-Werror', '-march=' + gcc_arch_flag], |
'-Werror'], |
LINKFLAGS = ['-nostdlib', '-T' + "include/linker.lds", "-u_start"],\ |
ASFLAGS = ['-D__ASSEMBLY__'], \ |
PROGSUFFIX = '.elf', # The suffix to use for final executable |