Hi all,
I manged to have a functional toolchain on apple silicon without rosetta.
1/ avr-gcc
install GitHub - osx-cross/homebrew-avr: Homebrew AVR Toolchain
and replace Arduino IDE shipped binaries with the one from homebrew:
avr-g++
avr-gcc
avr-gcc-ar
avr-objcopy
2/ ctags
clone GitHub - arduino/ctags: A mix of ctags and anjuta-tags for the perfect C++ ctags
edit general.h to correct a bug:
//# define __unused__ __attribute__((unused))
# define __unused__
./configure
make
and replace ctags binary shipped with Arduino IDE with this one
3/ avrdude
brew install avrdude
replace avrdude binary and avrdude.conf by the ones from homebrew
and that's it.