2017-02-16 22:40:17 +01:00
|
|
|
#!/bin/bash -ex
|
2016-10-13 11:54:06 +02:00
|
|
|
set -e -o pipefail
|
2015-05-07 04:02:00 -07:00
|
|
|
|
2017-04-24 01:23:21 +10: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
|
2016-10-13 10:29:08 +02:00
|
|
|
source ctf-tools-venv-activate
|
2016-10-11 11:43:07 +02:00
|
|
|
|
2016-10-13 10:29:08 +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
|