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 --------------------- # gdb build/debug/loader.elf (gdb) connect (gdb) osv syms (gdb) bt Tracing ======= Uncomment the "tracing-flags =" line in build.mak, and rebuild. Run the program until it aborts, then in gdb: osv syms set pagination off set logging on osv trace gdb.txt will contain the the trace. Running java benchmarks ======================= After running "make", do scripts/imgedit.py setargs build/debug/loader.img java.so -jar bench.jar and then run normally (sh scripts/run.sh).
Name | Last commit | Last update |
---|---|---|
arch/x64 | ||
bsd | ||
conf | ||
core | ||
documentation | ||
drivers | ||
external | ||
fs | ||
include | ||
java | ||
libc | ||
licenses | ||
scripts | ||
tests | ||
.gitignore | ||
.gitmodules | ||
Makefile | ||
README | ||
bootfs.S | ||
bootfs.manifest | ||
build.mak | ||
dummy-shlib.cc | ||
gen-ctype-data.cc | ||
linux.cc | ||
loader.cc | ||
runtime.cc |