We are being taught xv6 in our course. Currently we use to login to linux server of our school using putty in windows.
There we make changes in source of xv6 (using vim), then compile and run it in qemu simply
make clean
make
make qemu-nox
It is not always possible to connect to their servers therefore I want to be able to compile and run xv6 withing windows (in some emulator obviously).
What emulator I can use for above kind work? (edit code, compile and run) and how?
Getting xv6 runningIn the newly created xv6 directory, run make . Boot xv6 in an emulator using one of the following methods: To boot the OS in an emulator with a graphical user interface, run make qemu . To boot the OS in an emulator without a graphical user interface, run make qemu-nox .
Note, if you need to exit GDB you can press Ctrl-C and then Ctrl-D. To exit xv6 running under QEMU you can terminate it with Ctrl-A X.
Well, there are reasonable instructions on how to construct environment for building and using XV6 under Windows in the site http://www.cs.mta.ac.il/~carmi/Teaching/OS.xv6/index.html. The emulator they are using for actually running it is Bochs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With