Mac setup instructions


1. Install development tools and emulator

First, install XCode Tools. Then install MacPorts, and use it to install: gcc and binutils.

sudo port -v selfupdate
sudo port install i386-elf-gcc i386-elf-binutils

Then install qemu, either via macports (sudo port install qemu) or homebrew. (Homebrew lacks the packaged cross compiler.)

2. Compile and Install GDB for i386-elf

Download the gdb source, we will be using the latest version 7.8.
tar xfz gdb-7.8.tar.gz
cd gdb-7.8
./configure --target=i386-elf --disable-werror --program-prefix=i386-elf-
make
sudo make install

3. Checkout

git clone git://scriptroute.cs.umd.edu/geekos-project

Web Accessibility