User Tools

Site Tools


ugbasic:user:build
Translations of this page:


ugBASIC (Manuale Utente)

HOW TO BUILD THE COMPILER

FOREWORD

This is a step by step guide to download, compile and install the software needed to generate the “Commodore” targets. On this page you will find the complete list of available targets. The compiler makes use of the ca65 compiler to produce executables for the 6502 targets, while it uses the z80asm of z88dk compiler for others. As it makes use of advanced features, you need to install the latest version of each of these software.

LINUX

Step 1: install gcc compiler

  sudo apt install build-essential

Step 2: install CC65 compiler

  git clone https://github.com/cc65/cc65.git
  cd cc65
  make
  sudo -i
  export PREFIX=/usr/local
  make install
  exit

Step 3: generate the compiler (and the examples)

  make target=c64 output=prg clean all

WINDOWS

Work in progress

POWERED BY