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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Does anybody know how to get the elaboration order from ObjectAda? Date: Wed, 3 May 2017 06:51:58 +0200 Organization: A noiseless patient Spider Message-ID: References: <2801c29f-d2fd-4014-ac5b-0dad2d17401d@googlegroups.com> Reply-To: nonlegitur@notmyhomepage.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 3 May 2017 04:48:37 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="139b398793e50ed2ff5594590a3bb7f8"; logging-data="10837"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WspcBpMcDT4BTlOA0Xl/dCrVBReyUy1A=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: <2801c29f-d2fd-4014-ac5b-0dad2d17401d@googlegroups.com> Cancel-Lock: sha1:aRvC7T0iXCHwzlNAInoP4OM2vnY= Xref: news.eternal-september.org comp.lang.ada:46662 Date: 2017-05-03T06:51:58+02:00 List-Id: On 02.05.17 08:06, Petter Fryklund wrote: > Hi all, > > I've googled a lot not come with an answer. The AppletMagic manual (compiler front end is the same), when addressing "Implementation-Defined Characteristics" of LRM M, states the following: "(34) The order of elaboration of library_items. See RM-10.2(18). This information is printed out by the -v flag of the adajbuild command." So, maybe adabuild does something similar for ObjectAda. There is another option that may be worth mentioning, -r, to "Use a more “friendly” elaboration order. The default is to use an order that is more likely to fail but which can lead to more portable programs." I vaguely remember some AWK program that analyses the .info files generated by the tools.