Gentoo Archives: gentoo-embedded

From: Sergey Mironov <ierton@×××××.com>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] glibc+iconv
Date: Thu, 13 Oct 2011 23:30:53
Message-Id: CAD+npnq_ATSq9dF6iZWRECFw8mCdR4hrNyoB7UYPzqvP1qYq4A@mail.gmail.com
In Reply to: Re: [gentoo-embedded] glibc+iconv by Mike Frysinger
1 2011/10/14 Mike Frysinger <vapier@g.o>:
2 > On Thursday 13 October 2011 15:15:40 Sergey Mironov wrote:
3 >> Hello. I have my arm-unknown-linux-gnueabi system which uses glibc and
4 >> busybox. Recently I realised that iconv program doesn't exist in the
5 >> tree. I've compared host's and target's glibc file lists and found
6 >> that arm's version doesn't install anything to
7 >> /usr/arm-unknown-linux-gnueabi/usr/bin. What can be the cause of this?
8 >> Small C program shows that iconv_open function returns error code just
9 >> like if there is no iconv at all. How shoud I make arm's iconv work?
10 >
11 > see glibc's files/eblits/src_compile.eblit:
12 >        is_crosscompile && sed -i '1ibuild-programs = no' config.make
13 >
14 > i imagine disabling that line will get you `iconv`
15 > -mike
16 >
17
18 Thanks, I will try it! Am I understand correctly that iconv itself
19 (library, not program) is a part of glibc and it is not possible to
20 exclude it during the build? So despite the lack of program I should
21 still have fully functional library.

Replies

Subject Author
Re: [gentoo-embedded] glibc+iconv Mike Frysinger <vapier@g.o>