view kernel/make.py @ 295:917eab04b8b7

Added disasm
author Windel Bouwman
date Thu, 28 Nov 2013 21:10:32 +0100
parents 6aa721e7b10b
children 9417caea2eb3
line wrap: on
line source

#!/usr/bin/env python

import sys
import os
sys.path.insert(0, os.path.join('..', 'python'))
import zcc

arglist = ['memory.c3', 'kernel.c3', 'syscall.c3']
arglist += ['--target', 'arm']
arglist += ['--dumpasm']
arglist += ['--log', 'debug']

args = zcc.parser.parse_args(arglist)
zcc.main(args)