sharath533 / mdcc

Sega Mega Drive GCC Based Toolchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mdcc - Mega Drive C Compiler Toolchain
======================================

Building
--------
To build the toolchain, just change into the root of the extracted
project and execute:

$ sh build.sh

By the end of this process, you should have a new directory called
"out".  This provides the entire toolchain and can be copied and
run from any location. This is what should be packaged.

Using
-----
You can now compile a sample project via:

$ out/bin/mdcc out/src/hello/main.c

This will prodice a final rom file called "rom.bin" in the current
working directory. This can be run in the emulator, i.e:

$ dgen rom.bin

Requires
--------
texinfo - to compile gcc
perl - to compile gcc
gmake - to compile gcc
xz - to extract gcc
clang - system compiler

Thanks
------
Much of this project is based on the SGDK and gendev projects. They
were a great source of tools, scripts and underlying documentation.

About

Sega Mega Drive GCC Based Toolchain


Languages

Language:C 81.7%Language:C++ 9.5%Language:Assembly 8.6%Language:Shell 0.2%