首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

gdb怎么安装

2012-02-04 
gdb如何安装我想安装一个GDB来调试我得ARM版上的程序。我有这个板上程序的开发环境!请问大侠怎么安装[解决

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.

热点排行
Bad Request.