[Mingw-users] Re: gcc-3.4.4 and the '-I' switch.
Sisyphus
sisyphus1@optusnet.com.au
Thu Jan 12 12:22:00 GMT 2006
----- 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
More information about the Gcc-help
mailing list