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

Cross compilation by default #22

Merged
merged 3 commits into from
Aug 23, 2023
Merged

Cross compilation by default #22

merged 3 commits into from
Aug 23, 2023

Conversation

wymcg
Copy link
Owner

@wymcg wymcg commented Aug 23, 2023

Adds flags in .cargo/config that make it so that by default, Matricks is compiled for aarch64-unknown-linux-gnu. Also by default, glibc will by statically linked to the executable.

This PR also adds instructions to the README describing how to cross-compile the executable, as well as how to use the produced executable on a Raspberry Pi.

Closes #15.

@wymcg wymcg added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 23, 2023
@wymcg wymcg merged commit a64f9fd into main Aug 23, 2023
@wymcg wymcg deleted the cross-compilation branch August 23, 2023 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add cross-compilation instructions to the README
1 participant