comp.lang.ada
 help / color / mirror / Atom feed
From: jm59@prism.gatech.edu (John M. Mills)
Subject: Q: How to build from source tree w/shared files, using GNAT?
Date: 1997/10/08
Date: 1997-10-08T00:00:00+00:00	[thread overview]
Message-ID: <61g3rs$g6i@acmex.gatech.edu> (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."




             reply	other threads:[~1997-10-08  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-08  0:00 John M. Mills [this message]
1997-10-11  0:00 ` Q: How to build from source tree w/shared files, using GNAT? Robert Dewar
1997-10-11  0:00   ` Robert Dewar
replies disabled

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