Newsgroups: | comp.compilers |
From: | kendall@centerline.com (Sam Kendall) |
Keywords: | C, lint, debug |
Organization: | CenterLine Software, Inc. |
References: | <19920609091040SEB1525@MVS.draper.com> 92-06-084 |
Date: | Fri, 19 Jun 1992 00:07:55 GMT |
arnold@cc.gatech.edu (Arnold Robbins) writes:
No C compiler in the world will do cross file checking for you, only
lint does it.
I'd love to see linkers check calls against definitions (using info
provided by the compiler), at least when the caller and callee are written
in the same language. The IBM RIOS linker documentation has something
about this; has anyone tried it? Does it work automatically, or must you
enable it?
CenterLine's environments include a linker that does cross-file checking,
but it could be done more fully with the full cooperation of the compiler.
On most Unix machines, debugging info does not include information about
calls, only about definitions, so it cannot be used for this kind of
cross-file checking.
----
Sam Kendall
CenterLine Software, Inc. (formerly Saber Software)
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.