incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: how does rw_locales() work on Windows?
Date Tue, 21 Aug 2007 15:58:18 GMT
> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Tuesday, August 21, 2007 6:38 PM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: how does rw_locales() work on Windows?
> 
> Farid Zaripov wrote:
> >> -----Original Message-----
> >> From: Martin Sebor [mailto:sebor@roguewave.com]
> >> Sent: Saturday, August 18, 2007 1:41 AM
> >> To: stdcxx-dev@incubator.apache.org
> >> Subject: how does rw_locales() work on Windows?
> >>
> >     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?

  We can't set PATH just before run test from the IDE - there is no
Pre-Run step.
The MSVC8 IDE has Envoronment field in Debugging page of the Project
Properties
dialog, but this field can be changed only manually. So we should either
add
%BUILDDIR%/bin in the PATH before run IDE or copy locale.exe and
localedef.exe
to the tests directory at Post-Build step. Both solutions are not
convinient as for me.

Farid.

Mime
View raw message