Hi Ceriel, C. Jacobs wrote, > Hi list and Waldemar, > > Yes, I am trying to cross-compile on Mac OS X for Linux embedded (mipselsf) > devices, within the Entware-ng environment. > > I did search for “BR2_ENABLE_LOCALE”, “BR2_USE_WCHAR”, > “BR2_TOOLCHAIN_BUILDROOT_LOCALE”, “BR2_TOOLCHAIN_BUILDROOT_WCHAR”, > “BR2_ENABLE_LOCALE" in the Entware-ng folder (like $ grep -lr > "BR2_ENABLE_LOCALE” *) without any results. > > How can I disable LOCALE support? > > > But the locale support in uClibc-ng is really crappy and it assumes > > a Linux host for some tools running on the host. > > I do still think that the issue here are that the headers (langinfo.h) can’t > be found. > > Is that more an issue of “toolchain” or of “uClibc-ng"?
A combination of your host toolchain and uClibc-ng. The code in gen_locale.c is using headers which are not provided by your host toolchain. They might be non-posix, I don't know. I seldom use locale support in uClibc-ng, but if you want to work on better cross-compilation in this area, I would accept patches. Where does someone could download the entware-ng you are using, I could take a look. Check the provided uClibc config, it might enable LOCALE, without a switch in the Buildroot-Clone. best regards Waldemar _______________________________________________ devel mailing list devel@uclibc-ng.org http://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel