Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Adding manpower to a late software project makes it later. -- F. Brooks, "The Mythical Man-Month"


devel / comp.lang.ada / Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

SubjectAuthor
* I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNATKenneth Wolcott
+- Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNATKenneth Wolcott
`* Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] lSimon Wright
 +- Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] lSimon Wright
 +- Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNATKenneth Wolcott
 `* Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] lKeith Thompson
  `* Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNATJere
   +- Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNATKenneth Wolcott
   `* Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] lSimon Wright
    `- Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNATKenneth Wolcott

1
I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

<266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9745&group=comp.lang.ada#9745

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:1a08:b0:762:5602:29ae with SMTP id bk8-20020a05620a1a0800b00762560229aemr3711088qkb.6.1687667856401;
Sat, 24 Jun 2023 21:37:36 -0700 (PDT)
X-Received: by 2002:a0d:ec4a:0:b0:56d:21a1:16a1 with SMTP id
r10-20020a0dec4a000000b0056d21a116a1mr10257263ywn.5.1687667856204; Sat, 24
Jun 2023 21:37:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 24 Jun 2023 21:37:35 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com>
Subject: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT
*.ad[sb] library files, where are they?
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Sun, 25 Jun 2023 04:37:36 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1497
 by: Kenneth Wolcott - Sun, 25 Jun 2023 04:37 UTC

Hi;

I have gnat 13.1.0 on my M1 Mac;

(thank you, Simon! <GRIN>)

I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

I can find the Ada libraries (*.ad[sb]) but it sometimes is hard to (reliably) find all of the GNAT Ada libraries in external documentation.

I hope that this is not a stupid question.

Perhaps there is a gnatmake flag or gnat doc that I'm just not seeing.

Thanks,
Ken Wolcott

Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

<7314bb9c-f084-4ecb-8941-995910b21d06n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9746&group=comp.lang.ada#9746

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ad4:4f06:0:b0:634:f275:302c with SMTP id fb6-20020ad44f06000000b00634f275302cmr15110qvb.5.1687670623425;
Sat, 24 Jun 2023 22:23:43 -0700 (PDT)
X-Received: by 2002:a25:b307:0:b0:bcc:7063:9238 with SMTP id
l7-20020a25b307000000b00bcc70639238mr9962858ybj.6.1687670623250; Sat, 24 Jun
2023 22:23:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 24 Jun 2023 22:23:42 -0700 (PDT)
In-Reply-To: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7314bb9c-f084-4ecb-8941-995910b21d06n@googlegroups.com>
Subject: Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT
*.ad[sb] library files, where are they?
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Sun, 25 Jun 2023 05:23:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1839
 by: Kenneth Wolcott - Sun, 25 Jun 2023 05:23 UTC

On Saturday, June 24, 2023 at 9:37:37 PM UTC-7, Kenneth Wolcott wrote:
> Hi;
>
> I have gnat 13.1.0 on my M1 Mac;
>
> (thank you, Simon! <GRIN>)
>
> I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?
>
> I can find the Ada libraries (*.ad[sb]) but it sometimes is hard to (reliably) find all of the GNAT Ada libraries in external documentation.
>
> I hope that this is not a stupid question.
>
> Perhaps there is a gnatmake flag or gnat doc that I'm just not seeing.
>
> Thanks,
> Ken Wolcott

Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

<ly1qhzhmp6.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9747&group=comp.lang.ada#9747

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?
Date: Sun, 25 Jun 2023 11:15:49 +0100
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <ly1qhzhmp6.fsf@pushface.org>
References: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="6b47696675b1bd30412b15d6c9dc5743";
logging-data="492278"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+U3ANWC1T71Nmya5Tehi93hmSH4q+bAYk="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:QcIQT7gmBM6G/B1LfUm3acgMZOU=
sha1:+liTHlq8bVjSbmdP8BFd8sepEo0=
 by: Simon Wright - Sun, 25 Jun 2023 10:15 UTC

Kenneth Wolcott <kennethwolcott@gmail.com> writes:

> I have gnat 13.1.0 on my M1 Mac;
>
> (thank you, Simon! <GRIN>)

:bow:

> I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

If you just want to insect them, see below: if you want to alter them,
that'd be a bit tricker. As far as I can remember, GNAT Pro releases
provide for rebuilding the runtime, but the FSF builds don't.

> I can find the Ada libraries (*.ad[sb]) but it sometimes is hard to
> (reliably) find all of the GNAT Ada libraries in external
> documentation.

They're in {prefix}/lib/gcc/{target}/{release}/adainclude/ - i.e., in
your case (unless you've moved the install)

/opt/gcc-13.1.0-aarch64/lib/gcc/aarch64-apple-darwin21/13.1.0/adainclude/

But you say you know that. I wonder whether it's the crunched filenames
that are confusing? (a legacy of the days when DOS 8.3 filenames were
required for a large part of GNAT's target audience). You can find the
crunched filename for a package using gnatkr (gnat krunch):

$ gnatkr gnatkr ada.sequential_io.ads
a-sequio.ads

(you don't actually need whatever's after the final period to be the
actual file extension: you could use '.open' or just '.').

Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

<lywmzrftnw.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9748&group=comp.lang.ada#9748

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?
Date: Sun, 25 Jun 2023 16:28:19 +0100
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <lywmzrftnw.fsf@pushface.org>
References: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com>
<ly1qhzhmp6.fsf@pushface.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="6b47696675b1bd30412b15d6c9dc5743";
logging-data="557979"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cgXq3P6FcUs1CKb1ndd3CzigXXQTgJa8="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:K2pEZeZMaCNymNE79WrIzTrh6CQ=
sha1:dIi8xfSSjXG+bsp05swXsWo0pcc=
 by: Simon Wright - Sun, 25 Jun 2023 15:28 UTC

Simon Wright <simon@pushface.org> writes:

> $ gnatkr gnatkr ada.sequential_io.ads
> a-sequio.ads

Only one 'gnatkr', ofc!

Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

<2f96cfa9-ae19-4afb-86a8-cc87b936b24en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9749&group=comp.lang.ada#9749

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:4a43:b0:62f:e987:b98e with SMTP id ph3-20020a0562144a4300b0062fe987b98emr3171373qvb.11.1687712417306;
Sun, 25 Jun 2023 10:00:17 -0700 (PDT)
X-Received: by 2002:a25:ad9f:0:b0:bce:5d6f:87a with SMTP id
z31-20020a25ad9f000000b00bce5d6f087amr5550186ybi.1.1687712417083; Sun, 25 Jun
2023 10:00:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sun, 25 Jun 2023 10:00:16 -0700 (PDT)
In-Reply-To: <ly1qhzhmp6.fsf@pushface.org>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com> <ly1qhzhmp6.fsf@pushface.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2f96cfa9-ae19-4afb-86a8-cc87b936b24en@googlegroups.com>
Subject: Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT
*.ad[sb] library files, where are they?
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Sun, 25 Jun 2023 17:00:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Kenneth Wolcott - Sun, 25 Jun 2023 17:00 UTC

Thank you Simon!

On Sunday, June 25, 2023 at 3:15:54 AM UTC-7, Simon Wright wrote:
> Kenneth Wolcott writes:
>
> > I have gnat 13.1.0 on my M1 Mac;
> >
> > (thank you, Simon! <GRIN>)
> :bow:
> > I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?
> If you just want to insect them, see below: if you want to alter them,
> that'd be a bit tricker. As far as I can remember, GNAT Pro releases
> provide for rebuilding the runtime, but the FSF builds don't.
> > I can find the Ada libraries (*.ad[sb]) but it sometimes is hard to
> > (reliably) find all of the GNAT Ada libraries in external
> > documentation.
> They're in {prefix}/lib/gcc/{target}/{release}/adainclude/ - i.e., in
> your case (unless you've moved the install)
>
> /opt/gcc-13.1.0-aarch64/lib/gcc/aarch64-apple-darwin21/13.1.0/adainclude/

This is all the information that I needed, thank you!

> But you say you know that. I wonder whether it's the crunched filenames
> that are confusing? (a legacy of the days when DOS 8.3 filenames were
> required for a large part of GNAT's target audience). You can find the
> crunched filename for a package using gnatkr (gnat krunch):
>
> $ gnatkr gnatkr ada.sequential_io.ads
> a-sequio.ads

This is nice, thank you!

> (you don't actually need whatever's after the final period to be the
> actual file extension: you could use '.open' or just '.').

Ken Wolcott

Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

<87v8fb1acr.fsf@nosuchdomain.example.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9750&group=comp.lang.ada#9750

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S.Thompson+u@gmail.com (Keith Thompson)
Newsgroups: comp.lang.ada
Subject: Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?
Date: Sun, 25 Jun 2023 14:49:08 -0700
Organization: None to speak of
Lines: 25
Message-ID: <87v8fb1acr.fsf@nosuchdomain.example.com>
References: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com>
<ly1qhzhmp6.fsf@pushface.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="f6bbe842c2be25aa68aaa86a10f5c612";
logging-data="650754"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CNepoYvYZNSB/Ip2dta2H"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:PvBrPrBEPdU1poajGV6VJ4WR5KQ=
sha1:OTQwY7wngTK93sbL1G+svQ31HQY=
 by: Keith Thompson - Sun, 25 Jun 2023 21:49 UTC

Simon Wright <simon@pushface.org> writes:
[...]
> But you say you know that. I wonder whether it's the crunched filenames
> that are confusing? (a legacy of the days when DOS 8.3 filenames were
> required for a large part of GNAT's target audience). You can find the
> crunched filename for a package using gnatkr (gnat krunch):
>
> $ gnatkr ada.sequential_io.ads
[fixed typo]
> a-sequio.ads
>
> (you don't actually need whatever's after the final period to be the
> actual file extension: you could use '.open' or just '.').

Which raises a question: Why does GNAT still use crunched filenames? It
probably makes sense to continue to support them (does anyone use GNAT
on MS-DOS?), but I wouldn't think it would be difficult to use full file
names on the vast majority of systems that support them. It's not a
huge deal, but using full file names where possible would be less
annoying.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */

Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

<1f88aebf-f1f2-46fa-b66a-4e605d7ff202n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9751&group=comp.lang.ada#9751

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a37:5886:0:b0:763:a2ec:27e7 with SMTP id m128-20020a375886000000b00763a2ec27e7mr2388851qkb.7.1687805809985;
Mon, 26 Jun 2023 11:56:49 -0700 (PDT)
X-Received: by 2002:a81:a703:0:b0:576:6e4e:b87f with SMTP id
e3-20020a81a703000000b005766e4eb87fmr4712940ywh.10.1687805809839; Mon, 26 Jun
2023 11:56:49 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Mon, 26 Jun 2023 11:56:49 -0700 (PDT)
In-Reply-To: <87v8fb1acr.fsf@nosuchdomain.example.com>
Injection-Info: google-groups.googlegroups.com; posting-host=72.86.43.83; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf
NNTP-Posting-Host: 72.86.43.83
References: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com>
<ly1qhzhmp6.fsf@pushface.org> <87v8fb1acr.fsf@nosuchdomain.example.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1f88aebf-f1f2-46fa-b66a-4e605d7ff202n@googlegroups.com>
Subject: Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT
*.ad[sb] library files, where are they?
From: jhb.chat@gmail.com (Jere)
Injection-Date: Mon, 26 Jun 2023 18:56:49 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3001
 by: Jere - Mon, 26 Jun 2023 18:56 UTC

On Sunday, June 25, 2023 at 5:49:11 PM UTC-4, Keith Thompson wrote:
> Simon Wright writes:
> [...]
> > But you say you know that. I wonder whether it's the crunched filenames
> > that are confusing? (a legacy of the days when DOS 8.3 filenames were
> > required for a large part of GNAT's target audience). You can find the
> > crunched filename for a package using gnatkr (gnat krunch):
> >
> > $ gnatkr ada.sequential_io.ads
> [fixed typo]
> > a-sequio.ads
> >
> > (you don't actually need whatever's after the final period to be the
> > actual file extension: you could use '.open' or just '.').
> Which raises a question: Why does GNAT still use crunched filenames? It
> probably makes sense to continue to support them (does anyone use GNAT
> on MS-DOS?), but I wouldn't think it would be difficult to use full file
> names on the vast majority of systems that support them. It's not a
> huge deal, but using full file names where possible would be less
> annoying.

Unless they changed how the GNAT compiler works in the last few years, then my guess is inertia
to do that. Right before the pandemic hit, I had the neat idea of doing my own bare metal
runtime and to use normal uncrunched names. The RTS compiled just fine doing that. However,
when I tried to use the RTS to build a full fledged program, it failed to find the package in the RTS.
I don't recall if it failed at compile time or link time, but crunching the names and recompiling the
RTS fixed the issue. So something in their compiler requires the crunched names, or if they have
since changed that, used to require it.

Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

<f1d5fea6-e382-4054-8efd-5292b9079ff0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9752&group=comp.lang.ada#9752

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:622a:1742:b0:400:9f40:e4f4 with SMTP id l2-20020a05622a174200b004009f40e4f4mr692545qtk.6.1687808122272;
Mon, 26 Jun 2023 12:35:22 -0700 (PDT)
X-Received: by 2002:a81:a8c4:0:b0:569:d971:43c1 with SMTP id
f187-20020a81a8c4000000b00569d97143c1mr18154573ywh.1.1687808122080; Mon, 26
Jun 2023 12:35:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Mon, 26 Jun 2023 12:35:21 -0700 (PDT)
In-Reply-To: <1f88aebf-f1f2-46fa-b66a-4e605d7ff202n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com>
<ly1qhzhmp6.fsf@pushface.org> <87v8fb1acr.fsf@nosuchdomain.example.com> <1f88aebf-f1f2-46fa-b66a-4e605d7ff202n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f1d5fea6-e382-4054-8efd-5292b9079ff0n@googlegroups.com>
Subject: Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT
*.ad[sb] library files, where are they?
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Mon, 26 Jun 2023 19:35:22 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1697
 by: Kenneth Wolcott - Mon, 26 Jun 2023 19:35 UTC

> Simon Wright writes:
> $ gnatkr ada.sequential_io.ads
> a-sequio.ads

Simon, Keith, Jere:

Yes, the crunched names are annoying. Too bad that they seem to be required even now...

I'm now writing a Perl script (later to be converted to Ada) which does the "unkrunch" :-)

Seems like a missing utility for humans to use Ada :-)

Thanks,
Ken

Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

<lypm5iqa20.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9753&group=comp.lang.ada#9753

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?
Date: Mon, 26 Jun 2023 20:48:39 +0100
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <lypm5iqa20.fsf@pushface.org>
References: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com>
<ly1qhzhmp6.fsf@pushface.org>
<87v8fb1acr.fsf@nosuchdomain.example.com>
<1f88aebf-f1f2-46fa-b66a-4e605d7ff202n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="0d50d34cabf1ca3744b7d4bdfd682c8a";
logging-data="1122146"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19myPTdasa1D15PQuyhtbAAESggrbV4u54="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:zV1eigfsujIM5imZxJad/LoF1iY=
sha1:xTxPLrXqXQ5yCz2hORNuR/iy62M=
 by: Simon Wright - Mon, 26 Jun 2023 19:48 UTC

Jere <jhb.chat@gmail.com> writes:

> On Sunday, June 25, 2023 at 5:49:11 PM UTC-4, Keith Thompson wrote:
>> Simon Wright writes:
>> [...]
>> > But you say you know that. I wonder whether it's the crunched filenames
>> > that are confusing? (a legacy of the days when DOS 8.3 filenames were
>> > required for a large part of GNAT's target audience). You can find the
>> > crunched filename for a package using gnatkr (gnat krunch):
>> >
>> > $ gnatkr ada.sequential_io.ads
>> [fixed typo]
>> > a-sequio.ads
>> >
>> > (you don't actually need whatever's after the final period to be the
>> > actual file extension: you could use '.open' or just '.').
>> Which raises a question: Why does GNAT still use crunched filenames? It
>> probably makes sense to continue to support them (does anyone use GNAT
>> on MS-DOS?), but I wouldn't think it would be difficult to use full file
>> names on the vast majority of systems that support them. It's not a
>> huge deal, but using full file names where possible would be less
>> annoying.
>
> Unless they changed how the GNAT compiler works in the last few years,
> then my guess is inertia
> to do that. Right before the pandemic hit, I had the neat idea of
> doing my own bare metal
> runtime and to use normal uncrunched names. The RTS compiled just
> fine doing that. However,
> when I tried to use the RTS to build a full fledged program, it failed
> to find the package in the RTS.
> I don't recall if it failed at compile time or link time, but
> crunching the names and recompiling the
> RTS fixed the issue. So something in their compiler requires the
> crunched names, or if they have
> since changed that, used to require it.

The package in the compiler that deals with crunched names is Rtsfind,
https://github.com/gcc-mirror/gcc/blob/master/gcc/ada/rtsfind.ads

Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT *.ad[sb] library files, where are they?

<dec95d78-55ad-4fd1-85d1-777e7454b432n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9754&group=comp.lang.ada#9754

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:370f:b0:765:a55c:b651 with SMTP id de15-20020a05620a370f00b00765a55cb651mr462673qkb.5.1687809625716;
Mon, 26 Jun 2023 13:00:25 -0700 (PDT)
X-Received: by 2002:a25:df4b:0:b0:c16:e000:50a2 with SMTP id
w72-20020a25df4b000000b00c16e00050a2mr3329535ybg.10.1687809625495; Mon, 26
Jun 2023 13:00:25 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Mon, 26 Jun 2023 13:00:25 -0700 (PDT)
In-Reply-To: <lypm5iqa20.fsf@pushface.org>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com>
<ly1qhzhmp6.fsf@pushface.org> <87v8fb1acr.fsf@nosuchdomain.example.com>
<1f88aebf-f1f2-46fa-b66a-4e605d7ff202n@googlegroups.com> <lypm5iqa20.fsf@pushface.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dec95d78-55ad-4fd1-85d1-777e7454b432n@googlegroups.com>
Subject: Re: I have gnat 13.1.0 on my M1 Mac; I'd like to have my own Ada+GNAT
*.ad[sb] library files, where are they?
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Mon, 26 Jun 2023 20:00:25 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1516
 by: Kenneth Wolcott - Mon, 26 Jun 2023 20:00 UTC

Simon;

> The package in the compiler that deals with crunched names is Rtsfind,
> https://github.com/gcc-mirror/gcc/blob/master/gcc/ada/rtsfind.ads

Thank you!
Ken

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor