Skip to content
Snippets Groups Projects
To build OSv
============

2) make sure all git submodules are uptodate
   -----------------------------------------

    git submodule init external/openjdk.bin/
    git submodule init external/libunwind
    git submodule update

1) build the specially patched libunwind
   -------------------------------------

    cd external/libunwind
    autoreconf -i
    sh config.sh
    make
    cp ./src/.libs/libunwind.a ../..
    cd ../..


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) osv syms
    (gdb) bt