[Buildroot] [Bug 9336] Improve iconv support for external toolchain based builds

bugzilla at busybox.net bugzilla at busybox.net
Sun Oct 23 13:09:52 UTC 2016


https://bugs.busybox.net/show_bug.cgi?id=9336

Thomas Petazzoni <thomas.petazzoni at free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni at free-electrons.com> ---
There is already a Buildroot option to copy gconv modules to the target, it
just seems you missed it. In the toolchain menu, when a glibc toolchain is
used, you have:

  [*] Copy gconv libraries
  ()    Gconv libraries to copy

If you leave the second option empty, all gconv modules are copied to the
target. Otherwise, if it's non-empty, only the specified list of gconv modules
are copied.

I've just tested again today, leaving the list empty. Indeed, all gconv modules
are copied, and a simple C program that converts an UTF-8 string to CP1251
using iconv_open() / iconv() works just fine on the target.

The iconv binary itself is however indeed not copied. Maybe we should add an
option to copy additional binaries from the toolchain to the target? Could you
submit such a patch?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list