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!
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[...]
I haven't tried this.
Simon Wright <si...@pushface.org> writes:
moi <findl...@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.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.
Simon Wright <si...@pushface.org> writes:
moi <findl...@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.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.
On Thursday, September 28, 2023 at 11:00:33 PM UTC+2, Simon Wright wrote:
Simon Wright <si...@pushface.org> writes:
moi <findl...@blueyonder.co.uk> writes:You can't reinstall the 14.3 CLT under Sonoma (it's "too old"). I
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.
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?
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
It turns out there's an environment variable DEFAULT_LINKER, which with
I tried this (xport DEFAULT_LINKER=/Library/Developer/CommandLineTools/usr/bin/ld-classic)
and it did not help:
Are there any other workarounds to solve the inability to link? This
does not only adversely affect Ada, but everything that uses a linker,
BTW.
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?
We're hoping that the 15.1 release of Command Line Tools fixes this.
In the meantime,
(1) using gnatmake, or gprbuild without changing the GPR:
$ gnatmake foo.adb -largs -Wl,-ld_classic
or
$ gprbuild -P foo -largs -Wl,-ld_classic
(2) modifying the GPR by adding a new package Linker:
package Linker is
for Default_Switches ("ada") use ("-Wl,-ld_classic");
end Linker;
(3) if you already have a package Linker, modify as above.
-macosx_version_min has been renamed to -macos_version_min
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 44:09:52 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,953 |