Small change to XV6's makefile to work on MacOS
- Install xCode and agree the terms of use.
- Download xv6 from https://github.com/mit-pdos/xv6-public.
- Install MacPorts from https://www.macports.org/.
- Open a terminal window where you've downloaded the XV6.
- Install Qemu by excecuting
sudo port install qemu i386-elf-gcc gdb
. - Replace the existing Makefile to mine.
In order to run, excecute in the terminal window make qemu clean
.