3 ms·
>> sudo apt-get install gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu binutils-aarch64-linux-gnu-dbg What's the equivalent step of this for macOS? Perhaps:
by anta40 3y ago
>> sudo apt-get install gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu binutils-aarch64-linux-gnu-dbg
What's the equivalent step of this for macOS? Perhaps:
brew install --cask gcc-aarch64-embedded
?
- anta40 3y agoAh, looks like this is the correct one: https://github.com/messense/homebrew-macos-cross-toolchains https://github.com/messense/homebrew-macos-cross-toolchains
- finnjohnsen2 3y agoThe intro section states: > You must have a Linux Machine and understand how to run basic Terminal commands (sorry I don't use Windows or Mac) Perhaps VM/docker or something could help you?
- hashtag-til 3y agoFWIW, on Mac, I've been happier with `podman`, than I was with Docker.
- anta40 3y agoOK perhaps I need to use Linux, because there's no "gdb-multiarch" for macOS. Oh well...
- filleduchaos 3y agoThe idea that you'd need Docker to compile ARM64 assembly on macOS (an operating system which now primarily runs on ARM64 computers) is very funny to me.
- fiddlerwoaroof 3y agoYou might be able to use clang (install Xcode or Xcode command line tools): the flags might be different here and there, but it should support the same assembly syntax.
- saagarjha 3y agoXcode (or even the command line tools) comes with an arm64 toolchain, so you can just install that.