Running a program on Genode (Riscv)

ttcoder at netcourrier.com ttcoder at netcourrier.com
Mon Apr 17 08:30:57 CEST 2023



Hello Genodians,


I want to run a C - Program on Genode over virt_qemu_riscv. I think Java support is not there for riscv. So I want to go with C.

Kindly guide me on this. Also enlighten about the compilation.



Regards

Pranab

_______________________________________________



If you're creating a new program rather than port an existing one,



- you could go with the "hello world" tutorial and expand from there (see repos/hello/doc/ for the directions :

basically once your build environment is setup you run "make -C ..... run/hello.." to compile and run the program)

- alternatively, you'll want to use Goa (see genodians.org's article series from Norman Feske) especially if your program will use the LibC (POSIX API).



Cédric




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20230417/c7af44a1/attachment.htm>


More information about the users mailing list