C Missing GCC manual page?

Hi.Recently I installed GCC on FreeBSD-15.1 using the gcc meta package with pkg.It appears that this package doesn't provide documents for gcc.I looked up all the packages related to gcc and found no one providing thee manual page as well.Is it me failing to find it,or when building gcc-related packages on FreeBSD the manual page wasn't included?
 
Sometimes the man page(s) of a installed package doesn't correspond to its name, but here are ways to find the manual(s) of a installed package.

One is to use apropos(1):
Code:
 % apropos gcc
g++13, gcc(1) - GNU project C and C++ compiler
g++14, gcc(1) - GNU project C and C++ compiler
gcc13, gcc(1) - GNU project C and C++ compiler
gcc14, gcc(1) - GNU project C and C++ compiler

Another method, a more fine grained search, is to use pkg-info(8), with the -l, --list-files Display all files installed by pkg-name. option. This will show a complete list of the packages installed files, including all man pages.

For convenience that pkg-info(8) l, --list-files option has an alias ( "list" , see pkg-alias(8)).

For example:
Code:
 %  pkg  info  |  grep  gcc
gcc13-13.3.0_5                 GNU Compiler Collection 13
gcc14-14.2.0_6                 GNU Compiler Collection 14

%  pkg  list  gcc14  |  grep  man/
/usr/local/share/man/man1/cpp14.1.gz
/usr/local/share/man/man1/g++14.1.gz
/usr/local/share/man/man1/gcc14.1.gz
/usr/local/share/man/man1/gcov-dump14.1.gz
/usr/local/share/man/man1/gcov-tool14.1.gz
/usr/local/share/man/man1/gcov14.1.gz
/usr/local/share/man/man1/gfortran14.1.gz
/usr/local/share/man/man1/lto-dump14.1.gz
 
Back
Top