comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT linking and macOS
Date: Thu, 28 Sep 2023 14:32:47 +0100	[thread overview]
Message-ID: <lymsx6mni8.fsf@pushface.org> (raw)
In-Reply-To: knje69F1tamU1@mid.individual.net

moi <findlaybill@blueyonder.co.uk> 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.

It turns out there's an environment variable DEFAULT_LINKER, which with
the 15.0 CLT would be set to

  export DEFAULT_LINKER=/Library/Developer/CommandLineTools/usr/bin/ld-classic

(the Xcode equivalent is much longer & more inscrutable)

I haven't tried this.

  reply	other threads:[~2023-09-28 13:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27 19:30 GNAT linking and macOS moi
2023-09-28 13:32 ` Simon Wright [this message]
2023-09-28 21:00   ` Simon Wright
2023-09-29 20:19     ` hn...@yahoo.de
2023-09-29 20:26     ` hn...@yahoo.de
2023-09-30  0:51       ` moi
2023-09-30 14:20       ` Simon Wright
2023-09-30  2:30     ` Kenneth Wolcott
2023-09-30 13:55       ` Simon Wright
2023-09-30 23:57         ` Kenneth Wolcott
2023-10-01  7:57           ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox