https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931

--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Mon, May 04, 2020 at 01:33:43AM +0000, ryofurue at gmail dot com wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931
> 
> --- Comment #4 from Ryo Furue <ryofurue at gmail dot com> ---
> > 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.
> 
> I see your point!
> 
> So, should a library developer install the include files there (the directory
> where the intrinsic modules go)? I suppose that is the design?
> 
> Thanks for your patience!
> 

For my personal, projects I put libraries in ${HOME}/lib
and modules in ${HOME}/modules.  I don't use include files
above the library levels.  For a software developer, I
would put the libraries in ${INSTALLDIR}/lib and modules
in ${INSTALLDIR?/modules.  INSTALLDIR could be /usr/local,
and, of course, you would describe this in the user and
installation manuals.

Reply via email to