comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Elaboration Question
Date: Sun, 04 Jan 2015 12:05:04 +0000
Date: 2015-01-04T12:05:04+00:00	[thread overview]
Message-ID: <lywq52g39r.fsf@pushface.org> (raw)
In-Reply-To: 54a83845$0$5118$426a74cc@news.free.fr

Jean François Martinez <darkquark99@gmail.com> writes:

> If using Gnat then when main program is in another language it must
> call adainit.  This will take care of elaboration.

If you can build your Ada library as a stand-alone library[1], adainit
and adafinal (or equivalent; I think they're named {lib-name}_init,
_final) get called automagically.

[1] https://gcc.gnu.org/onlinedocs/gnat_ugn_unw/Stand-alone-Library-Projects.html

      parent reply	other threads:[~2015-01-04 12:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-02  3:27 Elaboration Question Hubert
2015-01-02  7:56 ` Simon Wright
2015-01-02 22:16   ` Randy Brukardt
2015-01-02 14:49 ` Brad Moore
2015-01-02 11:08   ` Mark Lorenzen
2015-01-02 13:35     ` David Botton
2015-01-02 15:11     ` sbelmont700
2015-01-02 21:57       ` Niklas Holsti
2015-01-06  2:33         ` Randy Brukardt
2015-01-06  8:17           ` Niklas Holsti
2015-01-06 20:06             ` Randy Brukardt
2015-01-03  9:45 ` Jean François Martinez
2015-01-03  9:50   ` Hubert
2015-01-03 18:43     ` Jean François Martinez
2015-01-04  1:57       ` Hubert
2015-01-04 12:05       ` Simon Wright [this message]
replies disabled

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