This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Support the new demangler written in C++
> | If libiberty got any C++ code, even if
> | such code was offered with a C-only interface, depending on the C++
> | compiler used to build it, it would still have dependencies on the C++
> | compilers' run-time.
>
> Yes, but that is also the case for any non-trivial C program.
But it may mean that you cannot even *link* a C application with the C
compiler if it links libiberty. Which, in our case, would mean that
every application linking libiberty would have to be linked with the
C++ compiler instead of the C compiler.