On Mon, Oct 16, 2023 at 1:35 AM Christian Catchpole wrote:
> So, I'v just set up NuttX to build on MacOS with Apple Silicon
> (M1/Mx/ARM64) and noticed the instructions for non-linux point to the
> archives on arm.com - the linked file for mac seems to be the x86-64
> version from 2019. Although it still seems to run with Rosetta (runtime
> transpiler).
>
>
> *objdump --all-headers ./arm-none-eabi-gcc./arm-none-eabi-gcc: file format
> mach-o 64-bit x86-64*
>
> A friend of mine who works full time as an embedded dev on Mac has
> recommended the use of these native versions from xPack. The last build was
> 3 weeks ago.
>
> https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases
>
> If we agree this is a viable option I'm happy to add it to the
> documentation. Perhaps also instructions about the need to manually
> whitelist about 20 of these binaries the first time they run.

Hey there Christian :-)

What is the advantage of xPack over Homebrew's GCC collection?

% brew search gcc
==> Formulae
aarch64-elf-gcc     gcc@10              gcc@5               gcc@8
         libgccjit           ghc                 tcc
arm-none-eabi-gcc   gcc@11              gcc@6               gcc@9
         riscv64-elf-gcc     grc                 ncc
gcc                 gcc@12              gcc@7
i686-elf-gcc        x86_64-elf-gcc      scc

==> Casks
gcc-aarch64-embedded               gcc-arm-embedded
gcs                                icc
% uname -a
Darwin XXX.local 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15
14:43:05 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6020 arm64

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Reply via email to