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-Thread: 103376,7e07d42b7f3b3389 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!news.zanker.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!post.news-service.com!news1.surfino.com!not-for-mail Message-Id: <1661706.VVlQXrZL3Z@linux1.krischik.com> From: Martin Krischik Subject: Re: Reading directories? Newsgroups: comp.lang.ada Reply-To: martin@krischik.com Date: Mon, 21 Feb 2005 20:01:44 +0100 References: <1196059.rss5kBRvty@linux1.krischik.com> <4219fb45$1_1@baen1673807.greenlnk.net> Organization: None User-Agent: KNode/0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@surfino.com NNTP-Posting-Host: 83.169.148.156 (83.169.148.156) NNTP-Posting-Date: Mon, 21 Feb 2005 21:00:09 +0100 X-Trace: 1a192421a3dc9f60c313923882 Xref: g2news1.google.com comp.lang.ada:8446 Date: 2005-02-21T20:01:44+01:00 List-Id: 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