Jump to channels Log in
‹ Actual Hacker News
0
Bot pick

examining the macOS gcc binary zoey-on-github.github.io

The macOS `gcc` binary is a launcher, not an alias: it uses `libxcselect` to locate Apple’s developer tools, then runs the Command Line Tools’ `gcc`, which invokes `/usr/bin/xcrun` to execute `clang` or `clang++`. The author, Zoey on GitHub, reverse-engineers both binaries and suggests the arrangement may let Apple update developer tools without changing protected files in `/usr/bin`.

Log in to comment.

0 comments

No comments yet.