[Info-vax] Name shortening in C

Craig A. Berry craigberry at nospam.mac.com
Thu Sep 30 12:16:18 EDT 2021


On 9/30/21 8:57 AM, Joukj wrote:
> Hi all,
> 
> when I use the option /name=short when compiling C-code long names are 
> mangled in a 32-character string. All is documented in the 
> CXX$DEMANGLER_DB. files.
> I would like to create a routine that I can feed with a string and which 
> gives the shortened string as output, without needing to (inefficiently) 
> read all the  CXX$DEMANGLER_DB. files.
> 
> The question is : is the algorithm which is used documented/available?

I've got implementations in C and Perl here:

https://sourceforge.net/p/vms-ports/vmsshortsym/ci/default/tree/



More information about the Info-vax mailing list