[fpc-pascal] widestring related? problem on arm (2.3.1)
Terry Kemp
klc at klc.net.nz
Mon Nov 3 20:53:39 CET 2008
On Mon, 2008-11-03 at 19:14 +0100, Jonas Maebe wrote:
> On 03 Nov 2008, at 01:06, Terry Kemp wrote:
>
> > I'm getting a runtime error 231 when starting program on arm.
> > Stems from ANSI2WIDEMOVE in cwstring.pp returning ESysEBADF (9).
> >
> > Do I need to define something on arm for widestrings?
>
> Run time error 231 in the unix wide string manager means that iconv
> returned an unexpected error code (in the sens that it's not supported
> by the code in the cwstring unit). Since you already compiled the
> cwstring unit with debug information, you can step into it (or set a
> breakpoint) and see what the error code is (or just add a writeln).
> Once you find out, it'll probably be easier to figure out what the
> problem is.
Thanks Jonas - the error no is 9 - ESysEBADF - System error: Bad file
number.
The same code runs on x86_64 no probs and has been working on arm, but
its been a month or so since I tried it on the arm hardware.
I will install gdb on arm and see whats up.
Terry
More information about the fpc-pascal
mailing list