-
Notifications
You must be signed in to change notification settings - Fork 450
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
[Help] How do I build tests for an rv32ima with a cross-build? #430
Comments
i v got the same question with u, bro. |
The existing testing framework makes it really unclear. I really wish there was like a C file somewhere that |
Here are the steps I use to compile and run the tests for my emulator. It depends on the riscv32-unknown-elf-gcc compiler which comes from the riscv-gnu-toolchain repo (and which was a total pain to compiler for the 32 bit version).
I hope this helps you or anyone else in the future. I agree that the documentation isn't filled in enough at the moment, it took me a few days of reverse engineering to get this far, along with a ridiculous amount of trial-n-error and looking at blog posts from years back. Update: I forgot to say that at the time of writing this the |
I can't figure out what mechanism is used to select what test suite is actually compiled.
Or, what toolchain is used. For instance I am using the
buildroot
toolchain.Additionally, I don't see how to test regular machine test for a
rv32ima
, nothing special with user/system/etc.Any pointers? Any suggestions on what a more advanced
./configure
could look like? That would be really helpful to document on the main readme.The text was updated successfully, but these errors were encountered: