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=-0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:2806:b0:6b8:eced:ba3a with SMTP id f6-20020a05620a280600b006b8ecedba3amr37535564qkp.462.1667862908847; Mon, 07 Nov 2022 15:15:08 -0800 (PST) X-Received: by 2002:a05:622a:13c8:b0:3a5:4cee:4ecc with SMTP id p8-20020a05622a13c800b003a54cee4eccmr21499460qtk.351.1667862908655; Mon, 07 Nov 2022 15:15:08 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!usenet.blueworldhosting.com!feed1.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, 7 Nov 2022 15:15:08 -0800 (PST) In-Reply-To: <0001HW.2911A897005800F87000091D938F@news.individual.net> Injection-Info: google-groups.googlegroups.com; posting-host=118.211.120.99; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 118.211.120.99 References: <0001HW.2911A897005800F87000091D938F@news.individual.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <848a60b9-c3e1-4639-ad6b-93ab7308287fn@googlegroups.com> Subject: Re: for info: re macOS Ventura and GNAT From: Roger Mc Injection-Date: Mon, 07 Nov 2022 23:15:08 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2908 Xref: reader01.eternal-september.org comp.lang.ada:64579 List-Id: On Wednesday, November 2, 2022 at 6:18:52 AM UTC+11, Bill Findlay wrote: > I installed Ventura on my (Intel) MBP and it went perfectly, > with GNAT and fpc working as expected. > > Emboldened, I then put it on my (Intel) iMac, my workhorse machine. > > On reboot both GNAT (FSF 12.2.0) and fpc compilations failed. > > GNAT failed because /Library/Developer/CommandLineTools/usr/bin > had been emptied of everything useful. > > To fix it I had to completely re-install CommandLineTools, > which was more difficult than it should have been because > I had been removed from the sudoers file. 8-( > > GNAT now runs again, using the newly-installed CLT software, > and the exception-handling bug that appeared with the recent > XCode update has not made a re-appearance. > > fpc failed because it could not find libc any more, > so I had to edit my build procedure to tell it where to look > (i.e. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/). > > -- > Bill Findlay Congratulations on Getting GNAT to work. I am not having any success. Everything fails with gcc: error trying to exec 'gnat1': execvp: No such file or directory For example: Roger@Rogers-Mac-mini iris % gnatmake src/iris.adb gcc -c -Isrc/ -I- src/iris.adb gcc: error trying to exec 'gnat1': execvp: No such file or directory gnatmake: "src/iris.adb" compilation error Same trying to compile a simple C program: Roger@Rogers-Mac-mini /tmp % gcc /tmp/foo.c -o /tmp/foo gcc: error trying to exec 'cc1': execvp: No such file or directory Mac OSX 13.0 (22A380) Xcode Version 14.1 (14B47b) GNAT Community 2019 (20190517-83) Latest Command Line Tools installed Any ideas on what's going wrong or how to fix it? Thanks, Roger