comp.lang.ada
 help / color / mirror / Atom feed
From: martin.dowie@btopenworld.com (Martin Dowie)
Subject: Re: First Ada0Y Package for GNAT
Date: 21 Apr 2004 01:12:05 -0700
Date: 2004-04-21T01:12:05-07:00	[thread overview]
Message-ID: <af783afe.0404210012.33593f35@posting.google.com> (raw)
In-Reply-To: c61c6q$anj$1@sparta.btinternet.com

"Martin Dowie" <martin.dowie@btopenworld.com> wrote in message > <shameless_plug>
> Which is great if you have gcc 3.5 but if you are a mere mortal
> and living with 3.15p you can still get Ada.Directories @
> http://www.martin.dowie.btinternet.co.uk/
> </shameless_plug>

A quick follow up to those that want to use "Ada.Directories" and
not "Ada0Y.Directories" (as downloaded).

1. Edit each file and change each reference of "Ada0Y" to "Ada".

2. Copy the files to the predefined GNAT libraries area, probably:
C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adainclude

3. Change the file names to:
a-direct.ads/.adb
a-dirinf.ads/.adb
a-dirite.ads/.adb
a-diwiin.ads/.adb

4. Compile the files using the "-a" option

5. Use "Ada.Directories" in your 3.15p code!

If I ever get a spare hour again, I'll .zip up a version like
this (this is actually how I use it myself and
Ada.Numerics.Generic_Real_Arrays [AI-296] actually ;-).

Cheers

-- Martin



      reply	other threads:[~2004-04-21  8:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-18 17:57 First Ada0Y Package for GNAT Martin Krischik
2004-04-19 20:18 ` Martin Dowie
2004-04-21  8:12   ` Martin Dowie [this message]
replies disabled

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