Operating system devloped for CMSI 387 at LMU
We are using Arch Linux and Mac OS X for this, so the directions are targeted towards that OS.
Arch:
# pacman -S base-devel nasm cdrkit bochs multilib-develMac:
- Xcode with command line tools
- Homebrew
$ brew install nasm cdrtools bochsNB: our cross-compiler compiled fine for me using clang, your mileage may vary. I have a lot of other libs on my system, not sure which are needed.
cdrtools or cdrkit provides mkisofs and bochs includes the
GUI debugger.
View the Makefile for all the commands that need
to be run.
Run make bochs to build the project and launch bochs.
This cross-compiler should compile all the code we use in the repo. The makefile that download and builds it has been tested on Arch and OS X, and should generally work on any *nix system.
View the Makefile for all commands that need to
be run.
Run make to download and build gcc and binutils.
Add <thisdir>/cross-compiler/cc/bin to your path.
This is really to make sure that your cross compiler
worked. View the makefile for the commands that need
to be run (requires nasm and qemu to work).
Check out the link above for more details.