comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: GNAT and no runtime
Date: Wed, 09 Jun 2004 08:22:21 +0200
Date: 2004-06-09T08:22:21+02:00	[thread overview]
Message-ID: <1760877.vB5b9iA35e@linux1.krischik.com> (raw)
In-Reply-To: x7vbrjtz5di.fsf@smaug.pushface.org

Simon Wright wrote:

> Martin Krischik <krischik@users.sourceforge.net> 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




  reply	other threads:[~2004-06-09  6:22 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25 20:57 GNAT and no runtime JCS
2004-05-26  7:46 ` Rolf Ebert
2004-05-26 12:17   ` JCS
2004-05-28 15:13   ` JCS
2004-05-26 10:52 ` Wojtek Narczynski
2004-05-26 12:33   ` JCS
2004-05-26 16:05     ` Martin Krischik
2004-05-27  9:40       ` Wojtek Narczynski
2004-05-28 20:42       ` Wojtek Narczynski
2004-06-08  5:43         ` Martin Krischik
2004-06-09  5:07           ` Simon Wright
2004-06-09  6:22             ` Martin Krischik [this message]
2004-06-09  7:20               ` Martin Dowie
2004-06-09  7:52                 ` Martin Krischik
2004-06-09  9:26                   ` Martin Dowie
2004-06-09 11:50                     ` Martin Krischik
2004-06-10  5:15                       ` Simon Wright
2004-06-09 16:33             ` Robert I. Eachus
2004-05-27 10:23     ` Wojtek Narczynski
2004-05-27 12:45       ` JCS
2004-05-26 19:51   ` Georg Bauhaus
2004-05-27  9:43     ` Wojtek Narczynski
2004-05-26 16:44 ` sk
2004-05-26 17:42   ` JCS
2004-05-26 21:33     ` sk
2004-05-26 23:12       ` JCS
2004-05-27 13:58         ` sk
2004-05-27 21:30           ` JCS
2004-05-27 22:42             ` sk
replies disabled

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