日期:2014-05-16  浏览次数:20722 次

gdb如何安装
我想安装一个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.