Hello,
I have just released the first version of a port of the vbcc compiler to the 6502 at:
http://www.compilers.de/vbcc.htmlIt contains a C compiler, assembler, linker and a very rushed port of a C Library for the C64.
A few of the good things:
- compiler is under active development
- supports C99 (variable-length arrays, designated initializers etc.)
- generates optimized code (I get >210 dhrystones/s on a C64, see sample directory)
- (limited) floating point support based on Steve Wozniaks code
- support for writing interrupt handlers
- attributes for putting variables into zero page
- supports stack-frames > 256 bytes
On the bad side, it needs more testing and some features are not yet fully implemented. Especially the C library is currently probably only usable for some tests as it is much too big and not at all optimized for 6502. Also, I do have not much experience with any 6502 machines beside the C64. For the future a C library that is optimized for the 6502 and supports more targets would be much desirable.
If you want to have a look at the compiler, I would be interested in hearing your results.
Best regards,
Volker