This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Remaining host configuration fragments
> In that case I wonder if it's appropriate to declare
> HAVE_DOS_BASED_FILE_SYSTEM at all under cygwin. GCC currently does
> think it can get a drive letter in a pathname fed to it under
> cygwin...
Cygwin will automagically alter $PATH (and a few others) to have
posix-compliant unix-like paths, with ':' separators. This is
transparent to the application.
However, you can pass DOS paths to gcc *as parameters* like this:
C:\DOS> gcc c:\foo\bar.c
Cygwin will not change those for you.
So, colons in filenames are OK but colons in $PATH are separators.