Difference between revisions of "Gperf"

From CBLFS
Jump to navigationJump to search
Line 7: Line 7:
 
----
 
----
  
== Introduction to Gperf ==
+
{{Package-Introduction|GNU gperf is a program that generates perfect hash functions for sets of keywords. A perfect hash function is a hash function and a data structure that allows recognition of a key word in a set of words using exactly 1 probe into the data structure. Output from the GPERF program is used to recognize reserved words in the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU indent program.|http://www.gnu.org/software/gperf}}
 
 
GNU gperf is a program that generates perfect hash functions for sets of keywords. A perfect hash function is a hash function and a data structure that allows recognition of a key word in a set of words using exactly 1 probe into the data structure. Output from the GPERF program is used to recognize reserved words in the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU indent program.
 
 
 
'''Project Home Page''': http://www.gnu.org/software/gperf
 
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 13:45, 16 April 2007

Download Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-3.0.4.tar.gz

Introduction to Gperf

GNU gperf is a program that generates perfect hash functions for sets of keywords. A perfect hash function is a hash function and a data structure that allows recognition of a key word in a set of words using exactly 1 probe into the data structure. Output from the GPERF program is used to recognize reserved words in the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU indent program.

Project Homepage: http://www.gnu.org/software/gperf

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

This package does not install any libraries so only one installation is needed.

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
./configure --prefix=/usr &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
./configure --prefix=/usr &&
make

Install the package

make install

Contents

Installed Programs: gperf
Installed Libraries: None
Installed Directory: /usr/share/doc/gperf