I've had Xcode & the command line tools installed for a while. Recently I wanted to start playing with the TianoCode EDK II, which for macOS requires the
mtoc command from
cctools (of which
ld64 is a dependency).
The Xcode command line tools appear to contain
cctools, as evidenced by this output (
➜ xcrun otool --version llvm-otool(1): Apple Inc. version cctools-927.0.2 Apple LLVM version 10.0.1 (clang-1001.0.46.4) ...
However, there appears to be no
mtoc command available:
➜ xcrun mtoc xcrun: error: unable to find utility "mtoc", not a developer tool or in PATH ➜ which mtoc mtoc not found
The Apple open source repository version of
cctools contains the source for
mtoc, so why doesn’t the default installation? (Or am I just being dumb?)