|
Re: Risc-V Qemu C cross compile error [message #1844909 is a reply to message #1844906] |
Wed, 29 September 2021 13:49 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
Eclipse doesn't supply build tools like compilers
so you need to install it yourself.
I have never used this cross compiler myself but, in general,
suggest you get the version most appropriate for your system.
If you are using Linux (which I'm guessing you are)
it's probably the one labelled linux-x64.
The best place to get information on how to install it is at the github site.
The link to it is in the link you provided: "Continue reading »"
https://xpack.github.io/blog/2021/01/05/riscv-none-embed-gcc-v10-1-0-1-1-released/
in a section unsurprisingly labelled: Install.
Ask there (the support is linked in the page)
If you need to, you can compile and install it yourself.
After you get it, tell Eclipse you are using a Cross Compiler
and set:
- PATH: the path to the gcc (usually ends in /bin)
- PREFIX: what ever is in front of gcc in that directory
(maybe riscv-none-embed- ?)
[Updated on: Wed, 29 September 2021 19:05] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02954 seconds