Failed to make h8300 toolchain.

ariga masahiro ariga@link-lab.co.jp
Wed Jun 24 08:14:00 GMT 2009


Hello Khem and everyone,

Thank you, Khem.
When I patched and coufigured again I succeeded to install h8300 toolchain.
I appreciate your helpness.

-- Khem  wrote
you could try this patch/workaround

--- libstdc++-v3/./include/std/bitset.org 2009-06-23 
11:48:50.000000000 -0700
+++ libstdc++-v3/./include/std/bitset 2009-06-23 11:49:58.000000000 -0700
@@ -1228,7 +1228,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GL
         size_t __pos, size_t __n, _CharT __zero, _CharT __one)
       {
  reset();
- const size_t __nbits = std::min(_Nb, std::min(__n, __len - __pos));
+ const size_t __tmp = __len - __pos;
+ const size_t __nbits = std::min(_Nb, std::min(__n, __tmp));
  for (size_t __i = __nbits; __i > 0; --__i)
    {
      const _CharT __c = __s[__pos + __nbits - __i];

Masahiro Ariga



--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list