public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ned Ludd <solar@gentoo.org>
To: gentoo-embedded@lists.gentoo.org
Cc: flameeyes@gentoo.org
Subject: Re: [gentoo-embedded] ref bug 297229 (virutal/libiconv vs sys-libs/uclibc[iconv] vs sys-devel/gcc)
Date: Thu, 03 Jun 2010 16:02:00 -0700	[thread overview]
Message-ID: <1275606120.2949.3.camel@hangover> (raw)
In-Reply-To: <4C078710.8060808@wildgooses.com>

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




  reply	other threads:[~2010-06-03 23:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-03 10:42 [gentoo-embedded] ref bug 297229 (virutal/libiconv vs sys-libs/uclibc[iconv] vs sys-devel/gcc) Ed W
2010-06-03 23:02 ` Ned Ludd [this message]
2010-06-04 11:44   ` Ed W
2010-06-04 15:56     ` Peter Stuge
2010-06-04 23:20     ` solar
2010-06-07 10:20       ` Ed W

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1275606120.2949.3.camel@hangover \
    --to=solar@gentoo.org \
    --cc=flameeyes@gentoo.org \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox