mirror of
https://github.com/cc65/cc65.git
synced 2025-01-16 13:31:16 +00:00
rofl0r
910ce5c1fd
build: properly quote strings passed as cpp macros
until now, the strings intended to be hardcoded into the binary, such as directory names and build id, were passed unquoted, which means they're interpreted by the preprocessor as C tokens, rather than strings, which can result in all sorts of "interesting" behaviour such as interpreting paths starting with // as C++-style comment. this was then worked around using a stringize macro which turned the tokens into a string (if they happened to be in a compatible format). adresses #1726
Contributing to the CC65 project.
The Wiki contains extra info that does not fit into the regular documentation.
cc65 is a complete cross development package for 65(C)02 systems, including a powerful macro assembler, a C compiler, linker, librarian and several other tools.
cc65 has C and runtime library support for many of the old 6502 machines, including
- the following Commodore machines:
- VIC20
- C16/C116 and Plus/4
- C64
- C128
- CBM 510 (aka P500)
- the 600/700 family
- newer PET machines (not 2001).
- the Apple ][+ and successors.
- the Atari 8-bit machines.
- the Atari 2600 console.
- the Atari 5200 console.
- the Atari 7800 console.
- GEOS for the C64, C128 and Apple //e.
- the Bit Corporation Gamate console.
- the NEC PC-Engine (aka TurboGrafx-16) console.
- the Nintendo Entertainment System (NES) console.
- the Watara Supervision console.
- the VTech Creativision console.
- the Oric Atmos.
- the Oric Telestrat.
- the Lynx console.
- the Ohio Scientific Challenger 1P.
- the Commander X16. <<<<<<< HEAD
- the Synertek Systems Sym-1. =======
2583dfb71
(Update README.md)
The libraries are fairly portable, so creating a version for other 6502s shouldn't be too much work.
Languages
C
62.4%
Assembly
35.6%
PHP
0.7%
Makefile
0.6%
Perl
0.3%
Other
0.3%