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

Use a docker image for cross compilation #1

Merged
merged 1 commit into from
Jul 9, 2023
Merged

Use a docker image for cross compilation #1

merged 1 commit into from
Jul 9, 2023

Conversation

git-bruh
Copy link
Contributor

@git-bruh git-bruh commented Jul 9, 2023

Didn't opt for cross-rs since they didn't seem to have riscv32 support, instead just used a pre-existing Docker cross compilation image from dockcross

One thing, the toolchain in this docker image was complaining about cc1: error: requested ABI requires '-march' to subsume the 'D' extension when using -march=rv32i so march is set to rv32id instead. d seems to enable support for double precision in floating point numbers (if i read this correctly) which I think is irrelevant currently so shouldn't cause any issues

Also the whole thing is now run from the repository root rather than having to chdir into src/

@skudlur skudlur merged commit 92b06fe into skudlur:main Jul 9, 2023
@skudlur
Copy link
Owner

skudlur commented Jul 9, 2023

LGTM 👍
Awesome work @git-bruh :)

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

Successfully merging this pull request may close these issues.

2 participants