----- Original Message ----- From: "Danny Smith" <dannysmith@xxxxxxxxxxxx> To: <syphus1@xxxxxxxxxxxxxxx> Cc: <GCC-help@xxxxxxxxxxx>; <mingw-users@xxxxxxxxxxxxxxxxxxxxx> > > 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