# Toolchain for CMU 15-213 notes and code.
#
# The code is real C, built with make. You need:
#   - a C compiler: clang (Apple/LLVM) or gcc
#   - make
# On macOS these come with the Xcode Command Line Tools:
#   xcode-select --install
# On Debian/Ubuntu:
#   sudo apt-get install build-essential
#
# Needed from Lecture 3 on (machine-level programming):
#   - python3 >= 3.9  (standard library only; no pip packages needed) for the
#     x86-64 simulator code/lecture03/x86sim.py and its demos
#   - objdump (LLVM's on macOS, GNU binutils on Linux) for disassembly
#   - an x86-64 C compiler: the normal one on an x86-64 machine; on Apple Silicon
#     `cc -arch x86_64`; on arm64 Linux the gcc-x86-64-linux-gnu cross compiler
#
# Optional:
#   - AddressSanitizer / UndefinedBehaviorSanitizer (bundled with clang and gcc)
#   - gdb or lldb, valgrind (for the debugging lecture)
#
# Architecture note:
#   CS:APP targets x86-64. On an Apple-Silicon (arm64) Mac, the architecture-
#   sensitive demos are ALSO cross-compiled and run under Rosetta 2:
#       clang -arch x86_64 ...     # needs Rosetta 2:  softwareupdate --install-rosetta
#   On an x86-64 Linux/Mac machine the cross targets are simply skipped.
#
# There are NO Python package dependencies; this file documents the system
# tools rather than listing pip installs.
