------- Comment #6 from dn dot tlp at gmx dot net  2006-02-20 08:20 -------
(In reply to comment #5)
> I got the same problems for gcc-3.4.3. I fixed the iovec error by inserting
> 
> struct iovec {
>       void *iov_base;
>       size_t iov_len;
> };
> 
> ssize_t writev (int filedes, const struct iovec *vector, int count);
> 
> at line 133 in gcc-3.4.3-obj/i586-pc-msdosdjgpp/libstdc++-v3/src. However, 
> this
> gives another error during make install. libstdc++ doesn't install properly.
> Luckily, I'm not using libstdc++ in my programs, and the cross compiler itself
> works fine.

I got the exact same problem using gcc-4.0.2. libstdc++ is still unusable
using your fix.

I fixed the problem by inserting an

#undef _GLIBCXX_HAVE_WRITEV

in line 73 of i586-pc-msdosdjgpp/libstdc++-v3/src/basic_file.cc, instead of
your fix, which makes libstdc++ usable again.

Probably the problem can also be fixed by adding some configure options? As
this macro is detected and set by configure.


-- 

dn dot tlp at gmx dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dn dot tlp at gmx dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17755

Reply via email to