"Numerical Recipes in C" is nonport
Richard A. O'Keefe
ok at quintus.uucp
Fri Sep 23 19:40:36 AEST 1988
In article <4071 at bsu-cs.UUCP> dhesi at bsu-cs.UUCP (Rahul Dhesi) writes:
>In article <225800072 at uxe.cso.uiuc.edu> mcdonald at uxe.cso.uiuc.edu writes:
>[re linkers with 6-char limit]
>Actually, it's even easier than that. The C compiler can generate an
>internal object format. A custom post-processor takes these object
>files, scans for all long identifiers, shortens them to unique 6-char
>names, and produces as its output system-format object files ready for
>the standard linker. No linking need be done by this post processor.
There are several reasons why one wants the names in the source code to
bear a simple predictable relation to the names the system sees, such as
mixed language programming and system-supplied debugging tools like load
maps. The people in comp.lang.c++ often complain about compiler-
generated names.
There was a program posted to one of the sources news-groups a while back
that did the long name -> unique name mapping on the source code; sorry I
can't remember the name or the date, ask in comp.sources.wanted.
More information about the Comp.lang.c
mailing list