This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Linux vs. libio
- To: Ulrich Drepper <drepper at gnu dot org>
- Subject: Linux vs. libio
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sun, 19 Dec 1999 18:32:55 -0800
- Cc: gcc at gcc dot gnu dot org, libc-alpha at sourceware dot cygnus dot com
- Organization: CodeSourcery, LLC
Folks --
Does anyone know how, on Linux, to build the libio (in CVS with GCC)
in such a way as to be entirely disentangled from the C library?
(Except in the ways that libio would normally be entangled with the C
library on any non-glibc system.)
In particular, we're working on the new C++ ABI. That requires some
changes to libio to deal with different class layouts, etc. That's
mostly working, but the stdio functions in glibc have a bad tendency
to call functions in the modified libio as callbacks, and those
functions now behave differently than glibc expects.
In other words, what I'm looking to do is to have two distinct,
disentangled, copies of libio: one in libc, to handle stdio, and one
in libstdc++ to handle iostreams. How can this be done?
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com