All of lore.kernel.org
 help / color / mirror / Atom feed
From: urban@UNIX-Beratung.de (Robert Urban)
To: lm-sensors@vger.kernel.org
Subject: use of iconv() in main.c
Date: Thu, 19 May 2005 06:25:12 +0000	[thread overview]
Message-ID: <200408161049.i7GAnbWi016673@localhost.localdomain> (raw)
In-Reply-To: <200408160857.i7G8vTrs027501@localhost.localdomain>


You wrote:
> > I'm building an embedded linux system using uClibc, which by default
> > does not have locale support.  In order to build lm_sensors-2.8.7
> > I had to comment out the code that refers to iconv() in set_degstr() 
> > (in main.c), as well as the "#include <iconv.h>" line.
> > 
> > It might save others a bit of trouble if you made the use of locales
> > an option...
> 
> Is there a way we could detect the use of uClibc? If there is a known #define,
> we could use it to automatically disable the use of iconv.

In the case of cross-compiling, there is probably a way of detecting it's use.
However, I'm using a chroot-environment and then just running make
with the defaults.

Rob Urban

  parent reply	other threads:[~2005-05-19  6:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:25 use of iconv() in main.c Robert Urban
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Robert Urban
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Robert Urban
2005-05-19  6:25 ` Robert Urban [this message]
2005-05-19  6:25 ` Jean Delvare

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=200408161049.i7GAnbWi016673@localhost.localdomain \
    --to=urban@unix-beratung.de \
    --cc=lm-sensors@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.