This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: posix and win32 enviornment


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]