posix and win32 enviornment

Shankar Unni shankar@cotagesoft.com
Mon Jul 7 22:12:00 GMT 2003


Igor Pechtchanski wrote:

> [...] you'll be using the MinGW libraries, and your
> program will not understand POSIX paths (i.e., you'll have to use Win32
> ones).

Well, to be totally, utterly nitpicky, I believe "/WinNT/System32" is a 
valid POSIX filename which will be understood by Win32 programs as well 
(assuming that their current drive is "C:" :-). At the API layer, Win32 
makes no distinction between "\" and "/" for filename separators (you 
can even open "//hostname/sharename/filename" from a Win32 program).

The \-/ distinction is mainly at the command level, where most MSFT 
commands interpret "/" as an option prefix.

But yes, you won't see your Cygwin mounts like "/usr/bin" from a MinGW 
(==Win32) program..



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list