From: Alex P. <pes...@ma...> - 2012-07-25 09:18:01
|
On 07/24/12 17:25, Adriano dos Santos Fernandes wrote: > On 24/07/2012 10:15, Alex Peshkoff wrote: >>> The problem is that some things (specially unicode_util) was added to >>> common, but in fact, it's a piece needed only in engine and intl libraries. >>> >> Do you want to say that a member of static library, not used to resolve >> symbols during link, will anyway cause errors when it references >> non-existent library? I've always thought that ld is not so foolish. >> >> > No, as we saw, it is working in trunk. Never tried to build/run on a box without ICU :) > It's not the greatest design, but... > Do you think that creating separate library for intl-related things is better? I'm not sure... Any better suggestion? I can rework posix build schema easily. > As I pointed it out, Android SDK/NDK has no ICU library and then our > client (which technically does not need ICU) does not build without > first manually build/install ICU. Weird. > Taking into an account that our final aim is to build full firebird for android, not _too_ weird. But returning to full build. ICU is always present on android devices. Here is short abstract from google docs: > Locale > data > > > > Note that locale data comes solely from ICU. User-supplied locale > service providers (using the java.text.spi or java.util.spi mechanisms) > are not supported. > > Here are the versions of ICU (and the corresponding CLDR and Unicode > versions) used in various Android releases: > cupcake/donut/eclair ICU 3.8 [318]CLDR 1.5 [319]Unicode 5.0 > froyo ICU 4.2 [320]CLDR 1.7 [321]Unicode 5.1 > gingerbread/honeycomb ICU 4.4 [322]CLDR 1.8 [323]Unicode 5.2 > ice cream sandwich ICU 4.6 [324]CLDR 1.9 [325]Unicode 6.0 > jelly bean ICU 4.8 [326]CLDR 2.0 [327]Unicode 6.0 It's clear why it's not present in official API - ICU did not provide backward compatibility in new versions. But our trunk can work with any version! I.e. the only problem I see particularly for android port - is how to better provide correct platform.h for android on arm? |