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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7a27b8f727dd1e47 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.159.246.34.MISMATCH!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT and no runtime Date: 09 Jun 2004 06:07:21 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <5ad0dd8a.0405260252.6523893f@posting.google.com> <3519454.Bj6hR9Rpgt@linux1.krischik.com> <5ad0dd8a.0405281242.535b9e7e@posting.google.com> <14117933.bn39bjDOdp@linux1.krischik.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1086757928 14417 62.49.19.209 (9 Jun 2004 05:12:08 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 9 Jun 2004 05:12:08 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: g2news1.google.com comp.lang.ada:1264 Date: 2004-06-09T06:07:21+01:00 List-Id: Martin Krischik writes: > There seems to be some algorithm. I recently tried to build some > extension to the Ada.* tree for Wide_Characters. GNAT was then > telling me exactly which filename to use for what package. I had a quick scan of the gnat UG http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/ but no luck (there may be info hidden in there ..) gnatkr will tell you the file name GNAT expects for Ada.*, GNAt.*, System.*: smaug.pushface.org[5]$ gnatkr ada.calendar a-calend > In the end the hole thing failed. After compiling everything OK, > GNAT moaned about my packages not been part of the predefined > Library. There are rules for packages that are amended parts of the library: you need to compile with at least -gnatg, all warnings are treated as errors .. but I would still have expected it to build. I've never tried any _new_ units, though.