Skip to content

Amiga SDK

An SDK for classic AmigaOS programs (Kickstart 1.3 to 3.x, every 68k CPU) built with clang from clang-dos/llvm (--target=m68k-amigaos). It has:

  • the C library: picolibc with an AmigaOS layer (startup code, malloc, files, time), and the compiler-rt builtins, all built for the 68000;
  • the AmigaOS headers, compatible with Hyperion's NDK 3.2, built from the AROS headers with the SDK's changes and additions (see os/README.md);
  • libamiga.a: a stub for every OS library function, and the amiga.lib, debug.lib, ddebug.lib and reaction.lib helper functions;
  • examples, and scripts to run programs in vamos and FS-UAE.

Everything here can be redistributed: no file comes from the NDK, which is used only to check that the SDK's headers match it. tools/amiga-ndk.py can still install the NDK's own headers in their place, for those who want them.

clang --target=m68k-amigaos -O2 hello.c -o hello
clang --target=m68k-amigaos -mcpu=68020 -O2 window.c -o window

A picolibc program and its window on Kickstart 3.1 (A1200, FS-UAE).

A picolibc program and its window on Kickstart 3.1 (A1200, FS-UAE).