mirror of
https://github.com/clang-retro/mac-sdk.git
synced 2026-11-28 13:19:22 -08:00
build-sysroot.sh builds one directory with all that is necessary to compile and link applications for 68k and PowerPC: the Toolbox headers, the builtins (libmacrt.a), picolibc and the Mac layer (libc.a, libmacos.a, libmacconsole.a), and libstdc++, libsupc++ and libunwind when GCC_SRC is set. It also has macapp.py, the linkers, the CPU emulators, the examples and the license of each part. macapp.py finds include/ and lib/ in the directory above its own, so it works in the sysroot without this source tree. tests/sysroot.sh builds the examples and the libc, thread, socket, Open Transport and C++ tests with the sysroot only, and runs them as a 68000, a 68020 and a PowerPC in sim68k.py and simppc.py. CI runs it. docs/sysroot.md tells how to get, use and build the sysroot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRVa9XHXnwA5L6Sjog3 Signed-off-by: Neo-Desktop <321592+Neo-Desktop@users.noreply.github.com>