当前位置: 技术问答>linux和unix
gdb如何安装
来源: 互联网 发布时间:2016-01-11
本文导语: 我想安装一个GDB来调试我得ARM版上的程序。我有这个板上程序的开发环境!请问大侠怎么安装 | Installation of GDBM Install GDBM by running the following commands: ./configure --prefix=/usr && make This pack...
我想安装一个GDB来调试我得ARM版上的程序。我有这个板上程序的开发环境!请问大侠怎么安装
|
Installation of GDBM
Install GDBM by running the following commands:
./configure --prefix=/usr &&
make
This package does not come with a test suite.
Now, as the root user:
make BINOWN=root BINGRP=root install
In addition, you may need to install the DBM and NDBM compatibility headers and library since some applications look for these older dbm routines.
make BINOWN=root BINGRP=root install-compat
Command Explanations
make BINOWN=root BINGRP=root install: This command overrides the BINOWN and BINGRP variables in the Makefile changing ownership of the installed files to root instead of the bin user.
Contents
Installed Programs: None
Installed Libraries: libgdbm.{so,a} and libgdbm_compat.{so,a}
Installed Directories: None
Short Descriptions
libgdbm.{so,a}
contains functions to manipulate a hashed database.
Install GDBM by running the following commands:
./configure --prefix=/usr &&
make
This package does not come with a test suite.
Now, as the root user:
make BINOWN=root BINGRP=root install
In addition, you may need to install the DBM and NDBM compatibility headers and library since some applications look for these older dbm routines.
make BINOWN=root BINGRP=root install-compat
Command Explanations
make BINOWN=root BINGRP=root install: This command overrides the BINOWN and BINGRP variables in the Makefile changing ownership of the installed files to root instead of the bin user.
Contents
Installed Programs: None
Installed Libraries: libgdbm.{so,a} and libgdbm_compat.{so,a}
Installed Directories: None
Short Descriptions
libgdbm.{so,a}
contains functions to manipulate a hashed database.