ctf-tools/gdb/install

7 lines
191 B
Bash
Executable file

#!/bin/bash
curl http://ftp.gnu.org/gnu/gdb/gdb-7.9.tar.gz | tar xvz
cd gdb-7.9
./configure --prefix=$(dirname $PWD) --with-python=python2 --enable-targets=all
make -j $(nproc)
make install