Re: [Mingw-users] Re: gcc-3.4.4 and the '-I' switch.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- 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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux