Converting to ISO C89
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Sun Apr 6 03:15:00 GMT 2003
> From: Alexandre Oliva <aoliva@redhat.com>
>
> On Apr 5, 2003, Zack Weinberg <zack@codesourcery.com> wrote:
>
> > Alexandre Oliva <aoliva@redhat.com> writes:
>
> >> It's not that simple, unfortunately. Without libstdc++, there's not
> >> much of C++ any language can possibly use.
>
> > This is true, but I think Kaveh's patches are worthwhile anyway.
>
> No dispute here. I don't even know what patches you're talking about
> (I'm lagging behind in gcc-patches :-(
Alex - you're right about libstdc++ and how crucial it is for most C++
programs. However, the original motivation for this was Tom's posting
here: http://gcc.gnu.org/ml/gcc/2003-03/msg00146.html
If you read down near the bottom, you'll see that he mentions the C++
features he expected to use, namely "classes, destructors, and
exceptions." He makes no mention of libstdc++ or STL, etc. (Of
course, he may have simply left it out by mistake. Tom?)
BTW, I found another use for being able to build cc1plus natively.
I've been seeing an error in the the sparc64-solaris2 testsuite run in
g++.dg/parse/stack1.C:
http://gcc.gnu.org/ml/gcc-testresults/2003-04/msg00268.html
I couldn't debug it cause gdb doesn't seem to work on sparc64. And I
can't reproduce the bug in a cross-compiler where gdb does work. So
being able to compile cc1plus with native cc and use native dbx is a
bonus I hadn't counted on. :-)
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu
More information about the Gcc
mailing list