Re: M-chip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3 Dec 2024, at 23:43, Bert Gold via Gcc-help <gcc-help@xxxxxxxxxxx> wrote:
> One might expect that using
> 
> Cellar/gcc/14.2.0_1/bin/../libexec/gcc/aarch64-apple-darwin24/14/lto-wrapper
> 
> 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

I get
$ file lto-wrapper 
lto-wrapper: Mach-O 64-bit executable arm64

so perhaps you need to reinstall.

> Of course the x86_64 won't work with the reduced instruction set of the
> M-chip.

An x86_64 executable will run on Apple silicon under Rosetta 2



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux