This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Converting to ISO C89


 > From: Alexandre Oliva <aoliva at redhat dot com>
 > 
 > On Apr  5, 2003, Zack Weinberg <zack at codesourcery dot com> wrote:
 > 
 > > Alexandre Oliva <aoliva at redhat dot 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 at caip dot rutgers dot edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]