This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Order of directory search for .mod files.


On Thursday 05 June 2008 16:07:50 David Ham wrote:
> We have recently noticed that gfortran appears to pick up .mod files
> from default locations in preference to directories specified by -I
> arguments on the command line. So, for example, if foo.mod is in
> /usr/include and foo.mod is in /home/bar/somedir and the user types:
>
> gfortran -I/home/bar/somedir ...
>
> then gfortran will pick up /usr/include/foo.mod . 

Which version are you referring to? 
Any recent built from svn or any of the released versions of 4.[23].x series?

Thanks

	Daniel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]