This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54725] cross gfortran always searches host paths (e.g. /usr/include)
- From: "xarthisius.kk at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Sep 2012 06:00:32 +0000
- Subject: [Bug fortran/54725] cross gfortran always searches host paths (e.g. /usr/include)
- Auto-submitted: auto-generated
- References: <bug-54725-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54725
Kacper Kowalik <xarthisius.kk at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xarthisius.kk at gmail dot
| |com
--- Comment #2 from Kacper Kowalik <xarthisius.kk at gmail dot com> 2012-09-27 06:00:32 UTC ---
(In reply to comment #1)
> You forgot to explain what you think is not quite right.
> gfortran searches only directories where it may have
> installed some modules and directories that you explicitly
> add via -I.
Because when you do cross compilation you don't want your compiler to pick up
host modules. Apart from that ^^ shouldn't frontends behave in a consistent
manner?