Farid Zaripov wrote:
-----Original Message-----
From: Martin Sebor [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 18, 2007 1:41 AM
To: stdcxx-dev@incubator.apache.org
Subject: how does rw_locales() work on Windows?
The rw_locales() function defined in the driver invokes the
"locale -a" command regardless of the platform (i.e.,
including Windows). When I run tests that invoke the function
from within the IDE they produce errors because the locale
utility can't be found (it's probably not in PATH).
I'm curious: how do others run tests on Windows so that calls
to rw_locales() succeed ? Farid?
When I debug the single test, I have just copy locale.exe and
localedef.exe (and libstdxx.dll in dynamic builds) to some directory
in the path (i.e. c:\windows) and remove them later.
I see. That doesn't seem very convenient. I suppose the problem
is essentially the same as with stdcxx.dll not being in PATH when
I try to run programs from the IDE. It seems that we should have
a solution for this quirk. I can't see people being happy with
having to manually copy executables in order to run them. Do
you have any suggestions for how to deal with it?
Martin