从源码编译安装gdb11.2(Compile and install gdb11.2 from source) hiifong 收录于 笔记2022-04-28 2023-03-03 约 200 字 预计阅读 1 分钟 - 次阅读 - 条评论 警告本文最后更新于 2023-03-03,文中内容可能已过时。从源码编译安装gdb11.2(Compile and install gdb11.2 from source) 1 2 3 4 5 6 7 8 9 10 11 12 13 sudo apt-get update sudo apt-get upgrade sudo apt-get install libgmp-dev sudo apt-get install libncurses5-dev wget http://ftp.gnu.org/gnu/gdb/gdb-11.2.tar.gz tar -xvzf gdb-11.2.tar.gz cd gdb-11.2 mkdir build && cd build ../configure --enable-tui=yes # 编译出gdb带有tui的功能 make -jn # n一般用CPU核数x2 sudo make install gdb --version # 验证gdb是否安装成功 # 如果输出相应的版本信息说明安装成功Buy Me a Coffee ~~ 赞赏支付宝微信Please enable JavaScript to view the comments powered by Waline.Please enable JavaScript to view the comments powered by giscus.