This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Order of directory search for .mod files.
- From: Daniel Franke <franke dot daniel at gmail dot com>
- To: fortran at gcc dot gnu dot org
- Cc: David Ham <David dot Ham at imperial dot ac dot uk>
- Date: Thu, 5 Jun 2008 17:32:14 +0200
- Subject: Re: Order of directory search for .mod files.
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=PRbd3QFDIdn7MiP50VeFpBcDZjhzZ44CJZ6n/UFdeZ0=; b=nH7tfnEcb4WTn1DOzJukdUykmsgn603vMDPE8wZNwr6lexvGY0uj739Fm8xZWIr351 WfOO/RY92mU9GaYPOUvpB/A8T2DPNBHeG7KRRAoXHgD3kdtpBP+VQKz0wggboQqJK4Od 53tsBw5RC2fvlzCB7d/EMvj6uKPBSANvxE0hk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=IO3A0trQkHARpexiPhsUNpV2bE6ZuJ2o7RXOmRCUIBejX7uavAtMPTAYfQNb7ztW6p SeYldW+WCiKEhgAbtn5t7Hymq2ntmA+VNcHItbwAkbBnGZe1CACWSzGWefo37xic9GSX UkVRC6/NbiIpdp7O5z3U7GlQr6F5NQNiQVp3Q=
- References: <4847F336.3020604@Imperial.ac.uk>
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