Page 1 of 1

Is there a X16 C complier ?

Posted: Sun Nov 01, 2020 7:27 pm
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!


Is there a X16 C complier ?

Posted: Sun Nov 01, 2020 7:31 pm
by Elektron72

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


Is there a X16 C complier ?

Posted: Sun Nov 01, 2020 7:54 pm
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.


Is there a X16 C complier ?

Posted: Mon Nov 02, 2020 10:25 am
by StinkerB06

CC65!


Is there a X16 C complier ?

Posted: Thu Nov 12, 2020 4:31 pm
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.


Is there a X16 C complier ?

Posted: Sun Feb 07, 2021 12:22 pm
by pzembrod

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