gcc 3.1.1, nm -C on solaris8 sparc

Mark Crosland mjc@attbi.com
Sun Sep 1 12:27:00 GMT 2002


Hello,

We are using gcc 3.1.1 on solaris8, sparc. We built it to use
/usr/ccs/bin/as and ld.

We have a tool that uses /usr/ccs/bin/nm -C to get demangled c++ symbol
names. But it doesn't seem to fully demangle them. As an example

nm -C lib.built.with.gcc.so
returns
aNamespace12aClassIN9aMethod

but

nm -C lib.built.with.sunCC.so
returns
aNamespace::aClass::aMethod

Are there any gnu tools that will fully demangle?

Thanks,
Mark Crosland



More information about the Gcc-help mailing list