From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=1.8 required=3.0 tests=BAYES_50,FORGED_GMAIL_RCVD, FREEMAIL_FROM,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: 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 Message-ID: <87v8fb1acr.fsf@nosuchdomain.example.com> References: <266fe78e-5e0e-4b2e-afc2-b1bf6771b082n@googlegroups.com> 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= Xref: news.eternal-september.org comp.lang.ada:65349 List-Id: 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. -- 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 */