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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: GNAT and no runtime Date: Wed, 09 Jun 2004 08:22:21 +0200 Organization: AdaCL Message-ID: <1760877.vB5b9iA35e@linux1.krischik.com> References: <5ad0dd8a.0405260252.6523893f@posting.google.com> <3519454.Bj6hR9Rpgt@linux1.krischik.com> <5ad0dd8a.0405281242.535b9e7e@posting.google.com> <14117933.bn39bjDOdp@linux1.krischik.com> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1086762196 03 5346 sG-WGouls3GhYZT 040609 06:23:16 X-Complaints-To: usenet-abuse@t-online.de X-ID: rZ5V2sZBweR4BhIbo+fNrKEakJP5hWPMimkpV++LdlDtdZ2Fw30G89 User-Agent: KNode/0.7.7 Xref: g2news1.google.com comp.lang.ada:1270 Date: 2004-06-09T08:22:21+02:00 List-Id: Simon Wright wrote: > 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. They did compiler OK. The error comes when you tried to "with" them. I have not tired to compile the whole program with -gnatg. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com