-
Notifications
You must be signed in to change notification settings - Fork 17
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
Failure building rpi.hello on macOS #5
Comments
Those linker messages look like they are from the macOS linker. What kind of system are you running the |
It is osx. Is that unsupported? I had issues with the built in cross compilation as documented here https://nixos.wiki/wiki/Cross_Compiling, so I was trying this out. |
Yeah, I have not tried to use nixcrpkgs on macOS, so there are probably some errors. That's why I mention twice in the README file that you need Linux. Since your error message mentions libiberty.a, I would guess you are having trouble building the GCC cross-compiler for the Raspberry Pi. If you want to dig into it and fix those errors, that would probably be useful. Or you could install a Linux virtual machine. We can leave this issue open as a reminder/confirmation that things do not work on macOS. |
I'm trying to build for arm7, but started from the existing arm6 to validate that I can build it at all using:
nix-build -A rpi.hello
This fails with many linker errors starting with
The text was updated successfully, but these errors were encountered: