Linux setup instructions

CMSC 412, Fall 2009


1. Install development tools and emulator

Install QEMU, gcc, gdb and libc6 with your favorite Linux distribution's package management utility.

For Debian, Ubuntu and other Debian derivatives

sudo apt-get install qemu build-essential nasm
If you've decided to install a 64-bit os, you will need to follow the instructions to get the osdev-crosscompiler-i586-elf cross compiler package. (Qemu provides a 32-bit machine.) http://wiki.osdev.org/GCC_Cross-Compiler_on_Debian_Linux

For Fedora and other Redhat derivatives

sudo yum install qemu gcc gdb nasm glibc-devel glibc-headers


2. Make

Download and untar the project tar.gz from the specification. cd into the project directory.
cd build
make