From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dea953bc89d01e1f,start X-Google-Attributes: gid103376,public 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 Message-ID: <61g3rs$g6i@acmex.gatech.edu>#1/1 X-Deja-AN: 278712220 Summary: How do I access spec and/or body files in parallel subdirectories? Keywords: GNAT APEX Organization: Georgia Institute of Technology Newsgroups: comp.lang.ada Date: 1997-10-08T00:00:00+00:00 List-Id: 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."