This is the mail archive of the crossgcc@sources.redhat.com 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]

uClibc 0.9.18 + libstdc++ + wide chars problem.


Hallo!

Is it possible to build the uClibc/libstdc++ combination without wide character
support? What I'm doing is:

   - Building uClibc with UCLIBC_HAS_WCHAR unset.
   - configuring libstdc++ with --disable-c-mbchar option

uClibc builds without problems, but libstdc++ gives the following errors:

In file included from ../../../../gcc-3.2.2/libstdc++-v3/libsupc++/eh_alloc.cc:33:
/cross/tmp/build/arm-uclibc-linux-gcc/arm-uclibc-linux/libstdc++-v3/include/cstdlib:104: `
   mblen' not declared
/cross/tmp/build/arm-uclibc-linux-gcc/arm-uclibc-linux/libstdc++-v3/include/cstdlib:105: `
   mbstowcs' not declared
/cross/tmp/build/arm-uclibc-linux-gcc/arm-uclibc-linux/libstdc++-v3/include/cstdlib:106: `
   mbtowc' not declared
/cross/tmp/build/arm-uclibc-linux-gcc/arm-uclibc-linux/libstdc++-v3/include/cstdlib:115: `
   wcstombs' not declared
/cross/tmp/build/arm-uclibc-linux-gcc/arm-uclibc-linux/libstdc++-v3/include/cstdlib:116: `
   wctomb' not declared

When I build everything with UCLIBC_HAS_WCHAR set to y, everything compiles without
any problems.

Thanks!
-- 
 \   / |			           |
 (OvO) |  Michael Ivanov                   |
 (^^^) |                                   |
  \^/  |      E-mail:  ivans at isle dot spb dot ru   |
  ^ ^  |                                   |


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe at sources dot redhat dot com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]