Difference between revisions of "Gperf"

From CBLFS
Jump to navigationJump to search
(Multilib)
 
Line 24: Line 24:
 
== Multilib ==
 
== Multilib ==
 
'''''This package does not install any libraries so only one installation is needed.'''''
 
'''''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 ===
 
=== 64Bit ===

Latest revision as of 17:32, 8 June 2009

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.

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