当前位置:网站首页>Installation of gdb 10.2

Installation of gdb 10.2

2022-08-09 11:17:00 XV_

References
[1] GDB-10.2
[2] README for GDB release

Personal system Ubuntu20.10.

Note that gdb10.2 requires c++11 syntax and needs to be installed g++

  1. Download the installation packagewget https://ftp.gnu.org/gnu/gdb/gdb-10.2.tar.xz
  2. Unzip tar -xvzf gdb-10.2.tar.xz
  3. Enter the unzipped directory
  4. mkdir build
  5. cd build
  6. Configure, install tui mode, ../configure --enable-tui
    Note here that you may be prompted that there is no relevant library configure: WARNING: no enhanced curses libraryfound; disabling TUI
    Check the official found: Build GDB with the text-mode full-screen user interface (TUI).Requires a curses library (ncurses and cursesX are also supported).
    You need to installncurses library, to install tui.Linux installation Ncurses library

Referenceconfigure: WARNING: no enhanced curses library found; disabling TUI

  1. make
  2. sudo make all install
  3. gdb -vView the current version, it is 10.2

For specific details and other problems encountered, please refer to the official documentation by yourself. All relevant links are given in this article. This article cannot solve all your problems.

Special attention,The installation process may be similar for different versions of the software, but it will be different, so please check the official documentation of the latest version.

原网站

版权声明
本文为[XV_]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/221/202208091103198707.html