* Q: How to build from source tree w/shared files, using GNAT?
@ 1997-10-08 0:00 John M. Mills
1997-10-11 0:00 ` Robert Dewar
0 siblings, 1 reply; 3+ messages in thread
From: John M. Mills @ 1997-10-08 0:00 UTC (permalink / raw)
Hello --
I have a question on using existing source trees with GNAT (3.05, migrated
to 3.09, and now moving to 3.10).
We have inherited a tree of sources with some files shared between branches,
roughly as follows:
+-- processor 1 spec1.1, spec1.2, body1.1, body1.2, ...
|
|
TOP --+-- processor 2 spec2.1, spec2.2, body2.1 <- with 1.1, ...,
| body2.2 <- with 1.x, ...,
...
(etc)
I don't know yet whether the cross-branch "with"s include object modules,
or only data types. The original developers are using APEX to manage their
builds; I am unfamiliar with the requirements of APEX, other than noticing
of a file in TOP which lists, for a given sub-directory, a set of "Import"s
which I expect are the branches containing units required in building that
sub-directory's executable(s).
Is this as simple as it would be for 'C' with '-I', '-l' and '-L' directives?
How do I set up dependency checking?
Sorry for what may be a trivial question, and I would be happy to pursue GNAT
or other documentation if someone will provide a pointer. Thanks.
Regards -- john mills
--
John M. Mills, Senior Research Engineer -- john.m.mills@gtri.gatech.edu
Georgia Tech Research Institute, Georgia Tech, Atlanta, GA 30332-0834
Phone contacts: 404.894.0151 (voice), 404.894.6258 (FAX)
"Lies, Damned Lies, Statistics, and Simulations."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Q: How to build from source tree w/shared files, using GNAT?
1997-10-08 0:00 Q: How to build from source tree w/shared files, using GNAT? John M. Mills
@ 1997-10-11 0:00 ` Robert Dewar
1997-10-11 0:00 ` Robert Dewar
0 siblings, 1 reply; 3+ messages in thread
From: Robert Dewar @ 1997-10-11 0:00 UTC (permalink / raw)
<<Is this as simple as it would be for 'C' with '-I', '-l' and '-L' directives?
How do I set up dependency checking?>>
Yes, it is as you say as simple as it would be for C, the directives are
the same. gnatmake will do all the necessary dependency checking automatically.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Q: How to build from source tree w/shared files, using GNAT?
1997-10-11 0:00 ` Robert Dewar
@ 1997-10-11 0:00 ` Robert Dewar
0 siblings, 0 replies; 3+ messages in thread
From: Robert Dewar @ 1997-10-11 0:00 UTC (permalink / raw)
<<Is this as simple as it would be for 'C' with '-I', '-l' and '-L' directives?
How do I set up dependency checking?>>
If you have a support contract from ACT, then this is the sort of question
that should be directed to report@gnat.com in the usual manner. If not, you
probably will find more likelihood of getting help by subscribing to
chat@gnat.com (send a subscribe command to chat-request@gnat.com) since
quite a few GNAT users read and provide informatl help there, and can solve
some of your problems for you -- obviously there are no guarantees in the
latter case, but some useful advice has definitely been available there in
the past.
Robert Dewar
Ada Core Technologies
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-10-11 0:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-08 0:00 Q: How to build from source tree w/shared files, using GNAT? John M. Mills
1997-10-11 0:00 ` Robert Dewar
1997-10-11 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