This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: linux libio solution
- To: rth at cygnus dot com
- Subject: Re: linux libio solution
- From: hjl at lucon dot org (H.J. Lu)
- Date: Thu, 9 Oct 1997 15:52:45 -0700 (PDT)
- Cc: egcs at cygnus dot com
>
> On Thu, Oct 09, 1997 at 08:15:57AM -0700, H.J. Lu wrote:
> > I am not sure if it will work very. Have you tried mixed stdio/iostream
> > code?
>
> Yes.
>
> > Are they in sync. For Linux, cout == stdout.
>
> Well, because it was line buffered to the screen, yes. But if
> there are any problems, it will be just the same as any other host
> where stdio and iostreams are separate.
>
It is not that simple. For one thing, you will lose long double I/O.
Anyway, I have made a small kludge to make it to work with libc
5.3.12. But I will need someone to test it for me. I will make
it available after it passes "make check". Right now, as reported
by a few people, basic_string is broken. I will wait for a fix.
--
H.J. Lu (hjl@gnu.ai.mit.edu)