updated gdb version to 8.0, fix build on archlinux

This commit is contained in:
Michael Rodler 2017-08-17 15:05:11 +02:00 committed by Yan
parent e1571d9f1a
commit 711dd21b3f

View file

@ -1,12 +1,18 @@
#!/bin/bash -ex
set -e -o pipefail
curl https://ftp.gnu.org/gnu/gdb/gdb-7.12.1.tar.gz | tar xz
cd gdb-7.12.1
VERSION=8.0
curl "https://ftp.gnu.org/gnu/gdb/gdb-$VERSION.tar.gz" | tar xz
cd "gdb-$VERSION"
# move to ctftools virtual env
source ctf-tools-venv-activate
./configure --prefix=$(dirname $PWD) --with-python=$(which python) --enable-targets=all
./configure \
--prefix=$(dirname $PWD) \
--with-python=$(which python) \
--enable-targets=all \
--with-guile=guile-2.0
make -j $(nproc)
make install