Skip to content

Trea19/miniCC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

miniCC

mini C Compile

Environment

  • GNU Linux Release: Ubuntu 20.04, kernel version 5.15.0-76-generic
  • GCC version 9.4.0
  • GNU Flex version 2.6.4
  • GNU Bison version 3.5.1
  • SPIM version 8.0

Usage

Generate miniCC

cd src/
make
cd ../

Run

./miniCC test/test1.c [out1.s]

Test

Command Line

Before testing, make sure you've installed SPIM Simulator : sudo apt-get install spim

spim -file out1.s

GUI Install QtSPIM, and run out1.s

Clean

rm miniCC
rm *.s
cd src/
make clean

About

mini C Compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published