Guidence for integration of RVfplib into eclipse RISC-V projects. #540
-
I'll try to keep it as short as possible so as not to waste your precious time... Both Espressif's RISC-V and WCH's RISC-V IDE offerings are built on some form of Eclipse. RVfplib is a hand tuned assembler floating point library targeting the RISC-V ISA. I would very much like to use RVfplib in either or both environments, but I can't seem to translate that library's instructions into something I can use in eclipse. ....I expect this to be very simple. It is simple enough from the command line. I have gotten as far as compiling the library from source into functional object files. However, I cannot figure out how to link them into GCC via the eclipse user interface. The closest I have gotten is by going to "project>properties>C/C++ Build>Settings>Tool Settings>GNU RISC-V Cross C Linker"... which REALLY feels like the area I should be putting the link commands, but I can get NOTHING to work. Has anyone got this library working in eclipse? Any advice? I'm highly motivated and usually adept at these sorts of things, been writing embedded software since PIC and AVR were written with command line programs, so I shouldn't need too much hand holding. I just need an explanation of the eclipse side of things and I should be golden. Please, and thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
How would you include the library when linking your application on the command line? If you can share your link command it will help us to advise on how to translate that into the Eclipse toolchain settings UI. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
What you do not know is that you are using CDT component managed build. It is a old component that has withstood the test of time but has been modified in so many ways that it never really behaving like you think it should.
I have been using managed build for over a decade now and I'm currently rewriting it; so I feel like I'm entitled to speak about it (FYI I'm not a CDT developer)
This sounds like the right place for you but ... the "GNU RISC-V Cross C Linker" indicates you are not …