Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: gentoo-embedded@l.g.o
Cc: flameeyes@g.o
Subject: Re: [gentoo-embedded] ref bug 297229 (virutal/libiconv vs sys-libs/uclibc[iconv] vs sys-devel/gcc)
Date: Thu, 03 Jun 2010 23:05:10
Message-Id: 1275606120.2949.3.camel@hangover
In Reply to: [gentoo-embedded] ref bug 297229 (virutal/libiconv vs sys-libs/uclibc[iconv] vs sys-devel/gcc) by Ed W
1 On Thu, 2010-06-03 at 11:42 +0100, Ed W wrote:
2 [snip]
3
4 > I guess the real question here is what's the best way to build glib
5 > under uclibc? Recommendations please?
6 >
7
8
9 mini-iconv.c or fake it.
10
11
12 +#ifndef HAVE_ICONV_H
13 +typedef void *iconv_t;
14 +
15 +static iconv_t iconv_open(const char *tocode, const char *fromcode)
16 +{
17 + return (iconv_t)(-1);
18 +}
19 +
20 +static int iconv_close(iconv_t cd)
21 +{
22 + free(cd);
23 +
24 + return 0;
25 +}
26 +
27 +static size_t iconv() {return 0;}
28 +#endif
29
30
31
32 --
33 Ned Ludd <solar@g.o>
34 Gentoo Linux

Replies