[not x86 host; not glibc host; build error] bootstrapping uclibc with locale support: is it possible at all?

Filippo ARCIDIACONO filippo.arcidiacono at st.com
Thu Feb 24 10:01:51 UTC 2011


 

> -----Original Message-----
> From: uclibc-bounces at uclibc.org 
> [mailto:uclibc-bounces at uclibc.org] On Behalf Of Douglas Mencken
> Sent: Wednesday, February 16, 2011 10:19 PM
> To: uclibc at uclibc.org
> Subject: Re: [not x86 host; not glibc host; build error] 
> bootstrapping uclibc with locale support: is it possible at all?
> 
> I got in... I made uclibc with locale support from existing uclibc!
> 
> First, I did the script to simulate 'locale' command:
> http://ftp.osuosl.org/pub/manulix/scripts/build-scripts/PPFILE
> S/ppfiles-uclibc/locale
> 
> Then, I wrote two patches:
> http://ftp.osuosl.org/pub/manulix/scripts/build-scripts/PPFILE
> S/ppfiles-uclibc/gen_wc8bit.patch
> http://ftp.osuosl.org/pub/manulix/scripts/build-scripts/PPFILE
> S/ppfiles-uclibc/gen_wctype.patch

You don't need any patches to make locale support working on uClibc,
You need only the locale installed on your host as Rob suggested, this
Allow you to build locale data into the uClibc depending on uClibc
cunfiguration.
You can choose to build all locale (see extra/locale/LOCALES) or a 
subset removing the unneded one, reducing the size of the uclibc.
Alternatively you can to enable UCLIBC_BUILD_MINIMAL_LOCALE
(only UTF-8 and ISO-8859-1).
Hope this can help you.

Regards
Filippo Arcidiacono

> 
> The main purpose is to not to rely on some "existing" 
> "working" "on the host" std c lib.
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
> 


More information about the uClibc mailing list