This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
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