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

Compile application for Ariane #19

Closed
AnouarNechi opened this issue Mar 17, 2020 · 1 comment
Closed

Compile application for Ariane #19

AnouarNechi opened this issue Mar 17, 2020 · 1 comment

Comments

@AnouarNechi
Copy link

Hello
the new toolchain is a little bit confusing sorry.
If I want to compile c code to run with on Ariane core knowing that I might use floaiting point in the code. which option should I use to build the toolchain. is this ok:
./configure --prefix=/opt/riscv --with-arch=rv32imc --with-cmodel=medlow --enable-multilib make
or I should use:
./configure --prefix=/opt/riscv --with-arch=rv64g --with-cmodel=medlow --enable-multilib

Thank you

@bluewww
Copy link

bluewww commented Oct 26, 2020

You should look at the riscv-manual. There is a section that describes what those extensions mean. For ariane you probably want rv64gc.

@bluewww bluewww closed this as completed Oct 26, 2020
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