[fpc-pascal] Android and cwstring

Sven Barth pascaldragon at googlemail.com
Thu Aug 1 21:58:51 CEST 2013

On 01.08.2013 20:43, Torsten Bonde Christiansen wrote:
> On 2013-07-31 20:57, Sven Barth wrote:
>> On 31.07.2013 20:55, Felipe Monteiro de Carvalho wrote:
>>> On Wed, Jul 31, 2013 at 8:51 PM, Sven Barth
>>> <pascaldragon at googlemail.com> wrote:
>>>> The cwstring of Android uses the ICU library libicuuc.so.
>>> Is this available in the NDK for one of the higher API levels? It is
>>> not in the list for API level 8.
>> I don't know, I have merely quoted the commit message for when
>> cwstring was changed from a stub to a more complete implementation for
>> Android. If it is truly not available in lower API levels then I'd
>> suggest to use fpwidestring anyway...
> hmmm.... i can't get fpwidestring to work, it seem that it is not
> compiled during a normal compiler build. The same goes for all of the
> collation units.
> Should i add and special defines to get them compiled or is it a bug in
> the makefile?

How exactly did you compile?

As described in the wiki with "make crossall OS_TARGET=android 
CPU_TARGET=arm ..." in the top level directory? In that case it should 
be compiled and a fpwidestring.ppu should be located in the 
$fpcsrc/rtl/units/arm-android directory.


More information about the fpc-pascal mailing list