mirror of
https://github.com/zardus/ctf-tools
synced 2024-11-10 08:24:12 +00:00
updated gdb version to 8.0, fix build on archlinux
This commit is contained in:
parent
e1571d9f1a
commit
711dd21b3f
1 changed files with 9 additions and 3 deletions
12
gdb/install
12
gdb/install
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue