Sign inSign up

gstolarz/cc65

By gstolarz

Updated over 2 years ago

CC65 - a freeware C compiler for 6502 based systems.

Image
1

10K+

gstolarz/cc65 repository overview

Docker images with CC65

Building Docker images

Building Docker image based on Ubuntu
docker build -t gstolarz/cc65 -t gstolarz/cc65:2.19 \
  --build-arg CC65_VERSION=2.19 .
Building Docker image based on Alpine
docker build -t gstolarz/cc65:alpine -t gstolarz/cc65:2.19-alpine \
  --build-arg CC65_VERSION=2.19 -f Dockerfile-alpine .

How to use?

Compiling file for Atari XL/XE target
docker run --rm -u $(id -u):$(id -g) -v $PWD:/workdir gstolarz/cc65:alpine \
  cl65 -Oirs -t atarixl -o example.xex example.c
Compiling file for C64 target
docker run --rm -u $(id -u):$(id -g) -v $PWD:/workdir gstolarz/cc65:alpine \
  cl65 -Oirs -t c64 -o example.prg example.c

Tag summary

Content type

Image

Digest

sha256:77e59f1cd

Size

37.2 MB

Last updated

over 2 years ago

docker pull gstolarz/cc65