use of iconv() in main.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux