comp.lang.ada
 help / color / mirror / Atom feed
* Dependency Graph of with statements
@ 1997-04-02  0:00 Arthur Schwarz
  1997-04-02  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: Arthur Schwarz @ 1997-04-02  0:00 UTC (permalink / raw)



I am looking for software which will construct an Ada dependency graph
for use as a tool in rearchitecting an existing system and porting it
to Rational. 

I have a tool in development which takes the adamakegen log file and
develops a dependency graph from it. If no other tool is available,
this tool will be extended to allow identification of package subsets
such that there are no dependency cycles between subsets ("mutual
dependencies" in Rational terminology). 

However, tool development takes so much time that other project areas 
are in trouble (the usual problem; too much work, too few people, not 
enough schedule). So, if any such tool exists, or if anyone wants to
contribute to it's development, or if anyone wants it after the tool
is done or partially done, please call, write, e-mail, or send huskies.

NOTE: The Rational "Reverse Engineering Tool", which might work, can't
      be used. To use the tool, the code must be compiled and linked
      (semanticized?) which puts us in a Catch-22 situation. In order
      to use the tool we must have the problem solved and in order to
      solve the problem we must use the tool.

Thanks;

Art Schwarz
General Dynamics Land Systems
810-825-5028
schwarza@gdls.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Dependency Graph of with statements
  1997-04-02  0:00 Dependency Graph of with statements Arthur Schwarz
@ 1997-04-02  0:00 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1997-04-02  0:00 UTC (permalink / raw)



Art says

<<I have a tool in development which takes the adamakegen log file and
develops a dependency graph from it. If no other tool is available,
this tool will be extended to allow identification of package subsets
such that there are no dependency cycles between subsets ("mutual
dependencies" in Rational terminology).>>

The ali files in GNAT contain complete dependency information, and provide
an easy starting point for computing dependencies.

Note that you cannot easily deal with inline dependencies for systems
with conventional libraries, since such systems do not permit general
inlining. So it is probably better to generate the ali files with the
-gnatn switch left off if you are following this suggestion.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-04-02  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-02  0:00 Dependency Graph of with statements Arthur Schwarz
1997-04-02  0:00 ` Robert Dewar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox