Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ただし、次のように入力すると機能します。
$ gcc-4.2
がインストールされている場所を見つけgcc-4.2て、そのディレクトリに移動します。
gcc-4.2
$ cd $(which gcc-4.2)
gcc シンボリック リンクがあるかどうかを確認します。
$ ls gcc
存在しない場合は、作成します。
$ ln -s gcc-4.2 gcc
わかりました。Xcode > Preferences > Downloads にコマンド ライン ツールをインストールした後は、すべて問題ありませんでした。