Re: [Cegcc-devel] WCETRACE changes

2008-09-12 Thread Danny Backx
On Fri, 2008-09-12 at 15:29 -0700, Pawel Veselov wrote: > would it be interesting if I did the following changes to wcetrace facilities: > > * replace WCETRACE with the define that first evaluates the current > level and only then calls the trace printout. This will prevent > arguments from being

Re: [Cegcc-devel] Fail to compile gdb

2008-09-12 Thread Danny Backx
This is different with the arm-mingw32ce target which we should officially switch to. That't how I created the binary version that's on the SF download. No gdb changes required. Are the issues you refer to (can't get info on threads etc) known gdb issues ? Danny On Wed, 2008-09-10 at 15:

Re: [Cegcc-devel] libcwd will most likely fail on international characters

2008-09-12 Thread Nic Roets
Hi Danny, I don't know how to LC environment variables map to code pages, but I can tell you a few other things : 1. UTF-8 is THE standard : Internet, default set up for the fast majority of Linux users etc. etc. 2. CP_UTF8 is NOT supported on all WinCE (Core) devices. The solution is to not to u

[Cegcc-devel] WCETRACE changes

2008-09-12 Thread Pawel Veselov
Hi, would it be interesting if I did the following changes to wcetrace facilities: * replace WCETRACE with the define that first evaluates the current level and only then calls the trace printout. This will prevent arguments from being evaluated if the tracing is off for the specified level. * Pr

Re: [Cegcc-devel] libcwd will most likely fail on international characters

2008-09-12 Thread Danny Backx
Ah, I didn't get the detail of your first message right. So you're saying the CP_ACP is a bad idea. Do you (does anyone) know of a way to figure out which conversion to use ? Danny On Fri, 2008-09-12 at 02:26 -0700, Pawel Veselov wrote: > In windows, you specify what the target encoding

[Cegcc-devel] path for realpath()/getcwd()

2008-09-12 Thread Pawel Veselov
Hi, I've concocted this patch that adds realpath() function, and also fixes getcwd() to allocate the buffer dynamically, and also fail if the current directory doesn't exist. I also attached the test I used to test the patch. Thanks! Pawel. -- With best of best regards Pawel S. Veselov Index:

Re: [Cegcc-devel] libcwd will most likely fail on international characters

2008-09-12 Thread Pawel Veselov
In windows, you specify what the target encoding is. It's possible to convert to UTF-8, or other things, but the current implementation uses CP_ACP that requests the translation is done into ASCII encoding. I think in UNIX that is determined by one of them LC_* environment variables. On Fri, Sep 1

Re: [Cegcc-devel] libcwd will most likely fail on international characters

2008-09-12 Thread Sébastien Lorquet
I believed multibyte strings were using UTF-8, is it true or not? 2008/9/11 Danny Backx <[EMAIL PROTECTED]> > On Thu, 2008-09-11 at 11:25 -0700, Pawel Veselov wrote: > > Hi, > > > > I was looking at the libcwd... There is a XCEGetCurrentDirectoryA() > > function. It picks the current directory, t