ctf-tools/gdb/install

13 lines
288 B
Text
Raw Normal View History

#!/bin/bash -ex
set -e -o pipefail
2015-05-07 04:02:00 -07:00
2017-02-01 19:17:00 +01:00
curl https://ftp.gnu.org/gnu/gdb/gdb-7.12.tar.gz | tar xz
cd gdb-7.12
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