This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello Thomas! Hello All! Thomas, I'm very sorry for the delay, I have much on-going ATM: bisecting a toolchain build is quite time consuming... :-( On Friday 24 October 2008 12:23:14 Thomas Petazzoni wrote: > When enabling locales in crosstool-ng, uClibc doesn't get compiled with > locale support (UCLIBC_HAS_LOCALE remains unset in uClibc .config). The > following patch fixes this. Anyway, last I looked, locales *were* broken in uClibc. Just tried with the following code, and with any locale set: #include <stdio.h> int main( int argc, char** argv ) { return printf( "float: '%f'\n", (float)1.0 ); } And it turned up being printed as: float: '10' No decimal character, even with the C or POSIX locales... :-( > However, the patch doesn't set UCLIBC_PREGENERATED_LOCALE_DATA, but > uClibc configuration strongly suggests to use it. Maybe we should > conform to this recommandation ? Yes, definitely. It won't build/work without pre-generated locales data, anyway. Care to resend, please? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ | | --==< ^_^ >==-- `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | `------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |