puppeh/GCC-6502 port of GCC to the 6502, C++

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems. See the NESdev wiki for more information.

Moderator: Moderators

Post Reply
User avatar
rainwarrior
Posts: 8734
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

puppeh/GCC-6502 port of GCC to the 6502, C++

Post by rainwarrior »

https://github.com/puppeh/gcc-6502

I don't know how I missed this in the past, seems like it's been around for a few years. Has anyone tried this one before?
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: puppeh/GCC-6502 port of GCC to the 6502, C++

Post by cpow »

rainwarrior wrote:https://github.com/puppeh/gcc-6502

I don't know how I missed this in the past, seems like it's been around for a few years. Has anyone tried this one before?
Cloning now. We shall see.
calima
Posts: 1745
Joined: Tue Oct 06, 2015 10:16 am

Re: puppeh/GCC-6502 port of GCC to the 6502, C++

Post by calima »

It didn't look too useful when I saw it, so didn't try.
This is a work-in-progress compiler, and many bugs remain. You can build code for semi65x (the included simulator), and limited support also exists for Acorn BBC Model B or Master computers (you may see some references to the C64, but that's not properly implemented yet). Adding support for other systems shouldn't be too hard - contact me if you'd like to try that!
User avatar
Bregalad
Posts: 8056
Joined: Fri Nov 12, 2004 2:49 pm
Location: Divonne-les-bains, France

Re: puppeh/GCC-6502 port of GCC to the 6502, C++

Post by Bregalad »

calima wrote:It didn't look too useful when I saw it, so didn't try.
Same here, although I'd say the concept is interesting.
Post Reply