macOSを更新したらgccを忘れない
$ gcc
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
なんじゃこりゃー!
メッセージは新しいけどやるべきことは一緒だったっぽい
https://developer.apple.com/forums/thread/711512
$ xcode-select --install
xcode-select: note: install requested for command line developer tools
gccじゃないgccの起動を確認ヨシ
$ gcc --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin