gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Gnu-arch-users] Arch On Cygwin(Win32)


From: Parker, Ron
Subject: RE: [Gnu-arch-users] Arch On Cygwin(Win32)
Date: Thu, 13 Nov 2003 15:18:06 -0600

> -----Original Message-----
> From: Robert Collins [mailto:address@hidden

> On Thu, 2003-11-13 at 20:26, Karel Gardas wrote:

> > - do clean Arch Win32 port w/o a need for Cygwin. Here required GNU
tools
> >   might be provided/compiled by MinGW.

> And you assume that the MSVCRT runtime (which mingw targets) using
> unicode paths automatically?! I'm not at all sure that it does. If it
> doesn't do it automatically, then you have a worse problem than cygwin:
> X separate sets of code to update, rather than one thunk layer to fix.

I don't advise this path either, but in the interest of simply answering the
question:

MSVCRT at least imports all four Create{File,Directory}[AW] API calls.  But
to get the runtime to use the ...W forms one must call the _w... functions
instead of the standard ones, e.g. _wopen instead of open.

MSVCRT never implicitly converts between MBS and WCS representations, and it
certainly does not automatically implement the "\\?\" hack.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]