On Wed, Aug 01, 2007 at 01:36:26PM +0000, Thorsten Glaser wrote:
> Hi everyone again,
>
> trunk seems to build fine again with locale support. But here are a few
> numbers:
>
> -rw-r--r-- 1 tg freewrt 32860 Jul 27 07:47 libm-0.9.28.so
> -rw-r--r-- 1 tg freewrt 79632 Aug  1 13:04 libm-0.9.28.so
>
> The first one is libm from FreeWRT 1.0, the second one from trunk just now.
> C99 math support weighs in at about 48 kB, but on the other hand, disabling
> it will probably gain us only 40K or so because we still need some of the
> newer functions integrated.
>
> Plus, when comparing 1.0 and trunk, the latter is in general 3-5% larger.
>
> Waldemar asked me to ???make it a configurable option because it enlarges
> µClibc by 300K??? ??? but seeing these numbers, I don't think I should do it,
> because current software does require a ISO C99 compliant math library
> these days. Opinions?
>
> -rw-r--r-- 1 tg freewrt 458156 Jul 27 07:47 libuClibc-0.9.28.so
> -rw-r--r-- 1 tg freewrt 517880 Aug  1 13:04 libuClibc-0.9.28.so
>
> Again, 1.0 vs trunk. I've integrated the most basic locale support;
> ???en_US.UTF-8??? is supported as an alternative to ???C???.
>
> -rw-r--r-- 1 tg freewrt 465428 Jul 26 12:20 libuClibc-0.9.28.so
>
> This is a little older trunk, so locale support is paid for with
> about 50K of code/data. This isn't much; I'm thinking of making a
> configure option but default it to on. Seeing we desupported most
> of the 4MB targets, I wonder if the option is needed anyway ??? they
> are VERY difficult to implement for µClibc because changing them
> always requires a ???make cleandir??? (for the mere user).

Hi Thorsten,

I agree with you with the C99 math support. We can drop the fake library
which makes some places cleaner.

For the locale support, I do not see the really need of it. It is still
an embedded plattform with limited resources. The place where I need
language support is commonly the UI, which should be a web interface
(and this hopefully works without locale support in the libc).

Btw., have you take a look into the new version of uClibc (0.9.29)?

Dirk
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to