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"?
--
Best regards,
Ceriel
Op 21 nov. 2016, om 10:56 heeft Waldemar Brodkorb <wbx(a)uclibc-ng.org> het volgende
geschreven:
> Hi Ceriel,
> C. Jacobs wrote,
>
>> Hi Waldemar,
>>
>> First question: Can I sent this message directly, or better via list
devel(a)uclibc-ng.org?
>
> Better via list, so the answers are in the archive. And maybe
> someone else can help, too.
>
>> Preface: I am trying to build a new package within the Entware-ng environment and
have little ‘C’ knowledge.
>>
>> I am stuck at Entware-ng its make process. That stops at uClibc-1.0.16
gen_locale:
>>> error: use of undeclared identifier ‘ERA_YEAR’
>>
>> I do think that the issue is that:
>>
./build_dir/toolchain-mipsel_mips32r2_gcc-5.3.0_uClibc-1.0.16/uClibc-ng-1.0.16/extra/locale/gen_locale.c
>> can’t find
>>
./build_dir/toolchain-mipsel_mips32r2_gcc-5.3.0_uClibc-1.0.16/uClibc-ng-1.0.16/include/langinfo.h
>>
>> How to best fix this situation?
>
> Disable LOCALE support.
> I think you are cross-compiling from MacOS X. That's normally not a
> problem, I use Mac OS X every dy to cross-compile my Linux embedded
> system stuff.
But the locale support in uClibc-ng is really crappy
and it assumes
a Linux host for some tools running on the host.
>
> best regards
> Waldemar