https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931
--- Comment #3 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Mon, May 04, 2020 at 01:13:22AM +0000, ryofurue at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 > > --- Comment #2 from Ryo Furue <ryofurue at gmail dot com> --- > Thanks for the detailed description. > > > > % gfcx -v -o z a.f90 | & grep -- -fin > > > > yields > > > > -fintrinsic-modules-path > > /usr/home/kargl/work/lib/gcc/i586-unknown-freebsd13.0/10.0.0/finclude > > So, I wonder if it is possible and would make sense to include > that information in the output of `--print-search-dirs` ? > Why? --print-search-dirs does not include information about C/C++ include paths. The documentation states '-print-search-dirs' Print the name of the configured installation directory and a list of program and library directories 'gcc' searches--and don't do anything else. There is only place gfortran will search for files that it installs for intrinsic modules, openmp files, and openacc files. There are no user files here.