Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lynx:compilers [2021/01/13 05:03] – [CC65] Igor | lynx:compilers [2024/04/17 22:33] (current) – Igor | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== CC65 ===== | ===== CC65 ===== | ||
- | %%The CC65 compiler is a great starting point for Lynx coding - you can use it for both C and ASM compilation and linking.%% | + | The [[https:// |
- | + | ||
- | FIXME Add an introduction and background here | + | |
* [[https:// | * [[https:// | ||
Line 13: | Line 11: | ||
* [[https:// | * [[https:// | ||
+ | ==== 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. | ||
+ | |||
+ | Note: Due to some " | ||
+ | |||
+ | < | ||
+ | git clone https:// | ||
+ | cd cc65 | ||
+ | make all TARGETS=lynx | ||
+ | </ | ||
+ | |||
+ | Once CC65 is built, the **cc65/ | ||
+ | |||
+ | < | ||
+ | export CC65_HOME=`pwd` | ||
+ | export PATH=" | ||
+ | </ | ||
+ | |||
+ | ==== LLVM-MOS ==== | ||
+ | |||
+ | [[https:// | ||
+ | __This section needs more details added.__ | ||
===== Other Compilers ===== | ===== Other Compilers ===== | ||
Line 18: | Line 39: | ||
FIXME Add info on other compilers e.g. Karri' | FIXME Add info on other compilers e.g. Karri' | ||
+ | [[https:// | ||