From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,55c1a59b43112bcb,start X-Google-Attributes: gidfee84,public From: scott@hakuin.boeing.com (Scott Moody, 773-8600) Subject: question on getting mangled names using 'nm' Date: 1995/12/04 Message-ID: #1/1 X-Deja-AN: 120931620 sender: news@plato.ds.boeing.com organization: Boeing Defense and Space Group keywords: mangle c++ reply-to: scott@hakuin.boeing.com newsgroups: comp.unix.osf.osf1 I am using the DEC-Alpha C++ compiler and need to connect the code to other non c++ tools, such as C and Ada. Unfortunately I don't know the name of the externals in the C++ code, and my use of the unix 'nm' tool isn't helping. It seems to print a pretty name instead of the mangled name. eg. extern a_proc() _> nm outputs: a_proc(void) instead of something like a_proc_F ?? Anyone know the answer on OSF-1?? This same process has worked with Gnu-C++ on Sun and Solaris, and the Sun C++ compiler on Solaris. Thanks. scott moody Boeing 206-773-6800