This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [Mingw-users] Re: gcc-3.4.4 and the '-I' switch.
- From: "Sisyphus" <sisyphus1 at optusnet dot com dot au>
- To: <mingw-users at lists dot sourceforge dot net>
- Cc: <GCC-help at gcc dot gnu dot org>, <mingw-users at lists dot sourceforge dot net>
- Date: Thu, 12 Jan 2006 23:20:18 +1100
- Subject: Re: [Mingw-users] Re: gcc-3.4.4 and the '-I' switch.
- References: <000001c61753$f87d1830$c46d65da@anykey>
----- Original Message -----
From: "Danny Smith" <dannysmith@clear.net.nz>
To: <syphus1@optusnet.com.au>
Cc: <GCC-help@gcc.gnu.org>; <mingw-users@lists.sourceforge.net>
>
> I think the problem is that, because of lack of meaningful inode
> numbers, the mechanism to detect duplicate directories in
> gcc/c-incpath.c: remove_duplicates fails. Hence, we cannot ignore
> duplicates of system directories on mingw32. Replacing INO_T_EQ with a
> mingw-host function that does a strcmp of lrealpath() pathnames works.
>
I assume that a "strcmp of lrealpath() pathnames" will detect that, for
example, "D:/MinGW/include" and
"D:/MinGW/bin/../lib/gcc/mingw32/3.4.4/../../../../include" are one and the
same ? (Sorry - I'm ignorant of what the lrealpath function does.)
Anyway ... assuming that my assumption is correct :-) .... that sounds fine
to me.
Cheers,
Rob