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-91-241.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=1.0 required=3.0 tests=FREEMAIL_FROM, PDS_FROM_2_EMAILS autolearn=no autolearn_force=no version=3.4.6 X-Received: by 2002:a05:6214:a51:b0:656:33fa:350b with SMTP id ee17-20020a0562140a5100b0065633fa350bmr67157qvb.2.1696019179945; Fri, 29 Sep 2023 13:26:19 -0700 (PDT) X-Received: by 2002:a05:6808:2121:b0:3a7:3b45:74ed with SMTP id r33-20020a056808212100b003a73b4574edmr2425603oiw.0.1696019179757; Fri, 29 Sep 2023 13:26:19 -0700 (PDT) Path: eternal-september.org!news.eternal-september.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: Fri, 29 Sep 2023 13:26:19 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=2a03:7405:401b:f00:700a:f88e:37fb:db18; posting-account=3Fg1FgoAAACfsmWScNfMD1tGFhR4DU0o NNTP-Posting-Host: 2a03:7405:401b:f00:700a:f88e:37fb:db18 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0432e5f4-a21f-4538-b1d9-7abe10b31c66n@googlegroups.com> Subject: Re: GNAT linking and macOS From: "hn...@yahoo.de" Injection-Date: Fri, 29 Sep 2023 20:26:19 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2279 Xref: news.eternal-september.org comp.lang.ada:65755 List-Id: On Thursday, September 28, 2023 at 11:00:33=E2=80=AFPM UTC+2, Simon Wright = wrote: > Simon Wright writes:=20 >=20 > > moi writes:=20 > >=20 > >> I installed 14.0, Sonoma, on my M1 Mac last night.=20 > >>=20 > >> The good news:=20 > >>=20 > >> Using GNAT 12.2.0, it all just works, *so long as* I REMOVE=20 > >> '-largs -Wl,-ld_classic' from the linker options!=20 > >=20 > > Likewise, but that didn't work for me. > You can't reinstall the 14.3 CLT under Sonoma (it's "too old"). I=20 > reinstalled from a Time Machine backup, but if you don't have that set=20 > up I'd recommend taking a copy of /Library/Developer/CommandLineTools=20 > before updating to 15.0. > > It turns out there's an environment variable DEFAULT_LINKER, which with > [...] > > I haven't tried this. > This affects building the compiler, not using it. What exactly is meant by "Using GNAT 12.2.0"? I put gcc-13.2.0 in ~/.zshrc.= =20 Then I got Could not locate executable on path: gprbuild. What do i miss?