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=0.0 required=3.0 tests=none autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: moi Newsgroups: comp.lang.ada Subject: Re: GNAT linking and macOS Date: Sat, 30 Sep 2023 01:51:41 +0100 Message-ID: References: <0432e5f4-a21f-4538-b1d9-7abe10b31c66n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net A1eSOE/RpnEfJQ4Zx1IDuAHc97/rMpEb3JTCtJFhLZSpPG3ntV Cancel-Lock: sha1:8Mwvi4Qsdhwu/ewOcRNf5wKcAY0= sha256:4Oxx2UpnGnCScQRqSU53sp1aqpJwrvsVapLBhkpzNxI= User-Agent: Mozilla Thunderbird Content-Language: en-GB In-Reply-To: <0432e5f4-a21f-4538-b1d9-7abe10b31c66n@googlegroups.com> Xref: news.eternal-september.org comp.lang.ada:65756 List-Id: On 29/09/2023 21:26, hn...@yahoo.de wrote: > On Thursday, September 28, 2023 at 11:00:33 PM UTC+2, Simon Wright wrote: >> Simon Wright writes: >> >>> moi writes: >>> >>>> I installed 14.0, Sonoma, on my M1 Mac last night. >>>> >>>> The good news: >>>> >>>> Using GNAT 12.2.0, it all just works, *so long as* I REMOVE >>>> '-largs -Wl,-ld_classic' from the linker options! >>> >>> Likewise, but that didn't work for me. >> You can't reinstall the 14.3 CLT under Sonoma (it's "too old"). I >> reinstalled from a Time Machine backup, but if you don't have that set >> up I'd recommend taking a copy of /Library/Developer/CommandLineTools >> 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. > Then I got Could not locate executable on path: gprbuild. > What do i miss? It means using the version that announces itself at the head of the source listing as: "GNAT 12.2.0 Copyright 1992-2022, Free Software Foundation, Inc." What exactly is meant by "I put gcc-13.2.0 in ~/.zshrc"? -- Bill F.