ia64/xen-unstable

view tools/debugger/gdb/gdbbuild @ 5856:4999a05b568f

Use hg root instead of bk root.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Jul 25 21:03:05 2005 +0000 (2005-07-25)
parents fb827128345c
children b53a65034532 1efe6f4163ee e173a853dc46 d4fd332df775 04dfb5158f3a f294acb25858
line source
1 #!/bin/sh
3 XENROOT=`hg root`
4 export XENROOT
6 cd $XENROOT/tools/debugger/gdb
7 rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen
8 # FIXME:cw this should be smarter
9 wget -c ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2
10 tar xjf gdb-6.2.1.tar.bz2
12 cd $XENROOT/tools/debugger/gdb/gdb-6.2.1-xen-sparse
13 ./mkbuildtree ../gdb-6.2.1
15 mkdir $XENROOT/tools/debugger/gdb/gdb-6.2.1-linux-i386-xen
16 cd $XENROOT/tools/debugger/gdb/gdb-6.2.1-linux-i386-xen
17 ../gdb-6.2.1/configure
18 # some people don't have gmake
19 if which gmake ; then
20 gmake -j4
21 else
22 make -j4
23 fi