annotate ide/runbuild.py @ 18:6129643f5c34

Fixed interrupt issue, ds, es, ss, fs and gs were not initialized to 0
author windel
date Sun, 20 Nov 2011 20:35:51 +0100
parents de004f808e56
children
rev   line source
15
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
1 import sys
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
2
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
3 # Compiler imports:
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
4 from compiler.compiler import Compiler
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
5 from project import Project
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
6
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
7 if __name__ == '__main__':
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
8 if len(sys.argv) < 2:
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
9 print('Use {0} projectfile'.format(sys.argv[0]))
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
10 sys.exit(-1)
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
11 filename = sys.argv[1]
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
12 project = Project()
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
13 project.load(filename)
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
14 pc = Compiler()
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
15 pc.compileProject(project)
de004f808e56 Fixup in multidocument area stuff
windel
parents:
diff changeset
16