From: Ben Pfaff Date: Tue, 14 Sep 2004 00:25:00 +0000 (+0000) Subject: Add gdb to cross-compiler installation instructions. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f503821a83bef230618f5d9f4b687d2372ec4299;p=pintos-anon Add gdb to cross-compiler installation instructions. --- diff --git a/src/TODO b/src/TODO index ee27d73..9aa094a 100644 --- a/src/TODO +++ b/src/TODO @@ -12,6 +12,9 @@ cd /tmp bzcat ~/binutils-2.15.tar.bz2 | tar x tar xzf newlib-1.12.0.tar.gz tar xzf gcc-core-3.3.2.tar.gz +tar xzf gdb-6.2.1.tar.gz + +PATH=$PATH:/usr/class/cs140/i386/bin cd /tmp/binutils-2.15 mkdir i386 @@ -23,6 +26,13 @@ make install cd /tmp/gcc-core-3.3.2.tar.gz mkdir i386 cd i386 -PATH=$PATH:/usr/class/cs140/i386/bin ../configure --target=i386-elf --prefix=/usr/class/cs140/i386 --with-gnu-as --with-as=/usr/class/cs140/i386/bin/i386-elf-as --with-gnu-ld --with-ld=/usr/class/cs140/i386/bin/i386-elf-ld --with-headers=/tmp/newlib-1.12.0/newlib/libc/include --with-newlib -PATH=$PATH:/usr/class/cs140/i386/bin make +../configure --target=i386-elf --prefix=/usr/class/cs140/i386 --with-gnu-as --with-as=/usr/class/cs140/i386/bin/i386-elf-as --with-gnu-ld --with-ld=/usr/class/cs140/i386/bin/i386-elf-ld --with-headers=/tmp/newlib-1.12.0/newlib/libc/include --with-newlib +make +make install + +cd /tmp/gdb-6.2.1 +mkdir i386 +cd i386 +../configure --target=i386-elf --prefix=/usr/class/cs140/i386 --disable-tui +make make install