Mail Archives: cygwin-developers/1998/12/29/18:27:49
On Tue, Dec 29, 1998 at 06:29:37PM -0600, Mumit Khan wrote:
>Geoffrey Noer <noer AT cygnus DOT com> writes:
>> FYI, I've submitted the following patch to the EGCS folks. Now it
>> continues to print Win32 paths but with forward slashes instead of
>> backslashes. This should make everything happy (configure and make
>> seem to like the change at least...).
>
>As long as we understand the caveat that GCC now will not accept
>paths like '-Ifoo\\bar' since most of the pathname logic uses the
>following type of code:
>
> if (path[x] == '/' || path[x] == DIR_SEPARATOR)
> ...
>
>I of course am quite happy to see this change, but thought I should
>point this out. In fact, now that I think about, this is possibly
>the better compromise than what I wanted to do -- completely removing
>support for non-POSIX paths (which included changing DIR_SEPARATOR
>to '/' and also removing the definition for GET_ENV_PATH_LIST).
>
>With this change, the only possible complaint could be from folks
>using the output of `gcc -print-search-dirs', expecting ':' as the
>path separator and getting ';' instead.
I am a little worried about that. I am also worried about the fact that
since this bypasses the mount table a -print-search-dirs will output
absolute Win32 paths that could change tomorrow if someone decides that
they want to make a mount point mean something different.
I guess we'll see...
cgf
- Raw text -