From: Simon Wright <simon@pushface.org>
Subject: Re: implementation of Bounded_String
Date: Thu, 18 Jan 2018 22:24:58 +0000
Date: 2018-01-18T22:24:58+00:00 [thread overview]
Message-ID: <lyh8ri3iv9.fsf@pushface.org> (raw)
In-Reply-To: 2eaf6de3-ce95-4c69-b22b-441a7ed6d5c9@googlegroups.com
Mehdi Saada <00120260a@gmail.com> writes:
> Where can I read GNAT'S implementation of those package ? What's their
> filename ? I suppose it's the same in mac, linux and windows version.
(where your compiler is installed is referred to as $prefix:
e.g. /usr/local/gnat2017 perhaps)
The source is in $prefix/lib/gcc/*/*/adainclude/
e.g. for me
/opt/gnat-gpl-2017/lib/gcc/x86_64-apple-darwin14.5.0/6.3.1/adainclude/
The file names are compressed: you can find out which contains which
package using gnatkr:
$ gnatkr ada.strings.unbounded.ads
a-strunb.ads
If you want to explore the library using GPS (a good idea, it's large &
complex), you could write a GPR (don't try building with it!) like
project Ada_Library is
Loc := "/opt/gnat-gpl-2017/lib/gcc/x86_64-apple-darwin14.5.0/6.3.1/";
for Source_Dirs use (Loc & "adainclude");
for Object_Dir use Loc & "adalib";
end Ada_Library;
And yes, aside from a few low-level packages, it's the same on all OSs.
next prev parent reply other threads:[~2018-01-18 22:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-18 14:10 implementation of Bounded_String Mehdi Saada
2018-01-18 14:42 ` Dmitry A. Kazakov
2018-01-18 22:24 ` Simon Wright [this message]
2018-01-19 1:25 ` Randy Brukardt
2018-01-19 11:54 ` Mehdi Saada
2018-01-19 12:57 ` Dmitry A. Kazakov
2018-01-19 18:26 ` Niklas Holsti
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox