This is an old revision of the document!


Compilers for Atari Lynx

FIXME Add an introduction here

CC65 (Current, GitHub)

The CC65 compiler is a great starting point for Lynx coding - you can use it for both C and ASM compilation and linking.

Building CC65

CC65 can be built from source on any *NIX compatible system with the following commands. Note that these commands assume you want to get the latest source for CC65 and are only interested in compiling your code for the Lynx. CC65 can be used to compile for many other 6502 based systems, if you are after that, please adjust the targets accordingly.

git clone https://github.com/cc65/cc65.git --single-branch
cd cc65
make all TARGETS=lynx

Once CC65 is built, the cc65/bin directory will contain all of the binaries and cc65/lib will contain the Lynx library. To build Lynx code all you need to do is include the cc65/bin directory in your PATH.

Other Compilers

FIXME Add info on other compilers e.g. Karri's CC65 fork, NewCC65, etc.

Karri's CC65 Compiler

lynx/compilers.1611702243.txt.gz · Last modified: 2023/01/26 06:06 (external edit)
Atari is a registered trademark. This project is not endorsed by Atari.
CC Attribution-Share Alike 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International