Remaining host configuration fragments

DJ Delorie dj@redhat.com
Mon Jan 14 14:59:00 GMT 2002


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



More information about the Gcc mailing list