[uClibc] Locale/Gettext support in uClibc and buildroot.

Gary, Wong gary_wong at hectrix.com
Wed Jul 7 09:21:53 UTC 2004


Hi all,

Does anyone experience with the GNU gettext linke with uclibc and 
buildroot. I have complie that simple test program with  gnu gettext 
(gettext- 0.11.5) linked with libintl.so, but it seems not work too. 
Could you give me some idea about that.

Regards,
Gary

Manuel Novoa III wrote:

>On Tue, Jul 06, 2004 at 04:00:38PM +0800, Gary, Wong wrote:
>  
>
>>I would like to know the locale/gettext support in uClibc and buildroot, 
>>as the Makefile notice that all the locale stuff only support for x86. 
>>How about other platform such as arm?
>>    
>>
>
>The pregenerated locale data is only guaranteed to work on x86.  People
>have built their own for other archs however.
>
>  
>
>>More, I wrote a test program of gettext, and made test.mo located in 
>>/usr/share/locale/<locale>/LC_MESSAGES/, but it didn't  show the  
>>translated testing string. What's wrong with the test program and the 
>>buildroot?  This code is work in my desktop when I compile and run it 
>>with glibc.
>>    
>>
>
>uClibc does not currently support the gettext api other than in a
>nonfunctional stub version.  I had planned to add such support and do a
>major reworking of the locale implementation as well, but other projects
>have taken priority.
>
>For now, you may link with gnu gettext.
>
>Manuel
>
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20040707/f35c7bd4/attachment.htm 


More information about the uClibc mailing list