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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ae9:e907:: with SMTP id x7mr85946936qkf.298.1578348234700; Mon, 06 Jan 2020 14:03:54 -0800 (PST) X-Received: by 2002:a9d:53cb:: with SMTP id i11mr120914749oth.158.1578348234403; Mon, 06 Jan 2020 14:03:54 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g89no6937369qtd.0!news-out.google.com!w29ni25qtc.0!nntp.google.com!g89no6937366qtd.0!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 6 Jan 2020 14:03:54 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=70.109.61.2; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 70.109.61.2 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Importance of GNAT.Source_Info From: Jere Injection-Date: Mon, 06 Jan 2020 22:03:54 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1896 X-Received-Body-CRC: 762140094 Xref: reader01.eternal-september.org comp.lang.ada:57796 Date: 2020-01-06T14:03:54-08:00 List-Id: 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. Sorry that this isn't a pure "Ada" question and is more focused on GNAT specifically, but thought one of yall might know why.