From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-embedded+bounces-3479-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1OKJTK-0007xM-3Z
	for garchives@archives.gentoo.org; Thu, 03 Jun 2010 23:05:10 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B4A8CE0B2A
	for <garchives@archives.gentoo.org>; Thu,  3 Jun 2010 23:05:09 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 7A3AFE0AC1
	for <gentoo-embedded@lists.gentoo.org>; Thu,  3 Jun 2010 23:02:03 +0000 (UTC)
Received: from [172.17.185.127] (ip-216-36-74-3.sjc.megapath.net [216.36.74.3])
	(using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTP id EBA0F642FE;
	Thu,  3 Jun 2010 23:02:02 +0000 (UTC)
Subject: Re: [gentoo-embedded] ref bug 297229 (virutal/libiconv vs
 sys-libs/uclibc[iconv] vs sys-devel/gcc)
From: Ned Ludd <solar@gentoo.org>
To: gentoo-embedded@lists.gentoo.org
Cc: flameeyes@gentoo.org
In-Reply-To: <4C078710.8060808@wildgooses.com>
References: <4C078710.8060808@wildgooses.com>
Content-Type: text/plain; charset="us-ascii"
Organization: Gentoo Linux
Date: Thu, 03 Jun 2010 16:02:00 -0700
Message-ID: <1275606120.2949.3.camel@hangover>
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@lists.gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3.1 
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 590281f7-7ac7-4d95-8639-399cfc9c4cd8
X-Archives-Hash: 03b70494e5a4994d41525f7e6aec4cb0

On Thu, 2010-06-03 at 11:42 +0100, Ed W wrote:
[snip]

> I guess the real question here is what's the best way to build glib 
> under uclibc? Recommendations please?
> 


mini-iconv.c or fake it.


+#ifndef HAVE_ICONV_H
+typedef void *iconv_t;
+
+static iconv_t iconv_open(const char *tocode, const char *fromcode)
+{
+       return (iconv_t)(-1);
+}
+
+static int iconv_close(iconv_t cd)
+{
+       free(cd);
+
+       return 0;
+}
+
+static size_t iconv() {return 0;}
+#endif



-- 
Ned Ludd <solar@gentoo.org>
Gentoo Linux