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
-
Write programs
C programs, OS calls and the link library functions: what works as in POSIX and how to call the OS.
-
The headers
The AmigaOS headers and libamiga.a: where they come from and how they match the NDK.
-
Run and test
vamos, FS-UAE and the test suite, on Kickstart 1.3 to 3.1.
-
Get it
The sysroot ships in the clang-dos toolchain package, or build it yourself.
