Skip to content

Commit

Permalink
docs: fix wrong clang version in update-alternatives
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeMouse92 committed Nov 29, 2023
1 parent edcd4ce commit 91cec48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/tools/cpp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ and configure this tool using the following commands.
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang-16 30
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 10
sudo update-alternatives --remove-all c++
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-9 30
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-16 30
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 10
Once you've set all that up, you can easily switch between options using the
Expand Down

0 comments on commit 91cec48

Please sign in to comment.