[uClibc]Question on gcc patch for native uClibc toolchain...

Steven J. Hill sjhill at realitydiluted.com
Fri Jul 26 14:15:20 UTC 2002


I've had no problems building the native uClibc toolchain
for MIPS both big and little endian. However, I would like
to better understand what this patch does precisely. Can
WCHAR be enabled in uClibc for the native toolchain? Thanks.

-Steve

***********************************************************************

diff -urN gcc-3.1/libstdc++-v3/include/c_shadow/bits/std_cstdlib.h 
gcc-3.1-patch
ed/libstdc++-v3/include/c_shadow/bits/std_cstdlib.h
--- gcc-3.1/libstdc++-v3/include/c_shadow/bits/std_cstdlib.h    Fri Nov 
  2 16:31
:03 2001
+++ gcc-3.1-patched/libstdc++-v3/include/c_shadow/bits/std_cstdlib.h 
Thu Jul
11 14:15:15 2002
@@ -134,11 +134,6 @@

    using _C_legacy::getenv;
    using _C_legacy::system;
-  using _C_legacy::mbtowc;
-  using _C_legacy::wctomb;
-  using _C_legacy::mbstowcs;
-  using _C_legacy::wcstombs;
-
    using _C_legacy::strtof;

  #ifdef _GLIBCPP_USE_LONG_LONG
@@ -150,8 +145,6 @@
    using _C_legacy::strtold;
  #endif

-  using _C_legacy::mblen;
-
    inline int
    abs(int __x) { return __x >= 0 ? __x : -__x; }

diff -urN gcc-3.1/libstdc++-v3/include/c_std/std_cstdlib.h 
gcc-3.1-patched/libst
dc++-v3/include/c_std/std_cstdlib.h
--- gcc-3.1/libstdc++-v3/include/c_std/std_cstdlib.h    Tue Mar 26 
22:49:33 2002
+++ gcc-3.1-patched/libstdc++-v3/include/c_std/std_cstdlib.h    Thu Jul 
11 14:16
:37 2002
@@ -101,9 +101,6 @@
    using ::labs;
    using ::ldiv;
    using ::malloc;
-  using ::mblen;
-  using ::mbstowcs;
-  using ::mbtowc;
    using ::qsort;
    using ::rand;
    using ::realloc;
@@ -112,8 +109,6 @@
    using ::strtol;
    using ::strtoul;
    using ::system;
-  using ::wcstombs;
-  using ::wctomb;

    inline long
    abs(long __i) { return labs(__i); }




More information about the uClibc mailing list