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-Thread: 103376,7e07d42b7f3b3389 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Reading directories? Date: Mon, 21 Feb 2005 15:23:40 -0000 Organization: BAE SYSTEMS Message-ID: <4219fb45$1_1@baen1673807.greenlnk.net> References: <1196059.rss5kBRvty@linux1.krischik.com> X-Trace: individual.net Zeb6mEAk2hL7PGcCW48+SwfwM3CbAA37hD/DuQgQhJs0R6JVa2 X-Orig-Path: baen1673807.greenlnk.net!baen1673807!not-for-mail X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Original-NNTP-Posting-Host: baen1673807.greenlnk.net Xref: g2news1.google.com comp.lang.ada:8443 Date: 2005-02-21T15:23:40+00:00 List-Id: 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). Cheers -- Martin