Skip to content

Building Dominos from source

Joel Nider edited this page Dec 4, 2013 · 4 revisions
  1. Set up the development environment - I do all of my development on Ubuntu Linux running on a VirtualBox x86 platform. It gives me maximum flexibility (I don't have a dedicated Linux development machine) and maximum reproducibility (Anyone in the world can download the exact same versions I have, and should be able to reproduce my results exactly). I have installed some extra packages that aren't in the 12.04 distribution by default such as: exuberant-ctags

  2. Configure your preferences - I use vim/gvim as my main editor, so I have put my .vimrc file in env/vimrc for you to copy. To set up a new environment, just copy env/vimrc to ~/.vimrc and you're ready.

  3. Install your tools - 'make tools' will tell you what tools you need. One day, this should automatically detect which system you are developing on, determine which tools are missing, and install them automatically (with your permission of course).

  4. Build it - if you are starting with the JOEL4 kernel (recommended) just cd to the kernel/joel4 directory, and type 'make'. If everything is set up correctly, you will get joel4.elf after a few seconds. Now you are able to build everything you need from the top level directory. Just type 'make' and it will build the chosen kernel (JOEL4 by default) all the drivers, all the libraries, and build dominos.iso automatically.

Clone this wiki locally