-
Notifications
You must be signed in to change notification settings - Fork 1
sethgregory/sgcc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
SGCC - Seth Gregory C Compiler Seth Gregory, Final Project December 14th / Extension Feb 4th ---------------------------------- A full automated test suite can be run by simply typing: > make test To compile SGCC and run manually, in the directory containing the source, type: > make Next, to run SGCC, invoke the program on a source file as shown below: > ./sgcc test.c or, for full verbose/debug output: > ./sgcc test.c -v The compiler will save a MIPS assembly file in the same directory as, and with the same filename as the C input program, but with a ".s" file extension. Finally, to execute in spim, type: > spim -file test.s ---------------------------------- Slides/Presentation can be viewed and downloaded at: https://docs.google.com/present/view?id=ddzczn9r_30gh45cr9m
About
C Compiler
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published