From: Martin Krischik <martin@krischik.com>
Subject: Re: Reading directories?
Date: Mon, 21 Feb 2005 20:01:44 +0100
Date: 2005-02-21T20:01:44+01:00 [thread overview]
Message-ID: <1661706.VVlQXrZL3Z@linux1.krischik.com> (raw)
In-Reply-To: 4219fb45$1_1@baen1673807.greenlnk.net
Martin Dowie wrote:
> Martin Krischik wrote:
>> Chris Dutton wrote:
>>
>>> So far I've found a lot of information on Ada.Directories, which
>>> looks good, but as far as I can see is not available for Gnat on
>>> Linux.
>>
>> Sure it is available. The files are a-direct.ads and a-direct.adb.
>> According to the ChangeLog they are available since 2004-04-05.
>>
>> But in order to use Ada 2005 features (those which are actualy there
>> allready) you need to use a HEAD (4.0.0) release of gcc (currently at
>> stage 3 - beta testing) and use the -gnat05 commandline option.
>
> According to the comments in a-direct.ads you don't actually need this
> option (or an Ada2005 compiler).
If it wasn't for the fact that GNAT will not compile any Ada packages -
unless GNAT compiles itself. Yes, I have tried -gnatx and other relevant
options. But in the end it failes on somehow.
But I guess you could patch it up using "AdaX" instead of "Ada" as package
name.
Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
next prev parent reply other threads:[~2005-02-21 19:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-21 10:29 Reading directories? Chris Dutton
2005-02-21 11:02 ` Martin Dowie
2005-02-21 11:42 ` Martin Krischik
2005-02-21 15:23 ` Martin Dowie
2005-02-21 19:01 ` Martin Krischik [this message]
2005-02-21 20:32 ` Martin Dowie
2005-02-22 3:05 ` Chris Dutton
2005-02-22 7:55 ` Martin Krischik
2005-02-22 10:30 ` Georg Bauhaus
2005-02-22 13:01 ` Martin Krischik
2005-02-22 15:47 ` Georg Bauhaus
2005-02-28 14:39 ` John Stoneham
2005-02-28 14:58 ` Peter Hermann
2005-03-01 15:53 ` John Stoneham
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox