arm64 support / M1

4
closed
braindaddy73
braindaddy73
Posted 8 months ago

arm64 support / M1 #232

Hi there,

is it possible to build the toolchain for the new M1?

Thx Heiko

ladislas
ladislas
Created 8 months ago

Unfortunately not yet. We do not have access to any M1 Macs. But it should work as is with Rosetta 2

braindaddy73
braindaddy73
Created 8 months ago

Okay I will try. It didn't install because of required architecture. But I am new to homebrew and perhaps I find a way. :P Perhaps by time i will try to compile from source. To much work at the moment ...

Many thanks so far 👍

ladislas
ladislas
Created 8 months ago

Try the simplest version first. It should work without the need to recompile from source.

braindaddy73
braindaddy73
Created 8 months ago

Ok, works like a charm. Had to install the homebrew-prefix for x86_64 first. Then point to the right brew installation:

arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" arch -x86_64 /usr/local/bin/brew tap osx-cross/avr arch -x86_64 /usr/local/bin/brew install avr-gcc arch -x86_64 /usr/local/bin/brew install avr-gdb

Thx for help!