Dockerfile for AmigaOS Cross-Compiler Toolchain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sebastian Bergmann 859f40231b
1 week ago
.github Update FUNDING.yml 2 years ago
bin Bump 1 week ago
test Simplify 2 years ago
.dockerignore Minimize build context 2 years ago
.gitignore Ignore .lock file 12 months ago
Dockerfile Use Ubuntu 21.04 3 months ago Add link 5 months ago
build.xml Make test directory configurable (and use /tmp/docker-amiga-gcc-test by default) 1 year ago
screenshot.png Initial commit 3 years ago

Dockerfile for AmigaOS Cross-Compiler Toolchain

Dockerfile for Stefan "Bebbo" Franke's amiga-gcc toolchain for Linux/AmigaOS cross-development.

A ready-to-use image built from this Dockerfile is available on Docker Hub.

More information can be found here.

"Hello world!" Example


hello.c from Radosław Kujawa:

#include <proto/exec.h>
#include <proto/dos.h>

int main(int argc, void *argv[])
    struct Library *SysBase;
    struct Library *DOSBase;

    SysBase = *((struct Library **)4UL);
    DOSBase = OpenLibrary("dos.library", 0);

    if (DOSBase) {
        Write(Output(), "Hello world!\n", 13);


Standard C Library

hello.c from Radosław Kujawa:

#include <stdio.h>

int main()
    printf("Hello world!\n");



$ docker run -v $HOME:/host -it sebastianbergmann/amiga-gcc \
  m68k-amigaos-gcc /host/hello.c -o /host/hello -noixemul


Docker-ized Emulation using FS-UAE

The docker-execute-amiga script used below can be downloaded from here.

$ docker-execute-amiga helloworld


Docker-ized Emulation using Virtual AmigaOS (vamos)

$ docker run -v $HOME:/host sebastianbergmann/amitools:latest \
  vamos -C 68020 /host/hello
Hello world!