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: GCC to open the C++ demangle API?


levon@movementarian.org writes:
>On Mon, Mar 04, 2002 at 10:48:03AM +0000, Andrew Marlow wrote:
>
>> There does not appear to be a public API for demangling C++ symbol
>> names with the GNU C++ compiler. The code is there in binutils because
>> c++filt uses it. However, the API has not been 'opened'.
[snip]
>Of course you could just link to the platform libiberty and use
>cplus_demangle as usual there ... (but this is not "allowed")

Indeed. That's what I meant when I said that the API has not been opened.
I have received other email that says 'just use libiberty'. However I do
not want to use an API that has not been opened. On other platforms it has
been opened by its own dedicated library and header in /usr/lib and
/usr/include respectively. Could this be done with GCC/G++ ?

-Andrew M.




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