uClibc-0.9.27 with locale for ntfs-3g

Filippo ARCIDIACONO filippo.arcidiacono at st.com
Fri May 16 02:04:40 PDT 2008


 

> -----Original Message-----
> From: uclibc-bounces at uclibc.org 
> [mailto:uclibc-bounces at uclibc.org] On Behalf Of Jorgen Lundman
> Sent: Friday, May 16, 2008 9:59 AM
> To: uclibc at uclibc.org
> Subject: Re: uClibc-0.9.27 with locale for ntfs-3g
> 
> 
> > 
> > There aren't any locale file that you need.
> > You have to recompile the uClibc adding the locale support doing:
> > - make menuconfig
> >    enable "Locale Support" into the "String and Stdio Support" menu.
> 
> Ah, I was not sure on this. There were Google results that 
> talked about /usr/lib/locale/locale.archive and so on. So 
> apart from uClibc library, I need no extra locale files?
Yes, you don't need any extra files. All locale data are embedded into the 
uClibc library.
/usr/lib/locale/locale.archive is used by glibc not uClibc.

> 
> I checked uClibc's menuconfig, and it does indeed set "Locale 
> Support". 
If you have locale support enabled you should have the iconv functions
Into the uClibc. Try the following command:
- readelf -s libc.so.0 | grep iconv

> Perhaps I have to force ntfs-3g to "see" iconv while cross compiling.
> 
> 
> > 
> > If you need the iconv tool you have to build also utility doing:
> > - make utils
> > 
> > So you can have the locale utility "iconv" and "locale", the latter 
> > Recently added to see the currently supported locale.
> 
> I do not need to binary tool itself, just the functionality 
> for ntfs-3g to be able to call iconv_ functions to translate 
> between encodings.
> 
> Thanks for your replies.
> 
> Lund
> 
> 
> 
> 
> 
> > 
> >> There was a separate tarball from 2003 with source code, is that 
> >> relevant?
> > The tarbal you refering are the locale pregenereted file 
> needed if We 
> > enable "Use pre-genereted Locale Data" also.
> >> The rootfs provided on the download page for
> >> mips32 appear to contain no locale files.
> >>
> >> Lund
> >>
> >>
> >> -- 
> >> Jorgen Lundman       | <lundman at lundman.net>
> >> Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
> >> Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
> >> Japan                | +81 (0)3 -3375-1767          (home)
> >> _______________________________________________
> >> uClibc mailing list
> >> uClibc at uclibc.org
> >> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
> >>
> > 
> > Regards,
> > Filippo Arcidiacono
> > 
> > 
> 
> -- 
> Jorgen Lundman       | <lundman at lundman.net>
> Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
> Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
> Japan                | +81 (0)3 -3375-1767          (home)
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
> 



More information about the uClibc mailing list