Hi All,
I have beagleV that is running with ubuntu image. I want to develop cpp application on windows and compile and debug it for beagleV with using cross compile. Which toolchain should i use for it? (I want to use eclipse IDE)
Best Regards.
Hi All,
I have beagleV that is running with ubuntu image. I want to develop cpp application on windows and compile and debug it for beagleV with using cross compile. Which toolchain should i use for it? (I want to use eclipse IDE)
Best Regards.
Will you be offended if I tell you the best way to do that?
I am waiting your suggestion with great excitement.
Best way without any headache is do it directly on the board. I don’t have the BeagleV, however do assume they have a debian desktop for that board. The multicore boards have enough horse power to run an IDE. For a long time I used Geany (simple, stable and effective) and did remote builds via bash scripts. It worked very well but was not integrated with git well enough for my needs.
Running Debian or even Ubuntu LTS version is the best way to go on the host side. Much of this now depends on your needs that are dependent upon the complexity of your project. Eclipse and CCS are fine if you like fiddle farting around all day. If you need to get serious look into Clion (c/c++) or Pycharm (python). Both versions are tightly integrated with git, that is an extremely important tool when developing software. Also, both can handle remote builds. If you are building a gui app with GTK its best to do the bulk of the work on your host and randomly test it on your target. Those packages are big and consume resources, your host will build it in a fraction of the time.
Bottom line, a native Deb or Ubuntu box is the best choice for a host dev machine. Configure your IDE for remote builds, it builds it on the target using resources of the target.
Bottom line, a native Deb or Ubuntu box is the best choice for a host dev machine
.
Yep and yep…
Seth
you will need a riscv64 cross compiler
search engine returned this,
i don’t run windows any longer, so setup is out of my knowledge base.
Right…or if you use Debian, you can install it via apt
.
gcc-riscv64-linux-gnu g++-riscv64-linux-gnu
is a good bet too for the Debian distro building…
Seth
P.S. Also, there was something called OpenSBI but I am not sure it is still available… This is for the Ahead, right? Not the Fire?
So, you do not need OpenSBI or the Ahead rhetoric. Okay…
You are using the Fire from what I see. Please wait for others to help in this manner. I am not 100% sure I can break and make right now with the Fire. I have tried various tasks but have come up short due to my lack of usage. I got mixed up in the arm64 boards recently. Anyway, I hope some people will be of some service.
If you’re really determined to compile off-board, you can always take inspiration
from Robert’s containers, like what you see here.
If it can compile the kernel, I’m sure it can compile whatever you throw at it.