-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build on Mac (aarch64) #1577
Comments
Do you actually need to build the toolchain yourself or could you use an existing binary distribution like @ilg-ul's xPack version perhaps? If you do really need to build your own toolchain and are having problems then the first step is to provide the complete steps that you are taking (from a clean However, bear in mind that most active participants on this repo do not have access to the necessary hardware in order to reproduce/investigate macOS build problems and unfortunately no macOS users have stepped up to help here in this regard to date. |
Also, if you search all open and closed issues here using appropriate terms like "macOS", "Brew", "XCode" etc. you may find some useful information about issues and workarounds when building on Apple hardware. |
And, another option is to use the xPack build mechanism: |
@TommyMurphyTM1234 thanks for sharing useful information. I'm using the toolchain you liked, but I'm getting a linker error: xpack-dev-tools/riscv-none-elf-gcc-xpack#37 Do you think is something about the toolchain itself or a gcc problem or something else ? |
Did this help at all @MarcoBonino? |
Hello!
I'm trying to build on MacOS aarch64 (M3 chip).
However some tools like riscv64-unknown-elf-gcc and riscv64-unknown-elf-g++ are missing.
I'm from a case sensitive filesystem. And I installed the required tools:
This is my configure:
And I get:
Then I simply run
make
.Could you provide support on this ?
If possible would be also nice to have the MacOS toolchain already built as it was done for the Ubuntu builds.
Thanks!
The text was updated successfully, but these errors were encountered: