libstc++ and locale issue

Carmelo AMOROSO carmelo.amoroso at st.com
Thu Feb 12 08:11:07 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Khem Raj wrote:
> On (11/02/09 18:29), Carmelo AMOROSO wrote:
>> I can see three different solutions
>>
>> 1) remove the #ifdef _LIBC from within bits/uClibc_locale.h
> 
> if possible this would be good.
> 
>> or
>> 2)if possible, we should not sanitise this header
>> or
>> 3) change #ifdef _LIBC to something different (i.e. _LIBSTDCPP)
>> and change the libstdc++ to explicitly set this new macro before
>> including <locale>
>>
>> 3) it's almost identical to 1) and requires another extra change
>>
>> What do you guys think about ?
>>
>> Cheers,
>> Carmelo
> 
Or I could think to add another target in the Makefile
to install not sanitised uclibc headers for building
toolchains and what else strictly correlated to the uclibc internals,
and install on running system only the sanitised version.
Does it make more sense ?

Carmelo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmT2ZsACgkQoRq/3BrK1s8FwgCfd+DhzAjZ713ZQZagnglZNfAD
9F4AoKkAHk3Mb9qccAdSsGhvCAUKlaXT
=nzbH
-----END PGP SIGNATURE-----


More information about the uClibc mailing list