You may need to specify C++ symbols in mangled form as input to a VisualAge C++ build.
If you are migrating an existing DLL from earlier versions of VisualAge C++ and predecessor products, you may already have mangled names in the module definition (.def) file for the DLL. Module definition files are no longer required, but you may find it convenient to extract the list of mangled symbol names from them.
You can get the mangled names from an existing object file or static library, by using one of the following commands.
The cppfilt
Command
Run cppfilt in binary mode. Specify option /B
for binary mode. Usually, you also want to set /P to include
public symbols, /R to include referenced symbols, or /X to
include exported symbols. Specify the object module or library as
the input files.
The ilib
Command
You can use ilib to get mangled names from a static library.
Follow the instructions to list the contents of a static library.
The listing file includes the decorated and mangled version of
names.
You must edit the output produced by running these commands to get a text file that lists only the names you want.
Example Output from cppfilt
in Binary Mode
Example Listing Produced by
the ilib Command
![]()
Decorated and Mangled Names
Static and Dynamic Link
Libraries
![]()
![]()
Build Dynamic Link Libraries
![]()
Export Symbols from a DLL
Demangle C++ Names
![]()
List the Contents of a Static Library
