direct-io.hg

view tools/debugger/gdb/gdbbuild @ 11393:fd6c2b5e041f

[TOOLS] xenctrl.h defines __XEN_TOOLS__ if it's not already.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Aug 31 18:54:50 2006 +0100 (2006-08-31)
parents a202eef97aa0
children
line source
1 #!/bin/sh
3 [ "$GDB_MIRROR" ] || GDB_MIRROR="ftp://ftp.gnu.org/gnu/gdb/"
5 rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen
6 [ -a gdb-6.2.1.tar.bz2 ] || wget -c "$GDB_MIRROR/gdb-6.2.1.tar.bz2"
7 tar xjf gdb-6.2.1.tar.bz2
9 cd gdb-6.2.1-xen-sparse
10 bash ./mkbuildtree ../gdb-6.2.1
12 cd ..
13 mkdir gdb-6.2.1-linux-i386-xen
14 cd gdb-6.2.1-linux-i386-xen
15 ../gdb-6.2.1/configure
17 # Use $MAKE if set, else use gmake if present, otherwise use make
18 if [ "$MAKE" ]; then
19 $MAKE
20 elif which gmake ; then
21 gmake -j4
22 else
23 make -j4
24 fi