Skip to content
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

question: how do you specify abi when cross compiling #143

Open
GlennWSo opened this issue Mar 13, 2024 · 1 comment
Open

question: how do you specify abi when cross compiling #143

GlennWSo opened this issue Mar 13, 2024 · 1 comment

Comments

@GlennWSo
Copy link

I want to cross compile to target:
aarch64-unknown-linux-musl

But using when a follow the get started tutorial and do a build with:

nix build .#aarch64-linux.dev.hello-flakebox a get a file of aarch64-unknown-linux-gnu

How do i declare the -musl part?

@dpc
Copy link
Contributor

dpc commented Mar 13, 2024

It needs to be added as a new "target", possibly with matching "toolchain".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants