ctf-tools/gdb/install

13 lines
292 B
Text
Raw Normal View History

#!/bin/bash -ex
set -e -o pipefail
2015-05-07 04:02:00 -07:00
curl https://ftp.gnu.org/gnu/gdb/gdb-7.12.1.tar.gz | tar xz
2017-04-25 05:53:29 +10:00
cd gdb-7.12.1
2016-10-11 11:43:07 +02:00
# move to ctftools virtual env
source ctf-tools-venv-activate
2016-10-11 11:43:07 +02:00
./configure --prefix=$(dirname $PWD) --with-python=$(which python) --enable-targets=all
2015-05-07 04:02:00 -07:00
make -j $(nproc)
make install