[fpc-pascal] Android and cwstring
Torsten Bonde Christiansen
tc at epidata.info
Thu Aug 1 22:22:50 CEST 2013
On 2013-08-01 21:58, Sven Barth wrote:
> 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.
I did that, but I also included a "crossinstall" which installed the
units to somewhere else in my home dir.
However now that i compare the $fpcsrc/rtl/units/arm-android with
$install_dir/rtl/units/arm-android some of the files are missing - this
includes the fpwidestring and collation files... strange?
More information about the fpc-pascal