* [Buildroot] uClibc locale support
@ 2009-06-23 10:53 Will Newton
2009-06-23 11:39 ` Bernhard Reutner-Fischer
0 siblings, 1 reply; 3+ messages in thread
From: Will Newton @ 2009-06-23 10:53 UTC (permalink / raw)
To: buildroot
Hi all,
The selection of locale support in the buildroot toolchain menu seems
a little confused. The top-level option is:
Enable locale/gettext/i18n support? BR2_ENABLE_LOCALE
Which will actually enable locale support in uClibc. There's also an
independent option to enable wide character support:
Enable WCHAR support BR2_USE_WCHAR
But the uClibc config selects UCLIBC_HAS_WCHAR if UCLIBC_HAS_LOCALE.is
selected, so surely this option should not be independent?
Also the "Purge unwanted locales" option is dependent on
BR2_ENABLE_LOCALE but would, I believe, be useful with a non-uClibc
locale setup using e.g. iconv.
I'm also not sure why gettext is mention in the menu entry?
The attached patch attempts to fix these issues. Any comments would be
appreciated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-toolchain-Clean-up-toolchain-locale-support-menu.patch
Type: application/octet-stream
Size: 1657 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090623/3751ced6/attachment.obj>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] uClibc locale support
2009-06-23 10:53 [Buildroot] uClibc locale support Will Newton
@ 2009-06-23 11:39 ` Bernhard Reutner-Fischer
2009-06-23 12:02 ` Will Newton
0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Reutner-Fischer @ 2009-06-23 11:39 UTC (permalink / raw)
To: buildroot
On Tue, Jun 23, 2009 at 11:53:43AM +0100, Will Newton wrote:
>Enable WCHAR support BR2_USE_WCHAR
>
>But the uClibc config selects UCLIBC_HAS_WCHAR if UCLIBC_HAS_LOCALE.is
>selected, so surely this option should not be independent?
It's perfectly fine to enable wchar support but not turn on this bloated
locale stuff.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] uClibc locale support
2009-06-23 11:39 ` Bernhard Reutner-Fischer
@ 2009-06-23 12:02 ` Will Newton
0 siblings, 0 replies; 3+ messages in thread
From: Will Newton @ 2009-06-23 12:02 UTC (permalink / raw)
To: buildroot
On Tue, Jun 23, 2009 at 12:39 PM, Bernhard
Reutner-Fischer<rep.dot.nop@gmail.com> wrote:
> On Tue, Jun 23, 2009 at 11:53:43AM +0100, Will Newton wrote:
>
>>Enable WCHAR support BR2_USE_WCHAR
>>
>>But the uClibc config selects UCLIBC_HAS_WCHAR if UCLIBC_HAS_LOCALE.is
>>selected, so surely this option should not be independent?
>
> It's perfectly fine to enable wchar support but not turn on this bloated
> locale stuff.
Certainly, but I am not sure if the inverse is true. So enabling
locale should select wchar support IMO.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-23 12:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-23 10:53 [Buildroot] uClibc locale support Will Newton
2009-06-23 11:39 ` Bernhard Reutner-Fischer
2009-06-23 12:02 ` Will Newton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox