ctf-tools/gdb/install

13 lines
288 B
Text
Raw Normal View History

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