Today I found
this. I got really excited and made a Vagrantfile which installs everything you need for os development in an ubuntu 14.04 LTS server instance. I also made a little bash script that downloads, builds and installs a gcc cross compiler to /opt/cross. To start using this create a folder and download the Vagrantfile and installcross.sh files to it. Make sure you have VirtualBox and Vagrant installed on your system. Open a command prompt(bash, cmd, etc.) in the folder you created and run: vagrant up. After it is done run vagrant ssh to ssh into you newly generated development box. When you are done just exit out of ssh and run vagrant halt. Whenever you want to start developing again just run vagrant up and vagrant ssh again. All files in the folder that contains your Vagrantfile will be mounted in the box on /vagrant. So to install the cross compiler just run /vagrant/installcross.sh. You only have to add /opt/cross/bin to your $PATH to be able to use the i686-elf-* programs.
Vagrantfile:
hereinstallcross.sh has been merged into Vagrantfile so that when you run vagrant up for the first time(or vagrant provision if you used this before the merge) it even installs the cross compiler into /opt/cross. I might make it so that it automatically changes the .bashrc file for the vagrant user to add /opt/cross/bin to the path automatically too.zipfile with the file:
hereHope you find this useful,
Alexander