Skip to content
Snippets Groups Projects
Commit 3eb11cfb authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

add a README file to document how to build and run OSv

parent 0d0a82b1
No related branches found
No related tags found
No related merge requests found
README 0 → 100644
To build OSv
============
1) build the specially patched libunwind
-------------------------------------
cd ../libunwind
autoreconf -a
sh config.sh
make
cp ./src/.libs/libunwind.a ../osv/
cd ../osv
2) build osv
---------
make
To run OSv
==========
1) start the binary in qemu
------------------------
sh scripts/run.sh
2) connect a debugger
---------------------
c-a c
(qemu) gdbserver
In another terminal:
# gdb build/debug/loader.elf
(gdb) connect
(gdb) bt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment