-
Notifications
You must be signed in to change notification settings - Fork 80
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
Cross compiling support #33
Comments
I don't really see how this would fit this project. The hardest part with In general, it's easier to use remote builders and build natively on all the arches. |
Building for musl is a good example of a cross build that's not really any better on a remote builder |
Something that flake-utils could offer here is an alternative to As
Similarly, builds against Bionic (another alternate C library) for Android (I don't imagine setting up and using a remote Android builder would be much fun, even if it is probably not technically impossible). |
How hard would it be to generate a cross compiler toolchain to allow users to cross compile to targets? For example, this would let me build defaultPackage.x86_64-darwin on linux. Or really any of the generated targets.. Doesn't seem like this is how things work right now. I see a bunch of targets generated, but I get errors when trying to cross compile to them. Would probably just be a nixpkgs override with cross system to generate different package sets for each target based on the host system. What do you guys think of this?
The text was updated successfully, but these errors were encountered: