Is there a X16 C complier ?

Chat about anything CX16 related that doesn't fit elsewhere
Post Reply
totodilespy
Posts: 29
Joined: Sun Nov 01, 2020 7:23 pm
Location: United States

Is there a X16 C complier ?

Post by totodilespy »


Sorry if I'm misplacing my post, but I'm wondering if anyone has written any kind of C complier for the X16. Thanks for the help!

Elektron72
Posts: 137
Joined: Tue Jun 30, 2020 3:47 pm

Is there a X16 C complier ?

Post by Elektron72 »


cc65 should work. A few recent updates have added support for the X16.

User avatar
StephenHorn
Posts: 565
Joined: Tue Apr 28, 2020 12:00 am
Contact:

Is there a X16 C complier ?

Post by StephenHorn »


cc65 definitely works, and @SlithyMatt has a tutorial for using it: His example hello world files are located at https://github.com/SlithyMatt/x16-hello-cc65

See also:


The only caveat to using cc65 is that you'll need to build it from the source code in their github repo, as they haven't released an official build with CX16 support yet. Fortunately, Matt's tutorial covers that as well.

Developer for Box16, the other X16 emulator. (Box16 on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
User avatar
StinkerB06
Posts: 74
Joined: Tue Jun 30, 2020 12:32 am
Contact:

Is there a X16 C complier ?

Post by StinkerB06 »


CC65!

My name is "The Beesh-Spweesh!". My account here keeps "StinkerB06" since you can't change your username at this forum.
pzembrod
Posts: 94
Joined: Sat Aug 29, 2020 9:21 pm

Is there a X16 C complier ?

Post by pzembrod »


In case you are looking for something hosted on the X16 itself: Porting https://github.com/pzembrod/cc64 to the X16 is on my roadmap.

pzembrod
Posts: 94
Joined: Sat Aug 29, 2020 9:21 pm

Is there a X16 C complier ?

Post by pzembrod »


And to close the loop on this: It's out: https://github.com/pzembrod/cc64/releases/tag/v0.8.0.1 and


 

Post Reply