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: demengler in libstdc++ is changed


Gabriel Dos Reis <gdr@integrable-solutions.net> writes:

> Chris Lattner <sabre@nondot.org> writes:
> 
> | I'm not sure what the problem would be here.  It would simply be a C file
> | that would be compiled and linked into the program.  The point is that you
> | wouldn't _need_ a C++ runtime.  In LLVM, the C runtime library for
> | setjmp/longjmp is written in C++, for example, and is compiled into C
> | programs all of the time without lib(sup|std)c++.
> 
> Many C++ runtime implementors have reached the conclusion that the C
> runtime is far more efficiently and effectively implemented on top of
> C++ (rather than the inverse); however that idea seems to meet
> (non-technical) resistance (I have no workable theory of why). 

Well, one obvious reason is that not all C programmers want to learn
C++.

But if you can get a smaller executable size when doing a static link,
then I think it should be seriously considered.  If you can't, then it
should not be considered.

Ian


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