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

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

    git submodule update --init

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

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

3) build the glibc test suite

   cd external/glibc-testsuite
   make
   cd ../..

3) 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