comp.lang.ada
 help / color / mirror / Atom feed
* Does anybody know how to get the elaboration order from ObjectAda?
@ 2017-05-02  6:06 Petter Fryklund
  2017-05-02 19:18 ` Per Sandberg
  2017-05-03  4:51 ` G.B.
  0 siblings, 2 replies; 3+ messages in thread
From: Petter Fryklund @ 2017-05-02  6:06 UTC (permalink / raw)


Hi all,

I've googled a lot not come with an answer.

Regards,
Petter


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

* Re: Does anybody know how to get the elaboration order from ObjectAda?
  2017-05-02  6:06 Does anybody know how to get the elaboration order from ObjectAda? Petter Fryklund
@ 2017-05-02 19:18 ` Per Sandberg
  2017-05-03  4:51 ` G.B.
  1 sibling, 0 replies; 3+ messages in thread
From: Per Sandberg @ 2017-05-02 19:18 UTC (permalink / raw)


I will vague remembrance that it was possible to get the order from some 
obscure generated file but that was at least 15-20 years ago, and that 
info was hidden in the Manuals.
And as I remembered that ObjectAda from that era was using"dynamic" 
elaboration checks, meaning that the binder did not guarantee that the 
program would start so a compile bind link must be finalized with run.

/Per



Den 2017-05-02 kl. 08:06, skrev Petter Fryklund:
> Hi all,
>
> I've googled a lot not come with an answer.
>
> Regards,
> Petter
>


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

* Re: Does anybody know how to get the elaboration order from ObjectAda?
  2017-05-02  6:06 Does anybody know how to get the elaboration order from ObjectAda? Petter Fryklund
  2017-05-02 19:18 ` Per Sandberg
@ 2017-05-03  4:51 ` G.B.
  1 sibling, 0 replies; 3+ messages in thread
From: G.B. @ 2017-05-03  4:51 UTC (permalink / raw)


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.


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

end of thread, other threads:[~2017-05-03  4:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-02  6:06 Does anybody know how to get the elaboration order from ObjectAda? Petter Fryklund
2017-05-02 19:18 ` Per Sandberg
2017-05-03  4:51 ` G.B.

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