Da Ma
Da Ma

Reputation: 411

How to demangle C++ in GCC 2.96

When I compile the code with cxxabi.h, I got this error:

$g++ -g -o bt bt.cpp linux.cpp -rdynamic -fnew-abi

cc1plus: -fnew-abi not supported in gcc-2.96-RH

[PS: I need do this in the source code, not c++filt bin tool!]

Thanks in advance.

Dma

Upvotes: 1

Views: 752

Answers (1)

MSalters
MSalters

Reputation: 179907

The -fnew-abi flag was marked as experimental and subject to undocumented changes. Why are you using it? It's likely that (consistently!) removing it will allow you to rebuild everything.

Upvotes: 1

Related Questions