Finding the Documentation for a particular version of GCC, Clang, MSVC
I can never remember were to find the documentation for a particular compiler version. So here is a cheat sheet.
GCC
The URLs for a particular GCC version follow this pattern:
https://gcc.gnu.org/onlinedocs/gcc-major.minor.0/gcc/
major.minor is the version you are interested in. Note that the z component is always 0. For example, if you want to open the docs for GCC 13.2.1, the version string you need is 13.2.0.
Below is a quick-and-dirty link generator. It ensures the correct z component, but does not do any additional checks. You may end up with non-existing links. Simply enter the major.minor version. The links are generated on the fly.
Clang
The URLS for a particular Clang version follow this pattern:
https://releases.llvm.org/major.minor.0/tools/clang/docs/
major.minor is the version you are interested in. Note that the third version component is always 0. For example, if you want to open the docs for Clang 3.9.1, the version string you need is 3.9.0.
Below is a quick-and-dirty link generator. It ensures the correct z component, but does not do any additional checks. You may end up with non-existing links. Simply enter the major.minor version. The links are generated on the fly.
MSVC
Microsoft handles documentation differently. They have a dropdown list for the compiler version in the left sidebar, which defaults to the latest version.
Comments