安装
bash
wget https://ftp.gnu.org/gnu/gdb/gdb-11.1.tar.xz
xz -d gdb-11.1.tar.xz
tar xvf gdb-11.1.tar
- 编译
bash
cd gdb-11.1
./configure
make -j4
sudo make install
问题
- makeinfo' is missing on your system
bash
sudo apt install texinfo
- error: GMP is missing or unusable
bash
sudo apt install libgmp-dev