On Tue, 2024-12-03 at 18:43 -0500, Bert Gold via Gcc-help wrote: > Netters, > > One might expect that using > > Cellar/gcc/14.2.0_1/bin/../libexec/gcc/aarch64-apple-darwin24/14/lto-wrapper aarch64-darwin is not supported by upstream GCC. You need to contact whoever provided such a modified GCC. And AFAIK lto-wrapper (and anything in libexec/gcc) isn't expected to be used directly by the user. > on an M-chip Mac, we would get an ARM64 shared library. But, no! > > This is what I get: > > ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically > linked, BuildID[sha1]=abf0c9f9112ea87ddc35d0e7a99d6259bbbd74be, not stripped > > > Of course the x86_64 won't work with the reduced instruction set of the > M-chip. > > > Ideas? > -- Xi Ruoyao <xry111@xxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University