comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Importance of GNAT.Source_Info
Date: Wed, 08 Jan 2020 16:38:26 +0000
Date: 2020-01-08T16:38:26+00:00	[thread overview]
Message-ID: <lya76x29a5.fsf@pushface.org> (raw)
In-Reply-To: a69d12bc-4cc7-41dd-8307-e17b90777a9a@googlegroups.com

Jere <jhb.chat@gmail.com> writes:

> I'm working on a baremetal RTS and while looking at
> https://wiki.osdev.org/Ada_Bare_bones, one of the files it suggests is
> part of the minimum set of RTS files is g-souinf.ads which contains
> the package GNAT.Source_Info.
>
> Does anyone know what part of the compiler requires this?  So far I
> haven't had GNAT barf at me for not having it while compiling the
> files I do have, but I don't want to leave it out if it is indeed
> necessary for something.  I didn't see any info on why it is
> necessary.  It's definitely useful in that it gives a lot of compile
> time values, but not sure why it would be a "required" file.  I'm
> assuming something will break without it, but don't know what.

I wouldn't have thought it'd be "required" either. If you want what it
provides, great, but there's no cost for actually 'with'ing it, because
it's preelaborated & (as someone has pointed out) all the subprograms
are intrinsic.


  parent reply	other threads:[~2020-01-08 16:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-06 22:03 Importance of GNAT.Source_Info Jere
2020-01-07  2:29 ` Optikos
2020-01-07  6:12   ` Niklas Holsti
2020-01-11 15:01     ` Jere
2020-01-08 16:38 ` Simon Wright [this message]
2020-01-11 15:02   ` Jere
2020-01-10 10:54 ` charlet
2020-01-11 15:03   ` Jere
replies disabled

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