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: RFA: Please review the new C++ demangler patch


>Do you have any suggestions? The main problem is demangler, which
>is the part of libibert, depends on libstdc++ and libstdc++ depends
>on libiberty. But demangler only needs the header files from libstdc++.
>Is there a way out?

H.J. - sorry to have left you to battle this alone. 

Perhaps the solution is to take the C++ demangling code out of
libstdc++. Also, take it out of libiberty. Put it into a separate
library, that can be built after both of them.

Then, build order can be preserved. 

libiberty
libstdc++
libdemangle (iff libstdc++, use C++, else lose and use weaker cp_demangle)

-benjamin


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