Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
lynx:compilers [2021/01/25 22:07] Igorlynx:compilers [2023/01/26 06:06] – external edit 127.0.0.1
Line 3: Line 3:
 FIXME Add an introduction here FIXME Add an introduction here
  
-===== CC65 =====+===== CC65 (Current, GitHub) =====
  
 The [[https://cc65.github.io/|CC65 compiler]] is a great starting point for Lynx coding - you can use it for both C and ASM compilation and linking. The [[https://cc65.github.io/|CC65 compiler]] is a great starting point for Lynx coding - you can use it for both C and ASM compilation and linking.
Line 17: Line 17:
 <code> <code>
 git clone https://github.com/cc65/cc65.git --single-branch git clone https://github.com/cc65/cc65.git --single-branch
 +cd cc65
 make all TARGETS=lynx make all TARGETS=lynx
 </code> </code>
  
-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**.+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**. For example... 
 + 
 +<code> 
 +export CC65_HOME=`pwd` 
 +export PATH="$CC65_HOME/bin:$PATH" 
 +</code>
  
 ===== Other Compilers ===== ===== Other Compilers =====